Skip to content

Conversation

@k-artem
Copy link
Contributor

@k-artem k-artem commented Dec 23, 2025

TestAmp failures observed on ROCm due to:
53e91a0#diff-e6635a81d2c2bf0938b5f83b1c4945e0f344e0106191a6960df8ee4aa64cc55fR2305, but since amp is deprecated and removed from apex (NVIDIA/apex#1896), and these tests are already skipped on NVIDIA, we will skip them on ROCm as well.

Command for verification:
pytest -v tests/unit/runtime/half_precision/test_fp16.py -k 'TestAmp'

TestAmp failures observed on ROCm due to:
deepspeedai@53e91a0#diff-e6635a81d2c2bf0938b5f83b1c4945e0f344e0106191a6960df8ee4aa64cc55fR2305
Since amp is deprecated and removed from apex (NVIDIA/apex#1896),
and these tests are already skipped on NVIDIA, we will skip them on ROCm as well.

Signed-off-by: Artem Kuzmitckii <[email protected]>
_amp_available = False

# amp is likely to be deprecated in the future (see https://github.com/NVIDIA/apex/pull/1896).
# For now, we are skipping TestAmp to avoid failures on the ROCm platform caused by
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you help disable for all platforms?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sfc-gh-truwase whats about removing whole TestAmp(amp removed from apex NVIDIA/apex#1896)?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, that works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants