Skip to content

[ROCm] Remove obsolete HasSameArgTypes test from cuda_vectorized_test - #172799

Closed
GZGavinZhao wants to merge 1 commit into
pytorch:mainfrom
GZGavinZhao:gzgz/jj-sunmkltlxmnp
Closed

GZGavinZhao wants to merge 1 commit into
pytorch:mainfrom
GZGavinZhao:gzgz/jj-sunmkltlxmnp

Conversation

@GZGavinZhao

@GZGavinZhao GZGavinZhao commented Jan 20, 2026 •

Copy link
Copy Markdown
Contributor

The HasSameArgTypes test references at::native::modern::detail::has_same_arg_types, which was defined in aten/src/ATen/native/cuda/ROCmLoops.cuh. This file was deleted in c11bd72 (#120101) when ROCm switched to using the hipified version of CUDALoops.cuh instead.

My understanding is that this test should be removed since it's a legacy compile-time check for a code path that no longer exists.

Causes failure in #172775 in this run.

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang

@pytorch-bot

pytorch-bot Bot commented Jan 20, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

⏳ No Failures, 24 Pending

As of commit c978119 with merge base 81b3f36 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot Bot added module: rocm AMD GPU support for Pytorch topic: not user facing topic category labels Jan 20, 2026
@jeffdaily

Copy link
Copy Markdown
Collaborator

Coincidentally PR #172679 also removes this test. Whichever lands first is fine with me.

@GZGavinZhao

Copy link
Copy Markdown
Contributor Author

@jeffdaily I would prefer merge this first, while I push a temporary copy of this change to #172775 just to see how CI would react because after including this change on top of #172775 PyTorch builds locally.

@m-gallus m-gallus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think this is executed anywhere anymore. LGTM

@zou3519 zou3519 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jan 20, 2026
@jeffdaily

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 20, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@GZGavinZhao

Copy link
Copy Markdown
Contributor Author

Looks like CI failed when uploading benchmark results. Perhaps the merge should be ran again?

Run pytorch/test-infra/.github/actions/upload-benchmark-results@main
Run set -eux
+ [[ -n '' ]]
+ python3 -mpip install boto3==1.35.33 psutil==7.0.0 nvidia-ml-py==13.580.82
error: externally-managed-environment

The HasSameArgTypes test references
`at::native::modern::detail::has_same_arg_types`, which was defined in
`aten/src/ATen/native/cuda/ROCmLoops.cuh`. This file was deleted in c11bd72
([ROCm] replace ROCmLoops.cuh with hipified CUDALoops.cuh pytorch#120101) when ROCm
switched to using the hipified version of `CUDALoops.cuh` instead.

Removing this test since it's a legacy compile-time check for a code
path that no longer exists.
@pytorch-bot pytorch-bot Bot removed the ciflow/trunk Trigger trunk jobs on your pull request label Jan 21, 2026
@jeffdaily

Copy link
Copy Markdown
Collaborator

@pytorchbot merge -f "this deletes a C++ unit test on ROCm only"

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@GZGavinZhao
GZGavinZhao deleted the gzgz/jj-sunmkltlxmnp branch February 6, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: rocm AMD GPU support for Pytorch open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants