We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import torch_tensorrt as trt inputs = [trt.Input(min_shape=(1, 1, 28, 28), opt_shape=(50, 1, 28, 28), max_shape=(64, 1, 28, 28), dtype=torch.float32)] exp_program = trt.dynamo.trace(model_from_state, inputs) trt_gm = trt.dynamo.compile(exp_program, inputs=inputs) torch_inputs = torch.randn(50, 1, 28, 28).cuda() trt.save(trt_gm, "trt_model.ep", inputs=torch_inputs) model = torch.export.load("trt_model.ep")
Error :
torch/fx/experimental/symbolic_shapes.py:4449] s0 is not in var_ranges, defaulting to unknown range. E1002 18:36:09.951000 124112691492352 torch/fx/experimental/recording.py:281] failed while running evaluate_expr(*(s0 >= 0, True), **{'fx_node': None})
Build information about Torch-TensorRT can be found by turning on debug messages
conda
pip
libtorch
The text was updated successfully, but these errors were encountered:
peri044
No branches or pull requests
Bug Description
Error :
Expected behavior
Environment
conda
,pip
,libtorch
, source):Additional context
The text was updated successfully, but these errors were encountered: