pytorch/test
Prachi Gupta c0142f5c06 [ROCm] Enabling several UTs (#161715)
All these UTs are working as is, just removing the skip
- test_p2p_ipc
- test_repros.py: working, added fp8 support
- test_activation_checkpointing.py
- test_content_store.py
- test_cuda_multigpu.py
- test_compute_comm_reordering.py
- test_segment_reductions.py
- test_dataloader.py
- test_math_ops.py
- test_loop_ordering.py
- test_control_flow.py
- distributed_test.py
- test_mem_tracker.py
- test_fsdp_optim_state.py
- test_fully_shard_mixed_precision.py: skippped for < ROCm7.0
- test_aot_inductor_custom_ops.py
- test_c10d_ops_nccl.py
- test_eager_transforms.py
- test_sparse_csr.py
- test_inductor_collectives.py
- test_fake_tensor.py
- test_cupy_as_tensor.py
- test_cuda.py: enable UTs that are working
- test_matmul_cuda.py: enable UTs that are working

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/161715
Approved by: https://github.com/msaroufim

Co-authored-by: Mark Saroufim <marksaroufim@fb.com>
2025-09-09 15:49:21 +00:00
..
ao/sparsity Enable more nightly tests on s390x (#160893) 2025-08-28 22:20:55 +00:00
autograd
backends/xeon
benchmark_utils [BE][3/6] fix typos in test/ (#157637) 2025-07-17 12:08:33 +00:00
bottleneck_test
compiled_autograd_skips [ca] skip on some PYTORCH_TEST_WITH_DYNAMO=1 autograd tests (#156374) 2025-06-21 18:33:38 +00:00
cpp Always build USE_DISTRIBUTED. (#160449) 2025-09-08 19:10:36 +00:00
cpp_api_parity [BE][PYFMT] migrate PYFMT for test/[a-h]*/ to ruff format (#144555) 2025-06-24 04:53:54 +00:00
cpp_extensions [OpenReg] Integrate Event&Stream from OpenReg Backend into PyTorch (#160100) 2025-08-30 13:21:28 +00:00
custom_backend
custom_operator Using the latest torch.library.register_fake API instead of torch.library.impl_abstract (#158839) 2025-07-25 02:37:30 +00:00
distributed [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
distributions Revert "[2/N]Port several test files under test/distributed to Intel GPU (#159473)" 2025-09-07 21:06:38 +00:00
dynamo [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
dynamo_expected_failures Revert "[dynamo] Graph break on on user-defined class in compiled region (#161670)" 2025-09-06 06:18:57 +00:00
dynamo_skips Revert "[dynamo] Graph break on on user-defined class in compiled region (#161670)" 2025-09-06 06:18:57 +00:00
error_messages
expect [MPS] Move sparsemps testing from test_mps to test_sparse (#161852) 2025-09-02 19:04:11 +00:00
export Revert "testing infra and some fixes (#162183)" 2025-09-09 05:26:32 +00:00
forward_backward_compatibility Fused RMSNorm implementation (#153666) 2025-07-22 22:25:44 +00:00
functorch [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
fx Graph split event tracker (#159795) 2025-09-08 21:30:17 +00:00
higher_order_ops [dynamo][hops] Remove const outputs from the speculated subgraph (#161355) 2025-09-04 18:52:01 +00:00
inductor [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
inductor_expected_failures Revert "[dynamo] Graph break on on user-defined class in compiled region (#161670)" 2025-09-06 06:18:57 +00:00
inductor_skips
jit [cuDNN][TF32] Account for TF32 in test_super_resolution_cuda (#161662) 2025-08-28 08:42:34 +00:00
jit_hooks
lazy [BE][PYFMT] migrate PYFMT for test/[i-z]*/ to ruff format (#144556) 2025-07-29 03:26:09 +00:00
mobile [BE][PYFMT] migrate PYFMT for test/[i-z]*/ to ruff format (#144556) 2025-07-29 03:26:09 +00:00
nn Fix largeTensorTest malfunction on XPU (#161988) 2025-09-04 16:10:03 +00:00
onnx [ONNX] Default to dynamo export (#159646) 2025-09-02 22:45:55 +00:00
optim Fix SequentialLR deprecate warning about invoke step(epoch) (#149392) 2025-08-29 11:45:11 +00:00
package [Torch Package] Make get names of OrderedImporters support fallback to importers (#155743) 2025-08-06 02:26:10 +00:00
profiler Avoid double hash lookup in torch._library.simple_registry (#161328) 2025-08-30 06:55:43 +00:00
quantization fix to segmentation fault when empty tensor is passed to choose_qpara… (#161966) 2025-09-03 20:26:26 +00:00
scripts [BE][PYFMT] migrate PYFMT for test/[i-z]*/ to ruff format (#144556) 2025-07-29 03:26:09 +00:00
strobelight/examples
test_img
torch_np [BE][PYFMT] migrate PYFMT for test/[i-z]*/ to ruff format (#144556) 2025-07-29 03:26:09 +00:00
typing Revert "Add __init__.pyi to torch/linalg (#160750)" 2025-09-02 16:53:55 +00:00
xpu Enable _int_mm on Intel GPU (#157769) 2025-08-02 05:16:01 +00:00
_test_bazel.py
allowlist_for_publicAPI.json remove guard_or_x from allowlist_for_publicAPI (#159181) 2025-07-26 01:22:17 +00:00
bench_mps_ops.py [BE] Remove macos-13 guard from bench_mps_ops (#159732) 2025-08-03 20:53:58 +00:00
conftest.py [CI][run_test] Fix rerun logic for failing at exit (#155853) 2025-06-17 17:51:40 +00:00
create_dummy_torchscript_model.py
HowToWriteTestsUsingFileCheck.md
linear.py
load_torchscript_model.py
minioptest_failures_dict.json
mkl_verbose.py
mkldnn_verbose.py
pytest_shard_custom.py
run_doctests.sh
run_test.py Using get_paths() to get correct installation path for PYTHONPATY (#161947) 2025-09-03 06:38:03 +00:00
simulate_nccl_errors.py
slow_tests.json Update slow tests (#161395) 2025-09-08 13:33:32 +00:00
test_accelerator.py Add UT for torch.accelerator memory-related API (#155200) 2025-08-08 17:41:22 +00:00
test_ao_sparsity.py Add __main__ guards to ao tests (#154612) 2025-06-10 18:33:09 +00:00
test_appending_byte_serializer.py
test_autocast.py
test_autograd_fallback.py Fix TestAutogradFallback flaky tests under Dynamo: migrate to lib._destroy() (#159443) 2025-07-30 19:30:55 +00:00
test_autograd.py Clear custom autograd Function ctx.to_save earlier (#161171) 2025-09-02 03:26:31 +00:00
test_autoload.py
test_binary_ufuncs.py Revert "handling special case for pow(3) for GPU (#157537)" 2025-08-19 22:57:45 +00:00
test_bundled_images.py Add __main__ guards to tests (#154716) 2025-06-04 14:38:13 +00:00
test_bundled_inputs.py
test_ci_sanity_check_fail.py
test_comparison_utils.py
test_compile_benchmark_util.py
test_complex.py
test_content_store.py [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
test_cpp_api_parity.py Revert "Stop parsing command line arguments every time common_utils is imported. (#156703)" 2025-08-04 20:37:39 +00:00
test_cpp_extensions_aot.py [build] modernize build-frontend: python setup.py develop/install -> [uv ]pip install --no-build-isolation [-e ]. (#156027) 2025-07-09 11:24:27 +00:00
test_cpp_extensions_jit.py Add ScalarType -> shim conversion, add stable::Tensor.scalar_type (#160557) 2025-08-19 22:13:47 +00:00
test_cpp_extensions_mtia_backend.py
test_cpp_extensions_stream_and_event.py
test_cuda_expandable_segments.py
test_cuda_multigpu.py [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
test_cuda_nvml_based_avail.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_cuda_primary_ctx.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_cuda_sanitizer.py
test_cuda_trace.py
test_cuda.py [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
test_custom_ops.py Add utility to get computed kernel in torch.library (#158393) 2025-08-13 21:00:59 +00:00
test_dataloader.py [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
test_datapipe.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_decomp.py Fix full_like decomposition to preserve strides (#158898) 2025-07-25 20:21:36 +00:00
test_determination.py
test_dispatch.py Typo fixes for "overridden" in comments and function names (#155944) 2025-06-14 03:37:38 +00:00
test_dlpack.py [Testing] Add MPS to NATIVE_DEVICES (#153835) 2025-08-05 18:57:35 +00:00
test_dynamic_shapes.py Revert "[dynamic shapes] unbacked-safe slicing (#157944)" 2025-08-22 20:48:46 +00:00
test_expanded_weights.py Revert "Stop parsing command line arguments every time common_utils is imported. (#156703)" 2025-08-04 20:37:39 +00:00
test_extension_utils.py
test_fake_tensor.py [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
test_file_check.py
test_flop_counter.py PYFMT lint grandfathered files 1 (#154261) 2025-05-25 17:36:14 +00:00
test_foreach.py Fix requires_cuda to requires_cuda_and_triton (#160222) 2025-08-10 07:05:52 +00:00
test_function_schema.py
test_functional_autograd_benchmark.py
test_functional_optim.py
test_functionalization_of_rng_ops.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_functionalization.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_futures.py
test_fx_experimental.py [fx] fix split_module with symint (#160093) 2025-08-13 05:50:15 +00:00
test_fx_passes.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_fx_reinplace_pass.py [dynamic shapes] avoid unnecessary slices (#157528) 2025-07-10 06:34:46 +00:00
test_fx.py Extend torch function support to ALL arguments, not just scalar type (but not insides of list) (#145089) 2025-08-07 23:43:53 +00:00
test_hop_infra.py
test_hub.py Add __main__ guards to tests (#154716) 2025-06-04 14:38:13 +00:00
test_import_stats.py
test_indexing.py Revert "Fix index_add for int64 input + zerodim index (#161511)" 2025-08-27 15:38:11 +00:00
test_itt.py
test_jit_autocast.py Revert "Stop parsing command line arguments every time common_utils is imported. (#156703)" 2025-08-04 20:37:39 +00:00
test_jit_disabled.py
test_jit_fuser_legacy.py Revert "Stop parsing command line arguments every time common_utils is imported. (#156703)" 2025-08-04 20:37:39 +00:00
test_jit_fuser_te.py Remove tensorexpr tests (#158928) 2025-08-09 02:21:22 +00:00
test_jit_fuser.py Revert "Stop parsing command line arguments every time common_utils is imported. (#156703)" 2025-08-04 20:37:39 +00:00
test_jit_legacy.py Revert "Stop parsing command line arguments every time common_utils is imported. (#156703)" 2025-08-04 20:37:39 +00:00
test_jit_llga_fuser.py
test_jit_profiling.py
test_jit_simple.py
test_jit_string.py
test_jit.py Revert "Stop parsing command line arguments every time common_utils is imported. (#156703)" 2025-08-04 20:37:39 +00:00
test_jiterator.py
test_kernel_launch_checks.py
test_legacy_vmap.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_license.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_linalg.py Fix largeTensorTest malfunction on XPU (#161988) 2025-09-04 16:10:03 +00:00
test_logging.py
test_masked.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_maskedtensor.py Fix MaskedTensor to device ignored mask (#151205) 2025-07-21 21:44:49 +00:00
test_matmul_cuda.py [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
test_meta.py [easy][test] Add repeat_interleave opinfo that exercises binary search fusion (#161445) 2025-08-26 12:32:24 +00:00
test_metal.py
test_mkl_verbose.py
test_mkldnn_fusion.py
test_mkldnn_verbose.py
test_mkldnn.py Enable TF32 as fp32 internal precision for matmul/linear/conv (#157520) 2025-07-17 08:57:34 +00:00
test_mobile_optimizer.py
test_model_exports_to_core_aten.py
test_module_tracker.py
test_modules.py
test_monitor.py
test_mps.py [MPS] Add native_dropout and native_dropout_backward (#162108) 2025-09-09 01:44:06 +00:00
test_multiprocessing_spawn.py Test multiprocessing spawn timing fix (#160672) 2025-08-15 00:11:55 +00:00
test_multiprocessing.py Revert "[CI] Use setup-python from for Mac tests (#155698)" 2025-06-12 14:42:32 +00:00
test_namedtensor.py
test_namedtuple_return_api.py
test_native_functions.py
test_native_mha.py
test_nestedtensor.py Add return-max-scores to flex-attention (#161667) 2025-09-08 22:44:48 +00:00
test_nn.py NLLLoss: validate target is 0D when input is 1D (#161412) 2025-09-06 20:58:42 +00:00
test_nnapi.py
test_numa_binding.py Make distributed modules importable even when backend not built (#159889) 2025-09-08 19:10:36 +00:00
test_numba_integration.py
test_numpy_interop.py Throw invalid_argument instead of RuntimeError when parameters exceed… (#158267) 2025-07-25 23:49:46 +00:00
test_openmp.py
test_openreg.py [OpenReg] Add OSX/Windows Support for OpenReg (#159441) 2025-08-25 08:03:27 +00:00
test_ops_fwd_gradients.py
test_ops_gradients.py
test_ops_jit.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_ops.py Relax unclaimed successes in dtype op tests when running under TEST_WITH_DYNAMO/TEST_WITH_INDUCTOR (#159976) 2025-08-07 02:38:45 +00:00
test_optim.py [muon] Introduce Muon optimizer to PyTorch (#160213) 2025-08-24 08:03:04 +00:00
test_out_dtype_op.py
test_overrides.py Detect torch function in lists as well (#160256) 2025-09-02 16:22:42 +00:00
test_package.py
test_per_overload_api.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_prims.py
test_proxy_tensor.py Revert "[dynamic shapes] unbacked-safe slicing (#157944)" 2025-08-22 20:48:46 +00:00
test_pruning_op.py
test_public_bindings.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_python_dispatch.py Remove guard_size_oblivious from default contiguity python check, and add aten.sym_is_contiguous. [attempt2] (#160869) 2025-09-08 22:59:13 +00:00
test_pytree.py [BE][pytree] cleanup parameterized pytree tests (#160842) 2025-09-05 20:15:29 +00:00
test_quantization.py Remove pytorch quant docs since we are moving to torchao (#157766) 2025-07-11 03:21:47 +00:00
test_reductions.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_rename_privateuse1_to_existing_device.py [Device] Add support for PrivateUse1 device type in parse_type function (#157609) 2025-07-17 01:27:44 +00:00
test_scatter_gather_ops.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_schema_check.py [inductor] slow test some Windows UTs. (#160267) 2025-08-10 18:35:42 +00:00
test_segment_reductions.py [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
test_serialization.py added class or module info for functions blocked by weight-only load (#159935) 2025-08-12 20:52:25 +00:00
test_set_default_mobile_cpu_allocator.py
test_shape_ops.py
test_show_pickle.py
test_sort_and_select.py Add dtype checks in meta dispatch for various ordering ops (#159556) 2025-08-14 17:06:27 +00:00
test_sparse_csr.py [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
test_sparse_semi_structured.py [BE] fix remaining flake8 v7 warnings (#159044) 2025-07-25 02:56:34 +00:00
test_sparse.py [MPS] mps sparse mul op implementation (#162349) 2025-09-09 15:45:37 +00:00
test_spectral_ops.py fix numpy compatibility for 2d small list indices (#154806) 2025-06-04 01:58:52 +00:00
test_stateless.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_static_runtime.py
test_subclass.py
test_sympy_utils.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_tensor_creation_ops.py Revert "Use vectorized stores for all dtypes in cat (#161649)" 2025-09-08 15:58:58 +00:00
test_tensorboard.py Fix test_tensorboard when started w/o tensorboard package (#154709) 2025-05-30 19:18:43 +00:00
test_tensorexpr_pybind.py
test_tensorexpr.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_testing.py [Fix XPU CI][Inductor UT] Fix test cases broken by community. (#160403) 2025-08-19 00:54:51 +00:00
test_throughput_benchmark.py
test_torch.py [BE] Move indexing tests to test_indexing (#160994) 2025-08-21 00:42:55 +00:00
test_transformers_privateuse1.py Refactor and Improve the OpenReg Module (#158090) 2025-07-15 08:10:05 +00:00
test_transformers.py Add fp16-overflow regression test (#162401) 2025-09-08 20:33:23 +00:00
test_type_hints.py
test_type_info.py
test_type_promotion.py [BE] Raise ValueError from torch.cat meta func (#158249) 2025-07-20 23:49:18 +00:00
test_typing.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_unary_ufuncs.py [inductor] slow test some Windows UTs. (#160267) 2025-08-10 18:35:42 +00:00
test_utils_config_module.py
test_utils_filelock.py
test_utils.py [ONNX] Refactor torchscript based exporter (#161323) 2025-09-02 16:10:30 +00:00
test_view_ops.py unify broadcast_shapes functions and avoid duplicates (#160251) 2025-08-16 00:54:32 +00:00
test_vulkan.py
test_weak.py [BE][2/6] fix typos in test/ (test/test_*.py) (#157636) 2025-07-09 11:02:23 +00:00
test_xnnpack_integration.py
test_xpu.py Add uuid to XPU device properties (#161392) 2025-09-02 06:41:32 +00:00