Skip to content
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

Merged
merged 10 commits into from
Jun 22, 2021

Conversation

atamazov
Copy link
Contributor

@atamazov atamazov commented Jun 19, 2021

⚠️ To reviewers: First of all, I ask you to understand what was wrong before.

atamazov added 2 commits June 20, 2021 01:27
- 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.
@atamazov atamazov marked this pull request as draft June 19, 2021 22:40
@atamazov atamazov changed the title Fix tests asm igemm [TESTS][FP16] Fix test_conv_igemm_dynamic_xdlops* and test_regression_half_vega Jun 19, 2021
@atamazov atamazov marked this pull request as ready for review June 21, 2021 13:34
@atamazov atamazov changed the title [TESTS][FP16] Fix test_conv_igemm_dynamic_xdlops* and test_regression_half_vega [TESTS][FP16][WORKAROUND] Fix test_conv_igemm_dynamic_xdlops* and test_regression_half_vega. W/A for #995 and #996 Jun 21, 2021
@codecov

This comment has been minimized.

@atamazov atamazov requested a review from carlushuang June 21, 2021 23:10
@atamazov
Copy link
Contributor Author

@qianfengz @shaojiewang @carlushuang @shurale-nkn Please approve. This blocks #958

Copy link
Contributor

@carlushuang carlushuang left a 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
Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

@atamazov atamazov merged commit af4c67e into develop Jun 22, 2021
@atamazov atamazov deleted the fix-tests-asm-igemm branch June 23, 2021 13:16
atamazov added a commit that referenced this pull request Jul 22, 2021
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants