-
Notifications
You must be signed in to change notification settings - Fork 236
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
[TESTS][FP16][WORKAROUND] Fix test_conv_igemm_dynamic_xdlops* and test_regression_half_vega. W/A for #995 and #996 #991
Conversation
- Fix: Enable test_conv_igemm_dynamic_xdlops_fwd for HALF type - Fix: Enable test_conv_igemm_dynamic_xdlops_wrw for HALF type - Fix: Properly enable test_regression_half_vega (it did nothing before) - Refactoring: Remove some useless if's.
This reverts commit 0c845ef.
# RESOLVED Conflicts: # test/CMakeLists.txt
This comment has been minimized.
This comment has been minimized.
@qianfengz @shaojiewang @carlushuang @shurale-nkn Please approve. This blocks #958 |
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
# WORKAROUND_ISSUE_996 | ||
# COMMAND ${DYNAMIC_IMPLICITGEMM_WRW_ENVS_XDLOPS} $<TARGET_FILE:test_conv2d> ${MIOPEN_TEST_FLOAT_ARG} --verbose --input 400 256 1 1 --weights 1024 256 1 1 --pads_strides_dilations 0 0 1 1 1 1 --disable-forward --disable-backward-data | ||
# WORKAROUND_ISSUE_995 | ||
# COMMAND ${DYNAMIC_IMPLICITGEMM_WRW_ENVS_XDLOPS} $<TARGET_FILE:test_conv2d> ${MIOPEN_TEST_FLOAT_ARG} --verbose --input 1 3 32 32 --weights 1 3 11 11 --pads_strides_dilations 1 1 2 2 2 1 --disable-forward --disable-backward-data |
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.
Could we add a flag which indicates that cases only run for fp16?
These cases are not applicable for fp32.
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.
if you mean only these two tests, then we can separate them into an additional custom_test with such restrictions.
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.
OK.
…t_regression_half_vega. W/A for #995 and #996 (#991) - Added: Workarounds for #995 and #996 - Fixes the following issues in tests: - Issue: `test_conv_igemm_dynamic_xdlops_bwd` does not test the HALF type. - Issue: `test_conv_igemm_dynamic_xdlops_fwd` does not test the HALF type. - Issue: `test_conv_igemm_dynamic_xdlops_wrw` does not test the HALF type. - Issue: `test_regression_half_vega` does nothing. - [Jenkinsfile] Added dedicated build param for FP16/BF16/INT8 Smoke tests - [NFC] Removed some useless if's.
test_conv_igemm_dynamic_xdlops_bwd
does not test the HALF type.test_conv_igemm_dynamic_xdlops_fwd
does not test the HALF type.test_conv_igemm_dynamic_xdlops_wrw
does not test the HALF type.test_regression_half_vega
does nothing.