Skip to content

[ROCm] Remove obsolete ROCm 7.14 test skips - #192674

Closed
chinmaydk99 wants to merge 1 commit into
pytorch:mainfrom
chinmaydk99:ck-remove-stale-rocm714-skips
Closed

chinmaydk99 wants to merge 1 commit into
pytorch:mainfrom
chinmaydk99:ck-remove-stale-rocm714-skips

Conversation

@chinmaydk99

@chinmaydk99 chinmaydk99 commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Remove 21 temporary ROCm 7.14 test skips added by #188593. ROCm trunk now uses ROCm 7.14. These failures no longer reproduce.

Child loader fixes

#188429 fixed the ROCm wheel environment and library search paths. Child processes can now load the required ROCm libraries.
Remove the skips for:

  • test/test_multiprocessing.py::TestMultiprocessing::test_fs_sharing
  • `test/test_multiprocessing.py::TestMultiprocessing::test_fs_preserve_sharing
  • test/test_multiprocessing.py::TestMultiprocessing::test_fs_pool
  • test/test_multiprocessing.py::TestMultiprocessing::test_fs
  • test/test_multiprocessing.py::TestMultiprocessing::test_fs_is_shared
  • test/test_utils.py::TestStandaloneCPPJIT::test_load_standalone
  • test/inductor/test_gpu_cpp_wrapper.py::TestGpuWrapper::test_cuda_cpp_wrapper_keeps_vec_isa_for_host_vectorized_code
  • test/inductor/test_torchinductor_dynamic_shapes.py::DynamicShapesCpuTests::test_tmp_not_defined_issue3_dynamic_shapes_cpu

Other obsolete skips

The following tests no longer fail with ROCm 7.14:

  • test/test_optim.py::TestOptimRenewed::test_rosenbrock_sparse[SGD,cuda,float64,with_lrsched=False]
  • test/test_cuda.py::TestCudaAllocator::test_nvml_get_handler
  • test/test_cuda.py::TestCudaAllocator::test_temperature
  • test/test_cuda.py::TestCudaAllocator::test_device_memory_used
  • test/test_cuda.py::TestCudaAllocator::test_power_draw
  • test/test_cuda.py::TestCudaAllocator::test_clock_speed
  • test/test_cuda.py::TestCudaAllocator::test_raw_amdsmi_device_count
  • test/distributed/_composable/fsdp/test_fully_shard_training.py::TestFullyShard1DTrainingCore::test_post_optim_event
  • test/distributed/_composable/test_replicate_with_compiler.py::ReplicateTest::test_compile_gpu
  • test/distributed/_composable/test_replicate_with_compiler.py::ReplicateTest::test_compile_fp16
  • test/distributed/tensor/test_attention.py::CPFlexAttentionTest::test_cp_flex_attention_causal_mask
  • test/distributed/tensor/test_attention.py::CPFlexAttentionTest::test_cp_flex_attention_document_mask
  • test/test_torch.py::TestTorch::test_cxx_flags

ROCm/CUDA CI evidence

The PR head (6d80a47) was tested in run 31399645566. CI verified 20 of the 21 re-enabled tests; the remaining dynamic-shapes CPU test was not scheduled in the available TD shards.

  • Multiprocessing (test_fs_sharing, test_fs_preserve_sharing, test_fs_pool, test_fs, test_fs_is_shared) passed on CUDA 13.0 default shard 3/14: test_multiprocessing 1/1 was successful (job 93495192855, lines 6970-6971).
  • test_load_standalone passed on CUDA 13.0 default shard 2/14: test_utils 1/1 was successful (job 93495192828, line 6966).
  • test_cuda_cpp_wrapper_keeps_vec_isa_for_host_vectorized_code passed on CUDA 13.0 default shard 10/14: inductor/test_gpu_cpp_wrapper 2/2 was successful (job 93495192873, line 7404); the shard list includes the test (line 7894).
  • test_tmp_not_defined_issue3_dynamic_shapes_cpu: not found in the downloaded CUDA/ROCm TD shard lists for this run. The inductor CPU run 31399645147 explicitly excludes inductor/test_torchinductor_dynamic_shapes; this test needs separate validation.
  • test_rosenbrock_sparse[SGD,cuda,float64,with_lrsched=False] passed on ROCm default shard 7/8: test_optim 1/2 was successful (job 93498959456, lines 9052-9053).
  • The six CUDA allocator/AMD SMI tests (test_nvml_get_handler, test_temperature, test_device_memory_used, test_power_draw, test_clock_speed, test_raw_amdsmi_device_count) passed on ROCm default shard 1/8: test_cuda 1/1 was successful (job 93498959446, lines 9442-9443).
  • test_post_optim_event passed on ROCm distributed shard 1/3: distributed/_composable/fsdp/test_fully_shard_training 1/1 was successful (job 93498959453, line 9041).
  • test_compile_gpu and test_compile_fp16 passed on ROCm distributed shard 2/3: distributed/_composable/test_replicate_with_compiler 1/1 was successful (job 93498959538, line 9060).
  • test_cp_flex_attention_causal_mask and test_cp_flex_attention_document_mask passed on CUDA 13.2 distributed shard 3/3: distributed/tensor/test_attention 1/1 was successful (job 93495192213, lines 6919-6920).
  • test_cxx_flags passed on the ROCm inductor shard: test_torch 1/3 was successful (job 93498959536, line 8650).

Individual PASSED lines are in the pytest artifacts referenced by these module-level success lines.

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

@pytorch-bot

pytorch-bot Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 6d80a47 with merge base b35bd63 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

@pytorch-bot pytorch-bot Bot added ciflow/dtensor Run DTensor specific tests ciflow/inductor module: inductor module: rocm AMD GPU support for Pytorch topic: not user facing topic category labels Aug 9, 2026
@pytorch-bot

pytorch-bot Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

@pytorch-bot

pytorch-bot Bot commented Aug 9, 2026

Copy link
Copy Markdown

The following ciflow label(s) have been added but CI has not been triggered yet because the workflows are awaiting approval:

  • ciflow/inductor
  • ciflow/dtensor

Once a maintainer approves the workflows (scroll to the bottom of the PR page), the corresponding CI jobs will be triggered automatically. Please ping one of the reviewers if you do not have access to approve and run workflows.

@jithunnair-amd jithunnair-amd added ciflow/trunk Trigger trunk jobs on your pull request keep-going Don't stop on first failure, keep running tests until the end ci-no-td Do not run TD on this PR labels Aug 9, 2026
Remove temporary version-gated skips that are ready for validation now that trunk runs ROCm 7.14. This restores coverage for optimizer, AMD SMI, distributed, multiprocessing, JIT, and Inductor cases.

Co-authored-by: Cursor <[email protected]>
@chinmaydk99
chinmaydk99 force-pushed the ck-remove-stale-rocm714-skips branch from e819f51 to 6d80a47 Compare August 10, 2026 14:30
@jeffdaily
jeffdaily marked this pull request as ready for review August 13, 2026 01:10
@jeffdaily

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@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

Merge failed

Reason: 1 jobs have failed, first few of them are: Auto Request Review

Details for Dev Infra team Raised by workflow job

@jeffdaily

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@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

orrangetabby17 pushed a commit to orrangetabby17/pytorch that referenced this pull request Sep 2, 2026
## Summary
Remove 21 temporary ROCm 7.14 test skips added by pytorch#188593.  ROCm trunk now uses ROCm 7.14. These failures no longer reproduce.

## Child loader fixes
pytorch#188429 fixed the ROCm wheel environment and library search paths. Child processes can now load the required ROCm libraries.
Remove the skips for:
- `test/test_multiprocessing.py::TestMultiprocessing::test_fs_sharing`
- `test/test_multiprocessing.py::TestMultiprocessing::test_fs_preserve_sharing
- `test/test_multiprocessing.py::TestMultiprocessing::test_fs_pool`
- `test/test_multiprocessing.py::TestMultiprocessing::test_fs`
- `test/test_multiprocessing.py::TestMultiprocessing::test_fs_is_shared`
- `test/test_utils.py::TestStandaloneCPPJIT::test_load_standalone`
- `test/inductor/test_gpu_cpp_wrapper.py::TestGpuWrapper::test_cuda_cpp_wrapper_keeps_vec_isa_for_host_vectorized_code`
- `test/inductor/test_torchinductor_dynamic_shapes.py::DynamicShapesCpuTests::test_tmp_not_defined_issue3_dynamic_shapes_cpu`

## Other obsolete skips
The following tests no longer fail with ROCm 7.14:

- `test/test_optim.py::TestOptimRenewed::test_rosenbrock_sparse[SGD,cuda,float64,with_lrsched=False]`
- `test/test_cuda.py::TestCudaAllocator::test_nvml_get_handler`
- `test/test_cuda.py::TestCudaAllocator::test_temperature`
- `test/test_cuda.py::TestCudaAllocator::test_device_memory_used`
- `test/test_cuda.py::TestCudaAllocator::test_power_draw`
- `test/test_cuda.py::TestCudaAllocator::test_clock_speed`
- `test/test_cuda.py::TestCudaAllocator::test_raw_amdsmi_device_count`
- `test/distributed/_composable/fsdp/test_fully_shard_training.py::TestFullyShard1DTrainingCore::test_post_optim_event`
- `test/distributed/_composable/test_replicate_with_compiler.py::ReplicateTest::test_compile_gpu`
- `test/distributed/_composable/test_replicate_with_compiler.py::ReplicateTest::test_compile_fp16`
- `test/distributed/tensor/test_attention.py::CPFlexAttentionTest::test_cp_flex_attention_causal_mask`
- `test/distributed/tensor/test_attention.py::CPFlexAttentionTest::test_cp_flex_attention_document_mask`
- `test/test_torch.py::TestTorch::test_cxx_flags`
## ROCm/CUDA CI evidence

The PR head (`6d80a47`) was tested in run [31399645566](https://github.com/pytorch/pytorch/actions/runs/31399645566). CI verified 20 of the 21 re-enabled tests; the remaining dynamic-shapes CPU test was not scheduled in the available TD shards.

- Multiprocessing (`test_fs_sharing`, `test_fs_preserve_sharing`, `test_fs_pool`, `test_fs`, `test_fs_is_shared`) passed on CUDA 13.0 default shard 3/14: `test_multiprocessing 1/1 was successful` ([job 93495192855, lines 6970-6971](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93495192855#step:10:6970)).
- `test_load_standalone` passed on CUDA 13.0 default shard 2/14: `test_utils 1/1 was successful` ([job 93495192828, line 6966](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93495192828#step:10:6966)).
- `test_cuda_cpp_wrapper_keeps_vec_isa_for_host_vectorized_code` passed on CUDA 13.0 default shard 10/14: `inductor/test_gpu_cpp_wrapper 2/2 was successful` ([job 93495192873, line 7404](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93495192873#step:10:7404)); the shard list includes the test ([line 7894](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93495192873#step:10:7894)).
- `test_tmp_not_defined_issue3_dynamic_shapes_cpu`: not found in the downloaded CUDA/ROCm TD shard lists for this run. The inductor CPU run [31399645147](https://github.com/pytorch/pytorch/actions/runs/31399645147) explicitly excludes `inductor/test_torchinductor_dynamic_shapes`; this test needs separate validation.
- `test_rosenbrock_sparse[SGD,cuda,float64,with_lrsched=False]` passed on ROCm default shard 7/8: `test_optim 1/2 was successful` ([job 93498959456, lines 9052-9053](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93498959456#step:10:9052)).
- The six CUDA allocator/AMD SMI tests (`test_nvml_get_handler`, `test_temperature`, `test_device_memory_used`, `test_power_draw`, `test_clock_speed`, `test_raw_amdsmi_device_count`) passed on ROCm default shard 1/8: `test_cuda 1/1 was successful` ([job 93498959446, lines 9442-9443](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93498959446#step:10:9442)).
- `test_post_optim_event` passed on ROCm distributed shard 1/3: `distributed/_composable/fsdp/test_fully_shard_training 1/1 was successful` ([job 93498959453, line 9041](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93498959453#step:10:9041)).
- `test_compile_gpu` and `test_compile_fp16` passed on ROCm distributed shard 2/3: `distributed/_composable/test_replicate_with_compiler 1/1 was successful` ([job 93498959538, line 9060](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93498959538#step:10:9060)).
- `test_cp_flex_attention_causal_mask` and `test_cp_flex_attention_document_mask` passed on CUDA 13.2 distributed shard 3/3: `distributed/tensor/test_attention 1/1 was successful` ([job 93495192213, lines 6919-6920](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93495192213#step:10:6919)).
- `test_cxx_flags` passed on the ROCm inductor shard: `test_torch 1/3 was successful` ([job 93498959536, line 8650](https://github.com/pytorch/pytorch/actions/runs/31399645566/job/93498959536#step:10:8650)).

Individual `PASSED` lines are in the pytest artifacts referenced by these module-level success lines.

Pull Request resolved: pytorch#192674
Approved by: https://github.com/jeffdaily

Co-authored-by: Cursor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/dtensor Run DTensor specific tests ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request keep-going Don't stop on first failure, keep running tests until the end Merged module: inductor module: rocm AMD GPU support for Pytorch open source topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants