-
Notifications
You must be signed in to change notification settings - Fork 13
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
int8 input not supported for average pooling in MLIR_TRT #457
Comments
@farazkh80 could you post the trace if you still have it? |
How to reproduce this error? This test passes locally. |
@yizhuoz004 the error only happens when we use an input to the pooling layer. My suspicion is that it's being constant folded in other cases. It will probably repro if you |
here is the trace
|
Can reproduce by making the int8 tensor as an input. This is most likely a TRT constraint, will file a bug. We can waive it for now. Also torch avg pooling does not support int8, this should be a rare use case. |
The root cause is int8 is not supported as an input dtype, see https://docs.nvidia.com/deeplearning/tensorrt/api/python_api/infer/Graph/Network.html#:~:text=Currently%2C%20tensorrt.int8%20is%20not%20supported%20for%20inputs. |
Happened when running
test_dtype_constraints[avgpool-valid:T1-int8]
The text was updated successfully, but these errors were encountered: