Repository navigation
[ROCm] Remove obsolete ROCm 7.14 test skips - #192674
chinmaydk99 wants to merge 1 commit into
Conversation
🔗 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 ( 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. |
|
|
|
The following ciflow label(s) have been added but CI has not been triggered yet because the workflows are awaiting approval:
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. |
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]>
e819f51 to
6d80a47
Compare
|
@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: Auto Request Review Details for Dev Infra teamRaised by workflow job |
|
@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 |
## 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]>
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_sharingtest/test_multiprocessing.py::TestMultiprocessing::test_fs_pooltest/test_multiprocessing.py::TestMultiprocessing::test_fstest/test_multiprocessing.py::TestMultiprocessing::test_fs_is_sharedtest/test_utils.py::TestStandaloneCPPJIT::test_load_standalonetest/inductor/test_gpu_cpp_wrapper.py::TestGpuWrapper::test_cuda_cpp_wrapper_keeps_vec_isa_for_host_vectorized_codetest/inductor/test_torchinductor_dynamic_shapes.py::DynamicShapesCpuTests::test_tmp_not_defined_issue3_dynamic_shapes_cpuOther 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_handlertest/test_cuda.py::TestCudaAllocator::test_temperaturetest/test_cuda.py::TestCudaAllocator::test_device_memory_usedtest/test_cuda.py::TestCudaAllocator::test_power_drawtest/test_cuda.py::TestCudaAllocator::test_clock_speedtest/test_cuda.py::TestCudaAllocator::test_raw_amdsmi_device_counttest/distributed/_composable/fsdp/test_fully_shard_training.py::TestFullyShard1DTrainingCore::test_post_optim_eventtest/distributed/_composable/test_replicate_with_compiler.py::ReplicateTest::test_compile_gputest/distributed/_composable/test_replicate_with_compiler.py::ReplicateTest::test_compile_fp16test/distributed/tensor/test_attention.py::CPFlexAttentionTest::test_cp_flex_attention_causal_masktest/distributed/tensor/test_attention.py::CPFlexAttentionTest::test_cp_flex_attention_document_masktest/test_torch.py::TestTorch::test_cxx_flagsROCm/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.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_standalonepassed 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_codepassed 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 excludesinductor/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).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_eventpassed on ROCm distributed shard 1/3:distributed/_composable/fsdp/test_fully_shard_training 1/1 was successful(job 93498959453, line 9041).test_compile_gpuandtest_compile_fp16passed 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_maskandtest_cp_flex_attention_document_maskpassed on CUDA 13.2 distributed shard 3/3:distributed/tensor/test_attention 1/1 was successful(job 93495192213, lines 6919-6920).test_cxx_flagspassed on the ROCm inductor shard:test_torch 1/3 was successful(job 93498959536, line 8650).Individual
PASSEDlines 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