-
Notifications
You must be signed in to change notification settings - Fork 5.7k
fix wrong trt dim when input dim is 2 #36614
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要加个单测
@@ -555,10 +555,6 @@ if(WITH_GPU AND TENSORRT_FOUND) | |||
if (NOT EXISTS ${TEST_SPLIT_CONVERTER_MODEL}/split_converter.tgz) | |||
inference_download_and_uncompress_without_verify(${TEST_SPLIT_CONVERTER_MODEL} ${INFERENCE_URL}/tensorrt_test "split_converter.tgz") | |||
endif() | |||
set(TEST_INSTANCE_NORM_MODEL "${TRT_MODEL_INSTALL_DIR}/trt_instance_norm_test") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
删掉单测是否有替代单测?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有的,test_trt_convert_instance_norm.py这个
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Bug fixes
PR changes
Others
Describe
1、修复当输入的nbDims为2时,trt获取到4维的nbDims问题。
2、删除不必要的intance_norm converter单测。
3、更新leaky_relu converter单测。
4、更新instance_norm converter单测。
5、将instance_norm plugin的enqueue中的维度check移到op_teller中。