-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[ROCm] inductor/fp8 test: Check for "cuda" in device type. #170254
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
Conversation
device == "cuda" check fails if device is "cuda:0" Replace with proper check. Signed-off-by: Jagadish Krishnamoorthy <[email protected]>
|
ping @jithunnair-amd |
jeffdaily
left a comment
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 test module seems inconsistent. Some params are typed as device: str and others are device: torch.device. In the latter case, torch.device has the type attribute. torch.device is not iterable so "cuda" in device I expect to fail.
Signed-off-by: Jagadish Krishnamoorthy <[email protected]>
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 jobs have failed, first few of them are: Limited CI on H100 / linux-jammy-cuda12_8-py3_10-gcc11-sm90-FA3-ABI-stable-test / test Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge -f "should work" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…70254) device == "cuda" check fails if device is "cuda:0" Replace it with proper check. Pull Request resolved: pytorch#170254 Approved by: https://github.com/jeffdaily
device == "cuda" check fails if device is "cuda:0"
Replace it with proper check.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben