-
Notifications
You must be signed in to change notification settings - Fork 89
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
Fix: Driver --batch option sets Window Dimensions. #3770
base: develop
Are you sure you want to change the base?
Conversation
Take a look at the models that are failing in CI. You likely have caught some input parameter assumptions. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3770 +/- ##
========================================
Coverage 92.28% 92.28%
========================================
Files 519 519
Lines 22222 22224 +2
========================================
+ Hits 20507 20510 +3
+ Misses 1715 1714 -1 ☔ View full report in Codecov by Sentry. |
This build is not recommended to merge 🔴 |
❌dlrm-criteoterabyte: ERROR - check error outputTraceback (most recent call last):File "/src/AMDMIGraphX/tools/accuracy/accuracy_checker.py", line 340, in main() File "/src/AMDMIGraphX/tools/accuracy/accuracy_checker.py", line 205, in main model = migraphx.parse_onnx(model_name, default_dim_value=batch) RuntimeError: /src/AMDMIGraphX/src/onnx/onnx_parser.cpp:654: operator(): Batch inserted at index 1 of lS_i 🔴bert_large_uncased_fp16: FAILED: MIGraphX is not within tolerance - check verbose output❌vicuna-fastchat: ERROR - check error outputTraceback (most recent call last):File "/src/AMDMIGraphX/tools/accuracy/accuracy_checker.py", line 340, in main() File "/src/AMDMIGraphX/tools/accuracy/accuracy_checker.py", line 205, in main model = migraphx.parse_onnx(model_name, default_dim_value=batch) RuntimeError: /src/AMDMIGraphX/src/onnx/onnx_parser.cpp:654: operator(): Batch inserted at index 1 of input_ids |
@@ -646,6 +649,10 @@ shape onnx_parser::parse_type(const onnx::TypeProto& t) const | |||
} | |||
else | |||
{ | |||
if(idx && default_dim_value) |
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.
Why check default_dim_value and idx? If default_dim_value is 0 that would also be an error since it's would be setting a dimenion to zero?
@@ -97,6 +97,7 @@ struct onnx_parser | |||
std::unordered_map<std::string, instruction_ref> instructions; | |||
program prog = program(); | |||
shape::dynamic_dimension default_dyn_dim_value = {1, 1}; | |||
size_t default_dim_value = 0; |
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.
This should probably default to 1.
No description provided.