Skip to content

Enhance test_autoquant_compile to support ROCm #2100

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

petrex
Copy link
Collaborator

@petrex petrex commented Apr 22, 2025

  • Added checks for ROCm availability alongside CUDA.
  • Improved device capability checks for CUDA to ensure compatibility with bfloat16 and specific tensor shapes.
  • Updated skip conditions for unsupported devices and older PyTorch versions.

Copy link

pytorch-bot bot commented Apr 22, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/2100

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 Cancelled Job

As of commit 60c847f with merge base 720a177 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 22, 2025
@petrex petrex added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Apr 22, 2025
@petrex
Copy link
Collaborator Author

petrex commented Apr 22, 2025

TestQAT.test_qat_8da4w_prepare_vs_convert_* failing in CI. --> irrelevant.

@petrex
Copy link
Collaborator Author

petrex commented Apr 23, 2025

refer to #2113

@petrex
Copy link
Collaborator Author

petrex commented Apr 30, 2025

@pytorchbot rebase -b main

@petrex petrex force-pushed the rocm_autoquant branch 2 times, most recently from 5f113aa to 66b89a2 Compare May 8, 2025 20:12
petrex added 2 commits May 14, 2025 10:49
- Added checks for ROCm availability alongside CUDA.
- Improved device capability checks for CUDA to ensure compatibility with bfloat16 and specific tensor shapes.
- Updated skip conditions for unsupported devices and older PyTorch versions.
petrex added 3 commits June 4, 2025 15:22
- Simplified the logic for checking supported devices by consolidating CUDA and ROCm checks.
- Enhanced readability of the device capability validation for CUDA.
- Updated skip conditions for unsupported devices to ensure accurate test execution.
…ed readability

- Adjusted the formatting of the device check condition to enhance clarity.
- Consolidated the logic for checking supported devices while maintaining functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/rocm CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: rocm topic: not user facing Use this tag if you don't want this PR to show up in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants