-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
Is there any plan to solve the problem with tensor number < 2^31-1? #3815
Comments
2^31 means int32 data's max value ? Or built-in plugin/layer impl has write dead. |
Yes, I guess so. However, the length of the deep tensor of more and more models exceeds int32, forcing us to find other solutions. The excellent performance of tensorrt is still the best choice, so we hope that the official will consider supporting it in future versions. |
Let me check internally. |
This should be fixed in TRT 10.0.1, and we just release it, could you please take a try? |
Awesome, thank you very much! |
@zerollzeng I tried the V10.0.1 version, but still got this error. Am I using it incorrectly? [04/26/2024-19:28:41] [E] [TRT] ModelImporter.cpp:832: --- End node --- |
Looks like we didn't fix it completely, could you please share the model with us? I think we need further investigation on it. Thanks! |
@zerollzeng Sorry, I can't upload onnx. This is the original project and model. Please verify it. |
Could you please upload an onnx model that is converted directly from public repo that doesn't contain any sensitive information, ask this because I'm quite busy these days... |
I have the same issue, my model has 1x3x512x512x512 input, and it exceeds the 2^31 limitation. I failed to build the engine.@zerollzeng |
I uploaded a dummy model for testing here. @zerollzeng Thanks! |
We do not support > int32 volume for conv now. |
In the release note of 10.0.1, it is said the issue “UNets with tensors containing >2^31 elements may fail during the engine building step” was fixed. But it is not. @zerollzeng |
have you tried the latest version 10.1.0? it seems to have been resolved |
Really?? I checked the release note and it does not say the issue is fixed. Have you tried 10.1.0? :) |
I come across matmul element num > >2^31, it falied, use plugin WAR to solve it. |
TRT 10.1 no luck |
i wish to know, how to solve volume > 2^31? |
In the "Known Issues" of the release note of TensorRT 10.0, it is mentioned that "UNets with tensors containing >2^31 elements may fail during the engine building step." This problem brings great restrictions to our SD deployment, especially Video model, are there any plans to solve this problem in future versions?
Environment
TensorRT Version: V10.0
NVIDIA GPU: A100/A10/H800/H100/T4/2080TI
NVIDIA Driver Version:>510
CUDA Version:12.0
The text was updated successfully, but these errors were encountered: