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
When compiling models with 0D tensor inputs, the following error is encountered:
ERROR: [Torch-TensorRT] - 3: [executionContext.cpp::setInputShape::2259] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::setInputShape::2259, condition: engineDims.nbDims == dims.nbDims )
class Multiply(torch.nn.Module): def forward(self, x): return x * 7 inputs = [ torch.tensor( 3, ).cuda().int(), ]
The models should successfully compile.
Build information about Torch-TensorRT can be found by turning on debug messages
2.1.0.dev20230803+cu121
Very relevant to diffusion and detectron-style models.
The text was updated successfully, but these errors were encountered:
narendasan
gs-olive
Successfully merging a pull request may close this issue.
Bug Description
When compiling models with 0D tensor inputs, the following error is encountered:
To Reproduce
Expected behavior
The models should successfully compile.
Environment
2.1.0.dev20230803+cu121
Additional context
Very relevant to diffusion and detectron-style models.
The text was updated successfully, but these errors were encountered: