Skip to content

{tools}[GCCcore/13.2.0,foss/2023b] PyTorch v2.6.0, pytest-subtests v0.13.1 #22825

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Flamefire
Copy link
Contributor

@Flamefire Flamefire commented Apr 30, 2025

(created using eb --new-pr)

Requires:

…-2.6.0-foss-2023b.eb, pytest-subtests-0.13.1-GCCcore-13.2.0.eb, PuLP-2.9.0-foss-2023b.eb and patches: PyTorch-2.6.0_add-checkfunctionexists-include.patch, PyTorch-2.6.0_avoid_caffe2_test_cpp_jit.patch, PyTorch-2.6.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch, PyTorch-2.6.0_disable-gcc12-warnings.patch, PyTorch-2.6.0_disable_tests_which_need_network_download.patch, PyTorch-2.6.0_fix-accuracy-issues-in-linalg_solve.patch, PyTorch-2.6.0_fix-distributed-tests-without-gpus.patch, PyTorch-2.6.0_fix-edge-case-causing-test_trigger_bisect_on_error-failure.patch, PyTorch-2.6.0_fix-ExcTests.test_trigger_on_error.patch, PyTorch-2.6.0_fix-flaky-test_aot_export_with_torch_cond.patch, PyTorch-2.6.0_fix-inductor-device-interface.patch, PyTorch-2.6.0_fix-server-in-test_control_plane.patch, PyTorch-2.6.0_fix-skip-decorators.patch, PyTorch-2.6.0_fix-sympy-1.13-compat.patch, PyTorch-2.6.0_fix-test_autograd_cpp_node_saved_float.patch, PyTorch-2.6.0_fix-test_linear_with_embedding.patch, PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch, PyTorch-2.6.0_fix-test_public_bindings.patch, PyTorch-2.6.0_fix-test_unbacked_bindings_for_divisible_u_symint.patch, PyTorch-2.6.0_fix-vsx-vector-shift-functions.patch, PyTorch-2.6.0_fix-xnnpack-float16-convert.patch, PyTorch-2.6.0_increase-tolerance-test_aotdispatch-matmul.patch, PyTorch-2.6.0_increase-tolerance-test_quick-baddbmm.patch, PyTorch-2.6.0_increase-tolerance-test_vmap_autograd_grad.patch, PyTorch-2.6.0_no-cuda-stubs-rpath.patch, PyTorch-2.6.0_remove-test_slice_with_floordiv.patch, PyTorch-2.6.0_skip-diff-test-on-ppc.patch, PyTorch-2.6.0_skip-test_checkpoint_wrapper_parity-on-cpu.patch, PyTorch-2.6.0_skip-test_init_from_local_shards.patch, PyTorch-2.6.0_skip-test_jvp_linalg_det_singular.patch, PyTorch-2.6.0_skip-test-requiring-MKL.patch, PyTorch-2.6.0_skip-test_segfault.patch, PyTorch-2.6.0_skip-tests-without-fbgemm.patch, PyTorch-2.6.0_add-checkfunctionexists-include.patch, PyTorch-2.6.0_avoid_caffe2_test_cpp_jit.patch, PyTorch-2.6.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch, PyTorch-2.6.0_disable-gcc12-warnings.patch, PyTorch-2.6.0_disable_tests_which_need_network_download.patch, PyTorch-2.6.0_fix-accuracy-issues-in-linalg_solve.patch, PyTorch-2.6.0_fix-distributed-tests-without-gpus.patch, PyTorch-2.6.0_fix-edge-case-causing-test_trigger_bisect_on_error-failure.patch, PyTorch-2.6.0_fix-ExcTests.test_trigger_on_error.patch, PyTorch-2.6.0_fix-flaky-test_aot_export_with_torch_cond.patch, PyTorch-2.6.0_fix-inductor-device-interface.patch, PyTorch-2.6.0_fix-server-in-test_control_plane.patch, PyTorch-2.6.0_fix-skip-decorators.patch, PyTorch-2.6.0_fix-sympy-1.13-compat.patch, PyTorch-2.6.0_fix-test_autograd_cpp_node_saved_float.patch, PyTorch-2.6.0_fix-test_linear_with_embedding.patch, PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch, PyTorch-2.6.0_fix-test_public_bindings.patch, PyTorch-2.6.0_fix-test_unbacked_bindings_for_divisible_u_symint.patch, PyTorch-2.6.0_fix-vsx-vector-shift-functions.patch, PyTorch-2.6.0_fix-xnnpack-float16-convert.patch, PyTorch-2.6.0_increase-tolerance-test_aotdispatch-matmul.patch, PyTorch-2.6.0_increase-tolerance-test_quick-baddbmm.patch, PyTorch-2.6.0_increase-tolerance-test_vmap_autograd_grad.patch, PyTorch-2.6.0_no-cuda-stubs-rpath.patch, PyTorch-2.6.0_remove-test_slice_with_floordiv.patch, PyTorch-2.6.0_skip-diff-test-on-ppc.patch, PyTorch-2.6.0_skip-test_checkpoint_wrapper_parity-on-cpu.patch, PyTorch-2.6.0_skip-test_init_from_local_shards.patch, PyTorch-2.6.0_skip-test_jvp_linalg_det_singular.patch, PyTorch-2.6.0_skip-test-requiring-MKL.patch, PyTorch-2.6.0_skip-test_segfault.patch, PyTorch-2.6.0_skip-tests-without-fbgemm.patch
Copy link

github-actions bot commented Apr 30, 2025

Updated software PuLP-2.9.0-foss-2023b.eb

Diff against PuLP-2.8.0-foss-2024a.eb

easybuild/easyconfigs/p/PuLP/PuLP-2.8.0-foss-2024a.eb

diff --git a/easybuild/easyconfigs/p/PuLP/PuLP-2.8.0-foss-2024a.eb b/easybuild/easyconfigs/p/PuLP/PuLP-2.9.0-foss-2023b.eb
index 04b7fa63d7..8b028268db 100644
--- a/easybuild/easyconfigs/p/PuLP/PuLP-2.8.0-foss-2024a.eb
+++ b/easybuild/easyconfigs/p/PuLP/PuLP-2.9.0-foss-2023b.eb
@@ -1,12 +1,7 @@
-# Contribution by
-# DeepThought, Flinders University
-# R.QIAO <[email protected]>
-# Updated: Petr Král (INUITS)
-
 easyblock = 'PythonPackage'
 
 name = 'PuLP'
-version = '2.8.0'
+version = '2.9.0'
 
 homepage = 'https://github.com/coin-or/pulp'
 description = """
@@ -15,15 +10,15 @@ call GLPK, COIN-OR CLP/CBC, CPLEX, GUROBI, MOSEK, XPRESS, CHOCO, MIPCL, SCIP to
 solve linear problems.
 """
 
-toolchain = {'name': 'foss', 'version': '2024a'}
+toolchain = {'name': 'foss', 'version': '2023b'}
 
-sources = [SOURCE_TAR_GZ]
-checksums = ['4903bf96110bbab8ed2c68533f90565ebb76aa367d9e4df38e51bf727927c125']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = ['2e30e6c0ef2c0edac185220e3e53faca62eb786a9bd68465208f05bc63e850f3']
 
 dependencies = [
-    ('Python', '3.12.3'),
+    ('Python', '3.11.5'),
     ('GLPK', '5.0'),
-    ('Cbc', '2.10.12'),
+    ('Cbc', '2.10.11'),
     # Gurobi requires a seperate license
     # ('Gurobi', '9.5.0'),
 ]
Diff against PuLP-2.8.0-foss-2023a.eb

easybuild/easyconfigs/p/PuLP/PuLP-2.8.0-foss-2023a.eb

diff --git a/easybuild/easyconfigs/p/PuLP/PuLP-2.8.0-foss-2023a.eb b/easybuild/easyconfigs/p/PuLP/PuLP-2.9.0-foss-2023b.eb
index eea67601ae..8b028268db 100644
--- a/easybuild/easyconfigs/p/PuLP/PuLP-2.8.0-foss-2023a.eb
+++ b/easybuild/easyconfigs/p/PuLP/PuLP-2.9.0-foss-2023b.eb
@@ -1,12 +1,7 @@
-# Contribution by
-# DeepThought, Flinders University
-# R.QIAO <[email protected]>
-# Updated: Petr Král (INUITS)
-
 easyblock = 'PythonPackage'
 
 name = 'PuLP'
-version = '2.8.0'
+version = '2.9.0'
 
 homepage = 'https://github.com/coin-or/pulp'
 description = """
@@ -15,13 +10,13 @@ call GLPK, COIN-OR CLP/CBC, CPLEX, GUROBI, MOSEK, XPRESS, CHOCO, MIPCL, SCIP to
 solve linear problems.
 """
 
-toolchain = {'name': 'foss', 'version': '2023a'}
+toolchain = {'name': 'foss', 'version': '2023b'}
 
-sources = [SOURCE_TAR_GZ]
-checksums = ['4903bf96110bbab8ed2c68533f90565ebb76aa367d9e4df38e51bf727927c125']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = ['2e30e6c0ef2c0edac185220e3e53faca62eb786a9bd68465208f05bc63e850f3']
 
 dependencies = [
-    ('Python', '3.11.3'),
+    ('Python', '3.11.5'),
     ('GLPK', '5.0'),
     ('Cbc', '2.10.11'),
     # Gurobi requires a seperate license
Diff against PuLP-2.7.0-foss-2022b.eb

easybuild/easyconfigs/p/PuLP/PuLP-2.7.0-foss-2022b.eb

diff --git a/easybuild/easyconfigs/p/PuLP/PuLP-2.7.0-foss-2022b.eb b/easybuild/easyconfigs/p/PuLP/PuLP-2.9.0-foss-2023b.eb
index 68a9bf62a2..8b028268db 100644
--- a/easybuild/easyconfigs/p/PuLP/PuLP-2.7.0-foss-2022b.eb
+++ b/easybuild/easyconfigs/p/PuLP/PuLP-2.9.0-foss-2023b.eb
@@ -1,12 +1,7 @@
-# Contribution by
-# DeepThought, Flinders University
-# R.QIAO <[email protected]>
-# Updated: Petr Král (INUITS)
-
 easyblock = 'PythonPackage'
 
 name = 'PuLP'
-version = '2.7.0'
+version = '2.9.0'
 
 homepage = 'https://github.com/coin-or/pulp'
 description = """
@@ -15,15 +10,15 @@ call GLPK, COIN-OR CLP/CBC, CPLEX, GUROBI, MOSEK, XPRESS, CHOCO, MIPCL, SCIP to
 solve linear problems.
 """
 
-toolchain = {'name': 'foss', 'version': '2022b'}
+toolchain = {'name': 'foss', 'version': '2023b'}
 
-sources = [SOURCE_TAR_GZ]
-checksums = ['e73ee6b32d639c9b8cf4b4aded334ba158be5f8313544e056f796ace0a10ae63']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = ['2e30e6c0ef2c0edac185220e3e53faca62eb786a9bd68465208f05bc63e850f3']
 
 dependencies = [
-    ('Python', '3.10.8'),
+    ('Python', '3.11.5'),
     ('GLPK', '5.0'),
-    ('Cbc', '2.10.5'),
+    ('Cbc', '2.10.11'),
     # Gurobi requires a seperate license
     # ('Gurobi', '9.5.0'),
 ]

Updated software PyTorch-2.6.0-foss-2023b.eb

Diff against PyTorch-2.3.0-foss-2023b.eb

easybuild/easyconfigs/p/PyTorch/PyTorch-2.3.0-foss-2023b.eb

diff --git a/easybuild/easyconfigs/p/PyTorch/PyTorch-2.3.0-foss-2023b.eb b/easybuild/easyconfigs/p/PyTorch/PyTorch-2.6.0-foss-2023b.eb
index 308397336a..c0b3095961 100644
--- a/easybuild/easyconfigs/p/PyTorch/PyTorch-2.3.0-foss-2023b.eb
+++ b/easybuild/easyconfigs/p/PyTorch/PyTorch-2.6.0-foss-2023b.eb
@@ -1,5 +1,5 @@
 name = 'PyTorch'
-version = '2.3.0'
+version = '2.6.0'
 
 homepage = 'https://pytorch.org/'
 description = """Tensors and Dynamic neural networks in Python with strong GPU acceleration.
@@ -12,108 +12,138 @@ sources = ['%(namelower)s-v%(version)s.tar.gz']
 patches = [
     'PyTorch-1.7.0_disable-dev-shm-test.patch',
     'PyTorch-1.12.1_add-hypothesis-suppression.patch',
-    'PyTorch-1.12.1_fix-test_cpp_extensions_jit.patch',
     'PyTorch-1.12.1_fix-TestTorch.test_to.patch',
-    'PyTorch-1.12.1_skip-test_round_robin.patch',
     'PyTorch-1.13.1_fix-gcc-12-warning-in-fbgemm.patch',
-    'PyTorch-1.13.1_fix-protobuf-dependency.patch',
-    'PyTorch-1.13.1_fix-warning-in-test-cpp-api.patch',
     'PyTorch-1.13.1_skip-failing-singular-grad-test.patch',
-    'PyTorch-1.13.1_skip-tests-without-fbgemm.patch',
     'PyTorch-2.0.1_avoid-test_quantization-failures.patch',
-    'PyTorch-2.0.1_fix-skip-decorators.patch',
-    'PyTorch-2.0.1_fix-vsx-loadu.patch',
     'PyTorch-2.0.1_skip-failing-gradtest.patch',
     'PyTorch-2.0.1_skip-test_shuffle_reproducibility.patch',
     'PyTorch-2.0.1_skip-tests-skipped-in-subprocess.patch',
-    'PyTorch-2.1.0_fix-vsx-vector-shift-functions.patch',
-    'PyTorch-2.1.0_increase-tolerance-functorch-test_vmapvjpvjp.patch',
     'PyTorch-2.1.0_remove-test-requiring-online-access.patch',
-    'PyTorch-2.1.0_skip-diff-test-on-ppc.patch',
     'PyTorch-2.1.0_skip-dynamo-test_predispatch.patch',
-    'PyTorch-2.1.0_skip-test_jvp_linalg_det_singular.patch',
-    'PyTorch-2.1.2_skip-cpu_repro-test-without-vectorization.patch',
     'PyTorch-2.1.2_workaround_dynamo_failure_without_nnpack.patch',
     'PyTorch-2.3.0_disable_test_linear_package_if_no_half_types_are_available.patch',
-    'PyTorch-2.3.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch',
-    'PyTorch-2.3.0_skip-test_init_from_local_shards.patch',
-    'PyTorch-2.3.0_no-cuda-stubs-rpath.patch',
-    'PyTorch-2.3.0_disable-gcc12-warning.patch',
-    'PyTorch-2.3.0_fix-test_extension_backend-without-vectorization.patch',
-    'PyTorch-2.3.0_disable_tests_which_need_network_download.patch',
-    'PyTorch-2.3.0_avoid_caffe2_test_cpp_jit.patch',
-    'PyTorch-2.3.0_fix_missing_masked_load_for_int_type.patch',
-    'PyTorch-2.3.0_skip_test_var_mean_differentiable.patch',
-    'PyTorch-2.3.0_skip_test_sdpa_nn_functional_scaled_dot_product_attention_cpu.patch',
     'PyTorch-2.3.0_fix-mkldnn-avx512-f32-bias.patch',
+    'PyTorch-2.3.0_skip_test_var_mean_differentiable.patch',
+    'PyTorch-2.6.0_add-checkfunctionexists-include.patch',
+    'PyTorch-2.6.0_avoid_caffe2_test_cpp_jit.patch',
+    'PyTorch-2.6.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch',
+    'PyTorch-2.6.0_disable_tests_which_need_network_download.patch',
+    'PyTorch-2.6.0_disable-gcc12-warnings.patch',
+    'PyTorch-2.6.0_fix-accuracy-issues-in-linalg_solve.patch',
+    'PyTorch-2.6.0_fix-distributed-tests-without-gpus.patch',
+    'PyTorch-2.6.0_fix-edge-case-causing-test_trigger_bisect_on_error-failure.patch',
+    'PyTorch-2.6.0_fix-ExcTests.test_trigger_on_error.patch',
+    'PyTorch-2.6.0_fix-flaky-test_aot_export_with_torch_cond.patch',
+    'PyTorch-2.6.0_fix-inductor-device-interface.patch',
+    'PyTorch-2.6.0_fix-server-in-test_control_plane.patch',
+    'PyTorch-2.6.0_fix-skip-decorators.patch',
+    'PyTorch-2.6.0_fix-test_autograd_cpp_node_saved_float.patch',
+    'PyTorch-2.6.0_fix-test_linear_with_embedding.patch',
+    'PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch',
+    'PyTorch-2.6.0_fix-test_public_bindings.patch',
+    'PyTorch-2.6.0_fix-test_unbacked_bindings_for_divisible_u_symint.patch',
+    'PyTorch-2.6.0_fix-vsx-vector-shift-functions.patch',
+    'PyTorch-2.6.0_fix-xnnpack-float16-convert.patch',
+    'PyTorch-2.6.0_increase-tolerance-test_aotdispatch-matmul.patch',
+    'PyTorch-2.6.0_increase-tolerance-test_quick-baddbmm.patch',
+    'PyTorch-2.6.0_increase-tolerance-test_vmap_autograd_grad.patch',
+    'PyTorch-2.6.0_remove-test_slice_with_floordiv.patch',
+    'PyTorch-2.6.0_skip-diff-test-on-ppc.patch',
+    'PyTorch-2.6.0_skip-test_checkpoint_wrapper_parity-on-cpu.patch',
+    'PyTorch-2.6.0_skip-test_init_from_local_shards.patch',
+    'PyTorch-2.6.0_skip-test_jvp_linalg_det_singular.patch',
+    'PyTorch-2.6.0_skip-test-requiring-MKL.patch',
+    'PyTorch-2.6.0_skip-test_segfault.patch',
+    'PyTorch-2.6.0_skip-tests-without-fbgemm.patch',
 ]
 checksums = [
-    {'pytorch-v2.3.0.tar.gz': '69579513b26261bbab32e13b7efc99ad287fcf3103087f2d4fdf1adacd25316f'},
+    {'pytorch-v2.6.0.tar.gz': '3005690eb7b083c443a38c7657938af63902f524ad87a6c83f1aca38c77e3b57'},
     {'PyTorch-1.7.0_disable-dev-shm-test.patch': '622cb1eaeadc06e13128a862d9946bcc1f1edd3d02b259c56a9aecc4d5406b8a'},
     {'PyTorch-1.12.1_add-hypothesis-suppression.patch':
      'e71ffb94ebe69f580fa70e0de84017058325fdff944866d6bd03463626edc32c'},
-    {'PyTorch-1.12.1_fix-test_cpp_extensions_jit.patch':
-     '1efc9850c431d702e9117d4766277d3f88c5c8b3870997c9974971bce7f2ab83'},
     {'PyTorch-1.12.1_fix-TestTorch.test_to.patch': '75f27987c3f25c501e719bd2b1c70a029ae0ee28514a97fe447516aee02b1535'},
-    {'PyTorch-1.12.1_skip-test_round_robin.patch': '63d4849b78605aa088fdff695637d9473ea60dee603a3ff7f788690d70c55349'},
     {'PyTorch-1.13.1_fix-gcc-12-warning-in-fbgemm.patch':
      '5c7be91a6096083a0b1315efe0001537499c600f1f569953c6a2c7f4cc1d0910'},
-    {'PyTorch-1.13.1_fix-protobuf-dependency.patch':
-     '8bd755a0cab7233a243bc65ca57c9630dfccdc9bf8c9792f0de4e07a644fcb00'},
-    {'PyTorch-1.13.1_fix-warning-in-test-cpp-api.patch':
-     'bdde0f2105215c95a54de64ec4b1a4520528510663174fef6d5b900eb1db3937'},
     {'PyTorch-1.13.1_skip-failing-singular-grad-test.patch':
      '72688a57b2bb617665ad1a1d5e362c5111ae912c10936bb38a089c0204729f48'},
-    {'PyTorch-1.13.1_skip-tests-without-fbgemm.patch':
-     '481e595f673baf8ae58b41697a6792b83048b0264aa79b422f48cd8c22948bb7'},
     {'PyTorch-2.0.1_avoid-test_quantization-failures.patch':
      '02e3f47e4ed1d7d6077e26f1ae50073dc2b20426269930b505f4aefe5d2f33cd'},
-    {'PyTorch-2.0.1_fix-skip-decorators.patch': '2039012cef45446065e1a2097839fe20bb29fe3c1dcc926c3695ebf29832e920'},
-    {'PyTorch-2.0.1_fix-vsx-loadu.patch': 'a0ffa61da2d47c6acd09aaf6d4791e527d8919a6f4f1aa7ed38454cdcadb1f72'},
     {'PyTorch-2.0.1_skip-failing-gradtest.patch': '8030bdec6ba49b057ab232d19a7f1a5e542e47e2ec340653a246ec9ed59f8bc1'},
     {'PyTorch-2.0.1_skip-test_shuffle_reproducibility.patch':
      '7047862abc1abaff62954da59700f36d4f39fcf83167a638183b1b7f8fec78ae'},
     {'PyTorch-2.0.1_skip-tests-skipped-in-subprocess.patch':
      '166c134573a95230e39b9ea09ece3ad8072f39d370c9a88fb2a1e24f6aaac2b5'},
-    {'PyTorch-2.1.0_fix-vsx-vector-shift-functions.patch':
-     '3793b4b878be1abe7791efcbd534774b87862cfe7dc4774ca8729b6cabb39e7e'},
-    {'PyTorch-2.1.0_increase-tolerance-functorch-test_vmapvjpvjp.patch':
-     'aef38adf1210d0c5455e91d7c7a9d9e5caad3ae568301e0ba9fc204309438e7b'},
     {'PyTorch-2.1.0_remove-test-requiring-online-access.patch':
      '35184b8c5a1b10f79e511cc25db3b8a5585a5d58b5d1aa25dd3d250200b14fd7'},
-    {'PyTorch-2.1.0_skip-diff-test-on-ppc.patch': '394157dbe565ffcbc1821cd63d05930957412156cc01e949ef3d3524176a1dda'},
     {'PyTorch-2.1.0_skip-dynamo-test_predispatch.patch':
      '6298daf9ddaa8542850eee9ea005f28594ab65b1f87af43d8aeca1579a8c4354'},
-    {'PyTorch-2.1.0_skip-test_jvp_linalg_det_singular.patch':
-     '5229ca88a71db7667a90ddc0b809b2c817698bd6e9c5aaabd73d3173cf9b99fe'},
-    {'PyTorch-2.1.2_skip-cpu_repro-test-without-vectorization.patch':
-     '7ace835af60c58d9e0754a34c19d4b9a0c3a531f19e5d0eba8e2e49206eaa7eb'},
     {'PyTorch-2.1.2_workaround_dynamo_failure_without_nnpack.patch':
      'fb96eefabf394617bbb3fbd3a7a7c1aa5991b3836edc2e5d2a30e708bfe49ba1'},
     {'PyTorch-2.3.0_disable_test_linear_package_if_no_half_types_are_available.patch':
      '23416f2d9d5226695ec3fbea0671e3650c655c19deefd3f0f8ddab5afa50f485'},
-    {'PyTorch-2.3.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch':
-     '0dcbdfde6752c3ff54c5376f521b4a742167669feb7f0f1d4e1d4d55f72b664f'},
-    {'PyTorch-2.3.0_skip-test_init_from_local_shards.patch':
-     '90ed9c2870f57ee6dc032d00873a37e2217a2b92a13035ded1c25ad5306455f2'},
-    {'PyTorch-2.3.0_no-cuda-stubs-rpath.patch':
-     '7ba26824b5def7379cff02ae821a080698e6affea0da45bc846e9ecb89939cb1'},
-    {'PyTorch-2.3.0_disable-gcc12-warning.patch':
-     'a8a624e1a2a5f4c82610173e50bd0f853e49bd5621b432f5aac689f9f6eb1514'},
-    {'PyTorch-2.3.0_fix-test_extension_backend-without-vectorization.patch':
-     '36aa2d5ba175be17f4e996f4fb2d544fe477d4a0bd0644cd59a85063779afc8e'},
-    {'PyTorch-2.3.0_disable_tests_which_need_network_download.patch':
-     'b7fd1a5135dfd4098cdc054182f7bf84a23ac98462a00477712182b5442da855'},
-    {'PyTorch-2.3.0_avoid_caffe2_test_cpp_jit.patch':
-     '041adcd91d994b8c2ab57d227f081cd57e572c157117b37171e1eb8eb576f8fc'},
-    {'PyTorch-2.3.0_fix_missing_masked_load_for_int_type.patch':
-     'aa6ff764f3f7bf84372a8a257fe1b4ae6dc4b9744ad35f0f9015f2696c62a41e'},
-    {'PyTorch-2.3.0_skip_test_var_mean_differentiable.patch':
-     '9703fd0f1fca8916f6d79d83e9a7efe8e3f717362a5fdaa8f5d9da90d0c75018'},
-    {'PyTorch-2.3.0_skip_test_sdpa_nn_functional_scaled_dot_product_attention_cpu.patch':
-     '7955f2655db3da18606574fdcbc5990be24098f49ad1db5e86ea756ea1cc506f'},
     {'PyTorch-2.3.0_fix-mkldnn-avx512-f32-bias.patch':
      'ee07d21c3ac7aeb0bd0e39507b18a417b9125284a529102929c4b5c6727c2976'},
+    {'PyTorch-2.3.0_skip_test_var_mean_differentiable.patch':
+     '9703fd0f1fca8916f6d79d83e9a7efe8e3f717362a5fdaa8f5d9da90d0c75018'},
+    {'PyTorch-2.6.0_add-checkfunctionexists-include.patch':
+     '93579e35e946fb06025a50c42f3625ed8b8ac9f503a963cc23767e2c8869f0ea'},
+    {'PyTorch-2.6.0_avoid_caffe2_test_cpp_jit.patch':
+     '88d03d90359bc1fe3cfa3562624d4fbfd4c6654c9199c556ca912ac55289ce55'},
+    {'PyTorch-2.6.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch':
+     '74db866787f1e666ed3b35db5204f05a0ba8d989fb23057a72dd07928388dc46'},
+    {'PyTorch-2.6.0_disable_tests_which_need_network_download.patch':
+     'fe76129811e4eb24d0e12c397335a4c7971b0c4e48ce9cdb9169f3ef9de7aac4'},
+    {'PyTorch-2.6.0_disable-gcc12-warnings.patch': '892643650788b743106ebe4e70c68be42a756eba797f0f79e31708d6e008a620'},
+    {'PyTorch-2.6.0_fix-accuracy-issues-in-linalg_solve.patch':
+     'a6b1cfe8f03ad5b17437e04e6a0369a25fcc79eed939ce6912ceca1c0ab0f444'},
+    {'PyTorch-2.6.0_fix-distributed-tests-without-gpus.patch':
+     '011cffc098b6818eb160b6bec2e671dec46cb2a8457ce32144ea01cc9ed4290a'},
+    {'PyTorch-2.6.0_fix-edge-case-causing-test_trigger_bisect_on_error-failure.patch':
+     'fd918fa510bf04c95f3bcc2f4abea417632a0fefb278154ec95207ca0d1719ed'},
+    {'PyTorch-2.6.0_fix-ExcTests.test_trigger_on_error.patch':
+     '445472d43a61523b2ed169023f5f6db197bc2df8408f59e6254e55f5cb1d3a11'},
+    {'PyTorch-2.6.0_fix-flaky-test_aot_export_with_torch_cond.patch':
+     '79cf77a795e06c4c3206a998ce8f4a92072f79736803008ede65e5ec2f204bfc'},
+    {'PyTorch-2.6.0_fix-inductor-device-interface.patch':
+     'e8e6af1ea5f01568c23127d4f83aacb482ec9005ba558b68763748a581bcc5bc'},
+    {'PyTorch-2.6.0_fix-server-in-test_control_plane.patch':
+     '1337689ff28ecaa8d1d0edf60d322bcdd7846fec040925325d357b19eb6e4342'},
+    {'PyTorch-2.6.0_fix-skip-decorators.patch': 'ec1ba1ef2a2b2c6753a0b35d10c6af0457fc90fe98e2f77979745d9f79d79c86'},
+    {'PyTorch-2.6.0_fix-test_autograd_cpp_node_saved_float.patch':
+     '928c4b1dc16f3d4a7bec29d8749b89ebd41488845938e2514c7fa8c048950e33'},
+    {'PyTorch-2.6.0_fix-test_linear_with_embedding.patch':
+     '56c053de7cfaa2f9898c3b036a185b499f5d44a7b4cd0442c45a8c94928322bf'},
+    {'PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch':
+     '8cf9e5d434eb8d3b81400622ca23714c7002a0b835e7e08b384b84408c7ed085'},
+    {'PyTorch-2.6.0_fix-test_public_bindings.patch':
+     '066d88acd8156ed3f91b6a8e924de57f8aef944aa1bf67dc453b830ee1c26094'},
+    {'PyTorch-2.6.0_fix-test_unbacked_bindings_for_divisible_u_symint.patch':
+     '5f5ce1e275888cd6a057a0769fffaa9e49dde003ba191fd70b0265d8c6259a9b'},
+    {'PyTorch-2.6.0_fix-vsx-vector-shift-functions.patch':
+     '82ce0b48e3b7c3dfd3a2ba915f4675d5c3a6d149646e1e0d6a29eedbbaecc8bd'},
+    {'PyTorch-2.6.0_fix-xnnpack-float16-convert.patch':
+     'a6fcb475040c6fed2c0ec8b3f9c1e9fb964220413e84c8f2ee4092770ee6ac7d'},
+    {'PyTorch-2.6.0_increase-tolerance-test_aotdispatch-matmul.patch':
+     'c1c6ea41504e4479d258225ecefc7e9c5726934601610904ae555501a11e9109'},
+    {'PyTorch-2.6.0_increase-tolerance-test_quick-baddbmm.patch':
+     '9850facdfb5d98451249570788217ede07466cae9ba52cd03afd3ec803ba33c9'},
+    {'PyTorch-2.6.0_increase-tolerance-test_vmap_autograd_grad.patch':
+     '8d5eb53bb0a1456af333ae646c860033d6dd037bd9152601a200ca5c10ebf3cb'},
+    {'PyTorch-2.6.0_remove-test_slice_with_floordiv.patch':
+     '1b7ff59a595b9ebbc042d8ff53e3f6c72a1d3b04fb82228f4433473f28623f9b'},
+    {'PyTorch-2.6.0_skip-diff-test-on-ppc.patch': '6f2f87cad1b0ab8c5a0c7b3f7fbc14e4bdfbe61da26a3934ded9dda7fe368c74'},
+    {'PyTorch-2.6.0_skip-test_checkpoint_wrapper_parity-on-cpu.patch':
+     '600f74de167b6fea4d849229de6d653dc616093b456962729222d6bfa767a8e8'},
+    {'PyTorch-2.6.0_skip-test_init_from_local_shards.patch':
+     '222383195f6a3b7c545ffeadb4dd469b9f3361b42c0866de3d3f0f91f8fbe777'},
+    {'PyTorch-2.6.0_skip-test_jvp_linalg_det_singular.patch':
+     '84abe4769005bbb794852a1b3de370977c9efa351bac4b4775831a02bb18d898'},
+    {'PyTorch-2.6.0_skip-test-requiring-MKL.patch':
+     'f1c9b1c77b09d59317fd52d390e7d948a147325b927ad6373c1fa1d1d6ea1ea8'},
+    {'PyTorch-2.6.0_skip-test_segfault.patch': '26806bd62e6b61b56ebaa52d68ca44c415a28124f684bd2fb373557ada68ef52'},
+    {'PyTorch-2.6.0_skip-tests-without-fbgemm.patch':
+     'ed35099de94a14322a879066da048ec9bc565dc81287b4adc4fec46f9afe90cf'},
 ]
 
 osdependencies = [OS_PKG_IBVERBS_DEV]
@@ -122,9 +152,11 @@ builddependencies = [
     ('CMake', '3.27.6'),
     ('hypothesis', '6.90.0'),
     # For tests
+    ('parameterized', '0.9.0'),
     ('pytest-flakefinder', '1.1.0'),
     ('pytest-rerunfailures', '14.0'),
     ('pytest-shard', '0.1.2'),
+    ('pytest-subtests', '0.13.1'),
     ('tlparse', '0.3.5'),
     ('optree', '0.13.0'),
     ('unittest-xml-reporting', '3.1.0'),
@@ -136,6 +168,7 @@ dependencies = [
     ('Python-bundle-PyPI', '2023.10'),
     ('protobuf', '25.3'),
     ('protobuf-python', '4.25.3'),
+    ('PuLP', '2.9.0'),
     ('pybind11', '2.11.1'),
     ('SciPy-bundle', '2023.11'),
     ('PyYAML', '6.0.1'),
@@ -146,6 +179,7 @@ dependencies = [
     ('Pillow', '10.2.0'),
     ('expecttest', '0.2.1'),
     ('networkx', '3.2.1'),
+    ('typing-extensions', '4.10.0'),
     ('sympy', '1.12'),
     ('Z3', '4.13.0',),
 ]
@@ -156,24 +190,14 @@ excluded_tests = {
     '': [
         # This test seems to take too long on NVIDIA Ampere at least.
         'distributed/test_distributed_spawn',
-        # Broken on CUDA 11.6/11.7: https://github.com/pytorch/pytorch/issues/75375
-        'distributions/test_constraints',
         # no xdoctest
         'doctests',
-        # failing on broadwell
-        # See https://github.com/easybuilders/easybuild-easyconfigs/issues/17712
-        'test_native_mha',
         # intermittent failures on various systems
         # See https://github.com/easybuilders/easybuild-easyconfigs/issues/17712
         'distributed/rpc/test_tensorpipe_agent',
         # This test is expected to fail when run in their CI, but won't in our case.
         # It just checks for a "CI" env variable
         'test_ci_sanity_check_fail',
-        # This fails consistently and is disabled upstream
-        # See https://github.com/pytorch/pytorch/issues/100152 and
-        # https://github.com/pytorch/pytorch/pull/124712
-        'test_cpp_extensions_open_device_registration',
-
     ]
 }
 
Diff against PyTorch-2.1.2-foss-2023b.eb

easybuild/easyconfigs/p/PyTorch/PyTorch-2.1.2-foss-2023b.eb

diff --git a/easybuild/easyconfigs/p/PyTorch/PyTorch-2.1.2-foss-2023b.eb b/easybuild/easyconfigs/p/PyTorch/PyTorch-2.6.0-foss-2023b.eb
index b4b25bd33e..c0b3095961 100644
--- a/easybuild/easyconfigs/p/PyTorch/PyTorch-2.1.2-foss-2023b.eb
+++ b/easybuild/easyconfigs/p/PyTorch/PyTorch-2.6.0-foss-2023b.eb
@@ -1,5 +1,5 @@
 name = 'PyTorch'
-version = '2.1.2'
+version = '2.6.0'
 
 homepage = 'https://pytorch.org/'
 description = """Tensors and Dynamic neural networks in Python with strong GPU acceleration.
@@ -11,115 +11,139 @@ source_urls = [GITHUB_RELEASE]
 sources = ['%(namelower)s-v%(version)s.tar.gz']
 patches = [
     'PyTorch-1.7.0_disable-dev-shm-test.patch',
-    'PyTorch-1.11.1_skip-test_init_from_local_shards.patch',
     'PyTorch-1.12.1_add-hypothesis-suppression.patch',
-    'PyTorch-1.12.1_fix-test_cpp_extensions_jit.patch',
     'PyTorch-1.12.1_fix-TestTorch.test_to.patch',
-    'PyTorch-1.12.1_skip-test_round_robin.patch',
     'PyTorch-1.13.1_fix-gcc-12-warning-in-fbgemm.patch',
-    'PyTorch-1.13.1_fix-protobuf-dependency.patch',
-    'PyTorch-1.13.1_fix-warning-in-test-cpp-api.patch',
     'PyTorch-1.13.1_skip-failing-singular-grad-test.patch',
-    'PyTorch-1.13.1_skip-tests-without-fbgemm.patch',
     'PyTorch-2.0.1_avoid-test_quantization-failures.patch',
-    'PyTorch-2.0.1_fix-skip-decorators.patch',
-    'PyTorch-2.0.1_fix-ub-in-inductor-codegen.patch',
-    'PyTorch-2.0.1_fix-vsx-loadu.patch',
-    'PyTorch-2.0.1_no-cuda-stubs-rpath.patch',
     'PyTorch-2.0.1_skip-failing-gradtest.patch',
     'PyTorch-2.0.1_skip-test_shuffle_reproducibility.patch',
     'PyTorch-2.0.1_skip-tests-skipped-in-subprocess.patch',
-    'PyTorch-2.1.0_disable-gcc12-warning.patch',
-    'PyTorch-2.1.0_fix-bufferoverflow-in-oneDNN.patch',
-    'PyTorch-2.1.0_fix-test_numpy_torch_operators.patch',
-    'PyTorch-2.1.0_fix-validationError-output-test.patch',
-    'PyTorch-2.1.0_fix-vsx-vector-shift-functions.patch',
-    'PyTorch-2.1.0_increase-tolerance-functorch-test_vmapvjpvjp.patch',
-    'PyTorch-2.1.0_remove-sparse-csr-nnz-overflow-test.patch',
     'PyTorch-2.1.0_remove-test-requiring-online-access.patch',
-    'PyTorch-2.1.0_skip-diff-test-on-ppc.patch',
     'PyTorch-2.1.0_skip-dynamo-test_predispatch.patch',
-    'PyTorch-2.1.0_skip-test_jvp_linalg_det_singular.patch',
-    'PyTorch-2.1.0_skip-test_linear_fp32-without-MKL.patch',
-    'PyTorch-2.1.0_skip-test_wrap_bad.patch',
-    'PyTorch-2.1.2_fix-test_extension_backend-without-vectorization.patch',
-    'PyTorch-2.1.2_fix-test_memory_profiler.patch',
-    'PyTorch-2.1.2_fix-test_torchinductor-rounding.patch',
-    'PyTorch-2.1.2_fix-vsx-vector-abs.patch',
-    'PyTorch-2.1.2_fix-vsx-vector-div.patch',
-    'PyTorch-2.1.2_skip-cpu_repro-test-without-vectorization.patch',
-    'PyTorch-2.1.2_skip-memory-leak-test.patch',
     'PyTorch-2.1.2_workaround_dynamo_failure_without_nnpack.patch',
+    'PyTorch-2.3.0_disable_test_linear_package_if_no_half_types_are_available.patch',
+    'PyTorch-2.3.0_fix-mkldnn-avx512-f32-bias.patch',
+    'PyTorch-2.3.0_skip_test_var_mean_differentiable.patch',
+    'PyTorch-2.6.0_add-checkfunctionexists-include.patch',
+    'PyTorch-2.6.0_avoid_caffe2_test_cpp_jit.patch',
+    'PyTorch-2.6.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch',
+    'PyTorch-2.6.0_disable_tests_which_need_network_download.patch',
+    'PyTorch-2.6.0_disable-gcc12-warnings.patch',
+    'PyTorch-2.6.0_fix-accuracy-issues-in-linalg_solve.patch',
+    'PyTorch-2.6.0_fix-distributed-tests-without-gpus.patch',
+    'PyTorch-2.6.0_fix-edge-case-causing-test_trigger_bisect_on_error-failure.patch',
+    'PyTorch-2.6.0_fix-ExcTests.test_trigger_on_error.patch',
+    'PyTorch-2.6.0_fix-flaky-test_aot_export_with_torch_cond.patch',
+    'PyTorch-2.6.0_fix-inductor-device-interface.patch',
+    'PyTorch-2.6.0_fix-server-in-test_control_plane.patch',
+    'PyTorch-2.6.0_fix-skip-decorators.patch',
+    'PyTorch-2.6.0_fix-test_autograd_cpp_node_saved_float.patch',
+    'PyTorch-2.6.0_fix-test_linear_with_embedding.patch',
+    'PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch',
+    'PyTorch-2.6.0_fix-test_public_bindings.patch',
+    'PyTorch-2.6.0_fix-test_unbacked_bindings_for_divisible_u_symint.patch',
+    'PyTorch-2.6.0_fix-vsx-vector-shift-functions.patch',
+    'PyTorch-2.6.0_fix-xnnpack-float16-convert.patch',
+    'PyTorch-2.6.0_increase-tolerance-test_aotdispatch-matmul.patch',
+    'PyTorch-2.6.0_increase-tolerance-test_quick-baddbmm.patch',
+    'PyTorch-2.6.0_increase-tolerance-test_vmap_autograd_grad.patch',
+    'PyTorch-2.6.0_remove-test_slice_with_floordiv.patch',
+    'PyTorch-2.6.0_skip-diff-test-on-ppc.patch',
+    'PyTorch-2.6.0_skip-test_checkpoint_wrapper_parity-on-cpu.patch',
+    'PyTorch-2.6.0_skip-test_init_from_local_shards.patch',
+    'PyTorch-2.6.0_skip-test_jvp_linalg_det_singular.patch',
+    'PyTorch-2.6.0_skip-test-requiring-MKL.patch',
+    'PyTorch-2.6.0_skip-test_segfault.patch',
+    'PyTorch-2.6.0_skip-tests-without-fbgemm.patch',
 ]
 checksums = [
-    {'pytorch-v2.1.2.tar.gz': '85effbcce037bffa290aea775c9a4bad5f769cb229583450c40055501ee1acd7'},
+    {'pytorch-v2.6.0.tar.gz': '3005690eb7b083c443a38c7657938af63902f524ad87a6c83f1aca38c77e3b57'},
     {'PyTorch-1.7.0_disable-dev-shm-test.patch': '622cb1eaeadc06e13128a862d9946bcc1f1edd3d02b259c56a9aecc4d5406b8a'},
-    {'PyTorch-1.11.1_skip-test_init_from_local_shards.patch':
-     '4aeb1b0bc863d4801b0095cbce69f8794066748f0df27c6aaaf729c5ecba04b7'},
     {'PyTorch-1.12.1_add-hypothesis-suppression.patch':
      'e71ffb94ebe69f580fa70e0de84017058325fdff944866d6bd03463626edc32c'},
-    {'PyTorch-1.12.1_fix-test_cpp_extensions_jit.patch':
-     '1efc9850c431d702e9117d4766277d3f88c5c8b3870997c9974971bce7f2ab83'},
     {'PyTorch-1.12.1_fix-TestTorch.test_to.patch': '75f27987c3f25c501e719bd2b1c70a029ae0ee28514a97fe447516aee02b1535'},
-    {'PyTorch-1.12.1_skip-test_round_robin.patch': '63d4849b78605aa088fdff695637d9473ea60dee603a3ff7f788690d70c55349'},
     {'PyTorch-1.13.1_fix-gcc-12-warning-in-fbgemm.patch':
      '5c7be91a6096083a0b1315efe0001537499c600f1f569953c6a2c7f4cc1d0910'},
-    {'PyTorch-1.13.1_fix-protobuf-dependency.patch':
-     '8bd755a0cab7233a243bc65ca57c9630dfccdc9bf8c9792f0de4e07a644fcb00'},
-    {'PyTorch-1.13.1_fix-warning-in-test-cpp-api.patch':
-     'bdde0f2105215c95a54de64ec4b1a4520528510663174fef6d5b900eb1db3937'},
     {'PyTorch-1.13.1_skip-failing-singular-grad-test.patch':
      '72688a57b2bb617665ad1a1d5e362c5111ae912c10936bb38a089c0204729f48'},
-    {'PyTorch-1.13.1_skip-tests-without-fbgemm.patch':
-     '481e595f673baf8ae58b41697a6792b83048b0264aa79b422f48cd8c22948bb7'},
     {'PyTorch-2.0.1_avoid-test_quantization-failures.patch':
      '02e3f47e4ed1d7d6077e26f1ae50073dc2b20426269930b505f4aefe5d2f33cd'},
-    {'PyTorch-2.0.1_fix-skip-decorators.patch': '2039012cef45446065e1a2097839fe20bb29fe3c1dcc926c3695ebf29832e920'},
-    {'PyTorch-2.0.1_fix-ub-in-inductor-codegen.patch':
-     '1b37194f55ae678f3657b8728dfb896c18ffe8babe90987ce468c4fa9274f357'},
-    {'PyTorch-2.0.1_fix-vsx-loadu.patch': 'a0ffa61da2d47c6acd09aaf6d4791e527d8919a6f4f1aa7ed38454cdcadb1f72'},
-    {'PyTorch-2.0.1_no-cuda-stubs-rpath.patch': '8902e58a762240f24cdbf0182e99ccdfc2a93492869352fcb4ca0ec7e407f83a'},
     {'PyTorch-2.0.1_skip-failing-gradtest.patch': '8030bdec6ba49b057ab232d19a7f1a5e542e47e2ec340653a246ec9ed59f8bc1'},
     {'PyTorch-2.0.1_skip-test_shuffle_reproducibility.patch':
      '7047862abc1abaff62954da59700f36d4f39fcf83167a638183b1b7f8fec78ae'},
     {'PyTorch-2.0.1_skip-tests-skipped-in-subprocess.patch':
      '166c134573a95230e39b9ea09ece3ad8072f39d370c9a88fb2a1e24f6aaac2b5'},
-    {'PyTorch-2.1.0_disable-gcc12-warning.patch': 'c858b8db0010f41005dc06f9a50768d0d3dc2d2d499ccbdd5faf8a518869a421'},
-    {'PyTorch-2.1.0_fix-bufferoverflow-in-oneDNN.patch':
-     'b15b1291a3c37bf6a4982cfbb3483f693acb46a67bc0912b383fd98baf540ccf'},
-    {'PyTorch-2.1.0_fix-test_numpy_torch_operators.patch':
-     '84bb51a719abc677031a7a3dfe4382ff098b0cbd8b39b8bed2a7fa03f80ac1e9'},
-    {'PyTorch-2.1.0_fix-validationError-output-test.patch':
-     '7eba0942afb121ed92fac30d1529447d892a89eb3d53c565f8e9d480e95f692b'},
-    {'PyTorch-2.1.0_fix-vsx-vector-shift-functions.patch':
-     '3793b4b878be1abe7791efcbd534774b87862cfe7dc4774ca8729b6cabb39e7e'},
-    {'PyTorch-2.1.0_increase-tolerance-functorch-test_vmapvjpvjp.patch':
-     'aef38adf1210d0c5455e91d7c7a9d9e5caad3ae568301e0ba9fc204309438e7b'},
-    {'PyTorch-2.1.0_remove-sparse-csr-nnz-overflow-test.patch':
-     '0ac36411e76506b3354c85a8a1260987f66af947ee52ffc64230aee1fa02ea8b'},
     {'PyTorch-2.1.0_remove-test-requiring-online-access.patch':
      '35184b8c5a1b10f79e511cc25db3b8a5585a5d58b5d1aa25dd3d250200b14fd7'},
-    {'PyTorch-2.1.0_skip-diff-test-on-ppc.patch': '394157dbe565ffcbc1821cd63d05930957412156cc01e949ef3d3524176a1dda'},
     {'PyTorch-2.1.0_skip-dynamo-test_predispatch.patch':
      '6298daf9ddaa8542850eee9ea005f28594ab65b1f87af43d8aeca1579a8c4354'},
-    {'PyTorch-2.1.0_skip-test_jvp_linalg_det_singular.patch':
-     '5229ca88a71db7667a90ddc0b809b2c817698bd6e9c5aaabd73d3173cf9b99fe'},
-    {'PyTorch-2.1.0_skip-test_linear_fp32-without-MKL.patch':
-     '5dcc79883b6e3ec0a281a8e110db5e0a5880de843bb05653589891f16473ead5'},
-    {'PyTorch-2.1.0_skip-test_wrap_bad.patch': 'b8583125ee94e553b6f77c4ab4bfa812b89416175dc7e9b7390919f3b485cb63'},
-    {'PyTorch-2.1.2_fix-test_extension_backend-without-vectorization.patch':
-     'cd1455495886a7d6b2d30d48736eb0103fded21e2e36de6baac719b9c52a1c92'},
-    {'PyTorch-2.1.2_fix-test_memory_profiler.patch':
-     '30b0c9355636c0ab3dedae02399789053825dc3835b4d7dac6e696767772b1ce'},
-    {'PyTorch-2.1.2_fix-test_torchinductor-rounding.patch':
-     'a0ef99192ee2ad1509c78a8377023d5be2b5fddb16f84063b7c9a0b53d979090'},
-    {'PyTorch-2.1.2_fix-vsx-vector-abs.patch': 'd67d32407faed7dc1dbab4bba0e2f7de36c3db04560ced35c94caf8d84ade886'},
-    {'PyTorch-2.1.2_fix-vsx-vector-div.patch': '11f497a6892eb49b249a15320e4218e0d7ac8ae4ce67de39e4a018a064ca1acc'},
-    {'PyTorch-2.1.2_skip-cpu_repro-test-without-vectorization.patch':
-     '7ace835af60c58d9e0754a34c19d4b9a0c3a531f19e5d0eba8e2e49206eaa7eb'},
-    {'PyTorch-2.1.2_skip-memory-leak-test.patch': '8d9841208e8a00a498295018aead380c360cf56e500ef23ca740adb5b36de142'},
     {'PyTorch-2.1.2_workaround_dynamo_failure_without_nnpack.patch':
      'fb96eefabf394617bbb3fbd3a7a7c1aa5991b3836edc2e5d2a30e708bfe49ba1'},
+    {'PyTorch-2.3.0_disable_test_linear_package_if_no_half_types_are_available.patch':
+     '23416f2d9d5226695ec3fbea0671e3650c655c19deefd3f0f8ddab5afa50f485'},
+    {'PyTorch-2.3.0_fix-mkldnn-avx512-f32-bias.patch':
+     'ee07d21c3ac7aeb0bd0e39507b18a417b9125284a529102929c4b5c6727c2976'},
+    {'PyTorch-2.3.0_skip_test_var_mean_differentiable.patch':
+     '9703fd0f1fca8916f6d79d83e9a7efe8e3f717362a5fdaa8f5d9da90d0c75018'},
+    {'PyTorch-2.6.0_add-checkfunctionexists-include.patch':
+     '93579e35e946fb06025a50c42f3625ed8b8ac9f503a963cc23767e2c8869f0ea'},
+    {'PyTorch-2.6.0_avoid_caffe2_test_cpp_jit.patch':
+     '88d03d90359bc1fe3cfa3562624d4fbfd4c6654c9199c556ca912ac55289ce55'},
+    {'PyTorch-2.6.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch':
+     '74db866787f1e666ed3b35db5204f05a0ba8d989fb23057a72dd07928388dc46'},
+    {'PyTorch-2.6.0_disable_tests_which_need_network_download.patch':
+     'fe76129811e4eb24d0e12c397335a4c7971b0c4e48ce9cdb9169f3ef9de7aac4'},
+    {'PyTorch-2.6.0_disable-gcc12-warnings.patch': '892643650788b743106ebe4e70c68be42a756eba797f0f79e31708d6e008a620'},
+    {'PyTorch-2.6.0_fix-accuracy-issues-in-linalg_solve.patch':
+     'a6b1cfe8f03ad5b17437e04e6a0369a25fcc79eed939ce6912ceca1c0ab0f444'},
+    {'PyTorch-2.6.0_fix-distributed-tests-without-gpus.patch':
+     '011cffc098b6818eb160b6bec2e671dec46cb2a8457ce32144ea01cc9ed4290a'},
+    {'PyTorch-2.6.0_fix-edge-case-causing-test_trigger_bisect_on_error-failure.patch':
+     'fd918fa510bf04c95f3bcc2f4abea417632a0fefb278154ec95207ca0d1719ed'},
+    {'PyTorch-2.6.0_fix-ExcTests.test_trigger_on_error.patch':
+     '445472d43a61523b2ed169023f5f6db197bc2df8408f59e6254e55f5cb1d3a11'},
+    {'PyTorch-2.6.0_fix-flaky-test_aot_export_with_torch_cond.patch':
+     '79cf77a795e06c4c3206a998ce8f4a92072f79736803008ede65e5ec2f204bfc'},
+    {'PyTorch-2.6.0_fix-inductor-device-interface.patch':
+     'e8e6af1ea5f01568c23127d4f83aacb482ec9005ba558b68763748a581bcc5bc'},
+    {'PyTorch-2.6.0_fix-server-in-test_control_plane.patch':
+     '1337689ff28ecaa8d1d0edf60d322bcdd7846fec040925325d357b19eb6e4342'},
+    {'PyTorch-2.6.0_fix-skip-decorators.patch': 'ec1ba1ef2a2b2c6753a0b35d10c6af0457fc90fe98e2f77979745d9f79d79c86'},
+    {'PyTorch-2.6.0_fix-test_autograd_cpp_node_saved_float.patch':
+     '928c4b1dc16f3d4a7bec29d8749b89ebd41488845938e2514c7fa8c048950e33'},
+    {'PyTorch-2.6.0_fix-test_linear_with_embedding.patch':
+     '56c053de7cfaa2f9898c3b036a185b499f5d44a7b4cd0442c45a8c94928322bf'},
+    {'PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch':
+     '8cf9e5d434eb8d3b81400622ca23714c7002a0b835e7e08b384b84408c7ed085'},
+    {'PyTorch-2.6.0_fix-test_public_bindings.patch':
+     '066d88acd8156ed3f91b6a8e924de57f8aef944aa1bf67dc453b830ee1c26094'},
+    {'PyTorch-2.6.0_fix-test_unbacked_bindings_for_divisible_u_symint.patch':
+     '5f5ce1e275888cd6a057a0769fffaa9e49dde003ba191fd70b0265d8c6259a9b'},
+    {'PyTorch-2.6.0_fix-vsx-vector-shift-functions.patch':
+     '82ce0b48e3b7c3dfd3a2ba915f4675d5c3a6d149646e1e0d6a29eedbbaecc8bd'},
+    {'PyTorch-2.6.0_fix-xnnpack-float16-convert.patch':
+     'a6fcb475040c6fed2c0ec8b3f9c1e9fb964220413e84c8f2ee4092770ee6ac7d'},
+    {'PyTorch-2.6.0_increase-tolerance-test_aotdispatch-matmul.patch':
+     'c1c6ea41504e4479d258225ecefc7e9c5726934601610904ae555501a11e9109'},
+    {'PyTorch-2.6.0_increase-tolerance-test_quick-baddbmm.patch':
+     '9850facdfb5d98451249570788217ede07466cae9ba52cd03afd3ec803ba33c9'},
+    {'PyTorch-2.6.0_increase-tolerance-test_vmap_autograd_grad.patch':
+     '8d5eb53bb0a1456af333ae646c860033d6dd037bd9152601a200ca5c10ebf3cb'},
+    {'PyTorch-2.6.0_remove-test_slice_with_floordiv.patch':
+     '1b7ff59a595b9ebbc042d8ff53e3f6c72a1d3b04fb82228f4433473f28623f9b'},
+    {'PyTorch-2.6.0_skip-diff-test-on-ppc.patch': '6f2f87cad1b0ab8c5a0c7b3f7fbc14e4bdfbe61da26a3934ded9dda7fe368c74'},
+    {'PyTorch-2.6.0_skip-test_checkpoint_wrapper_parity-on-cpu.patch':
+     '600f74de167b6fea4d849229de6d653dc616093b456962729222d6bfa767a8e8'},
+    {'PyTorch-2.6.0_skip-test_init_from_local_shards.patch':
+     '222383195f6a3b7c545ffeadb4dd469b9f3361b42c0866de3d3f0f91f8fbe777'},
+    {'PyTorch-2.6.0_skip-test_jvp_linalg_det_singular.patch':
+     '84abe4769005bbb794852a1b3de370977c9efa351bac4b4775831a02bb18d898'},
+    {'PyTorch-2.6.0_skip-test-requiring-MKL.patch':
+     'f1c9b1c77b09d59317fd52d390e7d948a147325b927ad6373c1fa1d1d6ea1ea8'},
+    {'PyTorch-2.6.0_skip-test_segfault.patch': '26806bd62e6b61b56ebaa52d68ca44c415a28124f684bd2fb373557ada68ef52'},
+    {'PyTorch-2.6.0_skip-tests-without-fbgemm.patch':
+     'ed35099de94a14322a879066da048ec9bc565dc81287b4adc4fec46f9afe90cf'},
 ]
 
 osdependencies = [OS_PKG_IBVERBS_DEV]
@@ -128,9 +152,14 @@ builddependencies = [
     ('CMake', '3.27.6'),
     ('hypothesis', '6.90.0'),
     # For tests
+    ('parameterized', '0.9.0'),
     ('pytest-flakefinder', '1.1.0'),
     ('pytest-rerunfailures', '14.0'),
     ('pytest-shard', '0.1.2'),
+    ('pytest-subtests', '0.13.1'),
+    ('tlparse', '0.3.5'),
+    ('optree', '0.13.0'),
+    ('unittest-xml-reporting', '3.1.0'),
 ]
 
 dependencies = [
@@ -139,6 +168,7 @@ dependencies = [
     ('Python-bundle-PyPI', '2023.10'),
     ('protobuf', '25.3'),
     ('protobuf-python', '4.25.3'),
+    ('PuLP', '2.9.0'),
     ('pybind11', '2.11.1'),
     ('SciPy-bundle', '2023.11'),
     ('PyYAML', '6.0.1'),
@@ -149,6 +179,7 @@ dependencies = [
     ('Pillow', '10.2.0'),
     ('expecttest', '0.2.1'),
     ('networkx', '3.2.1'),
+    ('typing-extensions', '4.10.0'),
     ('sympy', '1.12'),
     ('Z3', '4.13.0',),
 ]
@@ -159,25 +190,24 @@ excluded_tests = {
     '': [
         # This test seems to take too long on NVIDIA Ampere at least.
         'distributed/test_distributed_spawn',
-        # Broken on CUDA 11.6/11.7: https://github.com/pytorch/pytorch/issues/75375
-        'distributions/test_constraints',
         # no xdoctest
         'doctests',
-        # failing on broadwell
-        # See https://github.com/easybuilders/easybuild-easyconfigs/issues/17712
-        'test_native_mha',
         # intermittent failures on various systems
         # See https://github.com/easybuilders/easybuild-easyconfigs/issues/17712
         'distributed/rpc/test_tensorpipe_agent',
+        # This test is expected to fail when run in their CI, but won't in our case.
+        # It just checks for a "CI" env variable
+        'test_ci_sanity_check_fail',
     ]
 }
 
-runtest = 'cd test && PYTHONUNBUFFERED=1 %(python)s run_test.py --continue-through-error  --verbose %(excluded_tests)s'
+local_test_opts = '--continue-through-error --pipe-logs --verbose %(excluded_tests)s'
+runtest = 'cd test && PYTHONUNBUFFERED=1 %(python)s run_test.py ' + local_test_opts
 
 # Especially test_quantization has a few corner cases that are triggered by the random input values,
 # those cannot be easily avoided, see https://github.com/pytorch/pytorch/issues/107030
 # So allow a low number of tests to fail as the tests "usually" succeed
-max_failed_tests = 2
+max_failed_tests = 6
 
 tests = ['PyTorch-check-cpp-extension.py']
 
Diff against PyTorch-2.1.2-foss-2023a-CUDA-12.1.1.eb

easybuild/easyconfigs/p/PyTorch/PyTorch-2.1.2-foss-2023a-CUDA-12.1.1.eb

diff --git a/easybuild/easyconfigs/p/PyTorch/PyTorch-2.1.2-foss-2023a-CUDA-12.1.1.eb b/easybuild/easyconfigs/p/PyTorch/PyTorch-2.6.0-foss-2023b.eb
index 6432bd1932..c0b3095961 100644
--- a/easybuild/easyconfigs/p/PyTorch/PyTorch-2.1.2-foss-2023a-CUDA-12.1.1.eb
+++ b/easybuild/easyconfigs/p/PyTorch/PyTorch-2.6.0-foss-2023b.eb
@@ -1,191 +1,187 @@
 name = 'PyTorch'
-version = '2.1.2'
-versionsuffix = '-CUDA-%(cudaver)s'
+version = '2.6.0'
 
 homepage = 'https://pytorch.org/'
 description = """Tensors and Dynamic neural networks in Python with strong GPU acceleration.
 PyTorch is a deep learning framework that puts Python first."""
 
-toolchain = {'name': 'foss', 'version': '2023a'}
+toolchain = {'name': 'foss', 'version': '2023b'}
 
 source_urls = [GITHUB_RELEASE]
 sources = ['%(namelower)s-v%(version)s.tar.gz']
 patches = [
     'PyTorch-1.7.0_disable-dev-shm-test.patch',
-    'PyTorch-1.11.1_skip-test_init_from_local_shards.patch',
     'PyTorch-1.12.1_add-hypothesis-suppression.patch',
-    'PyTorch-1.12.1_fix-test_cpp_extensions_jit.patch',
     'PyTorch-1.12.1_fix-TestTorch.test_to.patch',
-    'PyTorch-1.12.1_skip-test_round_robin.patch',
     'PyTorch-1.13.1_fix-gcc-12-warning-in-fbgemm.patch',
-    'PyTorch-1.13.1_fix-protobuf-dependency.patch',
-    'PyTorch-1.13.1_fix-warning-in-test-cpp-api.patch',
     'PyTorch-1.13.1_skip-failing-singular-grad-test.patch',
-    'PyTorch-1.13.1_skip-tests-without-fbgemm.patch',
     'PyTorch-2.0.1_avoid-test_quantization-failures.patch',
-    'PyTorch-2.0.1_fix-skip-decorators.patch',
-    'PyTorch-2.0.1_fix-ub-in-inductor-codegen.patch',
-    'PyTorch-2.0.1_fix-vsx-loadu.patch',
-    'PyTorch-2.0.1_no-cuda-stubs-rpath.patch',
     'PyTorch-2.0.1_skip-failing-gradtest.patch',
     'PyTorch-2.0.1_skip-test_shuffle_reproducibility.patch',
     'PyTorch-2.0.1_skip-tests-skipped-in-subprocess.patch',
-    'PyTorch-2.1.0_disable-gcc12-warning.patch',
-    'PyTorch-2.1.0_disable-cudnn-tf32-for-too-strict-tests.patch',
-    'PyTorch-2.1.0_fix-bufferoverflow-in-oneDNN.patch',
-    'PyTorch-2.1.0_fix-test_numpy_torch_operators.patch',
-    'PyTorch-2.1.0_fix-validationError-output-test.patch',
-    'PyTorch-2.1.0_fix-vsx-vector-shift-functions.patch',
-    'PyTorch-2.1.0_increase-tolerance-functorch-test_vmapvjpvjp.patch',
-    'PyTorch-2.1.0_remove-sparse-csr-nnz-overflow-test.patch',
     'PyTorch-2.1.0_remove-test-requiring-online-access.patch',
-    'PyTorch-2.1.0_skip-diff-test-on-ppc.patch',
     'PyTorch-2.1.0_skip-dynamo-test_predispatch.patch',
-    'PyTorch-2.1.0_skip-test_jvp_linalg_det_singular.patch',
-    'PyTorch-2.1.0_skip-test_linear_fp32-without-MKL.patch',
-    'PyTorch-2.1.0_skip-test_wrap_bad.patch',
-    'PyTorch-2.1.2_add-cuda-skip-markers.patch',
-    'PyTorch-2.1.2_fix-conj-mismatch-test-failures.patch',
-    'PyTorch-2.1.2_fix-device-mesh-check.patch',
-    'PyTorch-2.1.2_fix-locale-issue-in-nvrtcCompileProgram.patch',
-    'PyTorch-2.1.2_fix-test_extension_backend-without-vectorization.patch',
-    'PyTorch-2.1.2_fix-test_memory_profiler.patch',
-    'PyTorch-2.1.2_fix-test_torchinductor-rounding.patch',
-    'PyTorch-2.1.2_fix-vsx-vector-abs.patch',
-    'PyTorch-2.1.2_fix-vsx-vector-div.patch',
-    'PyTorch-2.1.2_fix-with_temp_dir-decorator.patch',
-    'PyTorch-2.1.2_fix-wrong-device-mesh-size-in-tests.patch',
-    'PyTorch-2.1.2_relax-cuda-tolerances.patch',
-    'PyTorch-2.1.2_remove-nccl-backend-default-without-gpus.patch',
-    'PyTorch-2.1.2_skip-cpu_repro-test-without-vectorization.patch',
-    'PyTorch-2.1.2_skip-failing-test_dtensor_ops-subtests.patch',
-    'PyTorch-2.1.2_skip-memory-leak-test.patch',
-    'PyTorch-2.1.2_skip-test_fsdp_tp_checkpoint_integration.patch',
     'PyTorch-2.1.2_workaround_dynamo_failure_without_nnpack.patch',
+    'PyTorch-2.3.0_disable_test_linear_package_if_no_half_types_are_available.patch',
+    'PyTorch-2.3.0_fix-mkldnn-avx512-f32-bias.patch',
+    'PyTorch-2.3.0_skip_test_var_mean_differentiable.patch',
+    'PyTorch-2.6.0_add-checkfunctionexists-include.patch',
+    'PyTorch-2.6.0_avoid_caffe2_test_cpp_jit.patch',
+    'PyTorch-2.6.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch',
+    'PyTorch-2.6.0_disable_tests_which_need_network_download.patch',
+    'PyTorch-2.6.0_disable-gcc12-warnings.patch',
+    'PyTorch-2.6.0_fix-accuracy-issues-in-linalg_solve.patch',
+    'PyTorch-2.6.0_fix-distributed-tests-without-gpus.patch',
+    'PyTorch-2.6.0_fix-edge-case-causing-test_trigger_bisect_on_error-failure.patch',
+    'PyTorch-2.6.0_fix-ExcTests.test_trigger_on_error.patch',
+    'PyTorch-2.6.0_fix-flaky-test_aot_export_with_torch_cond.patch',
+    'PyTorch-2.6.0_fix-inductor-device-interface.patch',
+    'PyTorch-2.6.0_fix-server-in-test_control_plane.patch',
+    'PyTorch-2.6.0_fix-skip-decorators.patch',
+    'PyTorch-2.6.0_fix-test_autograd_cpp_node_saved_float.patch',
+    'PyTorch-2.6.0_fix-test_linear_with_embedding.patch',
+    'PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch',
+    'PyTorch-2.6.0_fix-test_public_bindings.patch',
+    'PyTorch-2.6.0_fix-test_unbacked_bindings_for_divisible_u_symint.patch',
+    'PyTorch-2.6.0_fix-vsx-vector-shift-functions.patch',
+    'PyTorch-2.6.0_fix-xnnpack-float16-convert.patch',
+    'PyTorch-2.6.0_increase-tolerance-test_aotdispatch-matmul.patch',
+    'PyTorch-2.6.0_increase-tolerance-test_quick-baddbmm.patch',
+    'PyTorch-2.6.0_increase-tolerance-test_vmap_autograd_grad.patch',
+    'PyTorch-2.6.0_remove-test_slice_with_floordiv.patch',
+    'PyTorch-2.6.0_skip-diff-test-on-ppc.patch',
+    'PyTorch-2.6.0_skip-test_checkpoint_wrapper_parity-on-cpu.patch',
+    'PyTorch-2.6.0_skip-test_init_from_local_shards.patch',
+    'PyTorch-2.6.0_skip-test_jvp_linalg_det_singular.patch',
+    'PyTorch-2.6.0_skip-test-requiring-MKL.patch',
+    'PyTorch-2.6.0_skip-test_segfault.patch',
+    'PyTorch-2.6.0_skip-tests-without-fbgemm.patch',
 ]
 checksums = [
-    {'pytorch-v2.1.2.tar.gz': '85effbcce037bffa290aea775c9a4bad5f769cb229583450c40055501ee1acd7'},
+    {'pytorch-v2.6.0.tar.gz': '3005690eb7b083c443a38c7657938af63902f524ad87a6c83f1aca38c77e3b57'},
     {'PyTorch-1.7.0_disable-dev-shm-test.patch': '622cb1eaeadc06e13128a862d9946bcc1f1edd3d02b259c56a9aecc4d5406b8a'},
-    {'PyTorch-1.11.1_skip-test_init_from_local_shards.patch':
-     '4aeb1b0bc863d4801b0095cbce69f8794066748f0df27c6aaaf729c5ecba04b7'},
     {'PyTorch-1.12.1_add-hypothesis-suppression.patch':
      'e71ffb94ebe69f580fa70e0de84017058325fdff944866d6bd03463626edc32c'},
-    {'PyTorch-1.12.1_fix-test_cpp_extensions_jit.patch':
-     '1efc9850c431d702e9117d4766277d3f88c5c8b3870997c9974971bce7f2ab83'},
     {'PyTorch-1.12.1_fix-TestTorch.test_to.patch': '75f27987c3f25c501e719bd2b1c70a029ae0ee28514a97fe447516aee02b1535'},
-    {'PyTorch-1.12.1_skip-test_round_robin.patch': '63d4849b78605aa088fdff695637d9473ea60dee603a3ff7f788690d70c55349'},
     {'PyTorch-1.13.1_fix-gcc-12-warning-in-fbgemm.patch':
      '5c7be91a6096083a0b1315efe0001537499c600f1f569953c6a2c7f4cc1d0910'},
-    {'PyTorch-1.13.1_fix-protobuf-dependency.patch':
-     '8bd755a0cab7233a243bc65ca57c9630dfccdc9bf8c9792f0de4e07a644fcb00'},
-    {'PyTorch-1.13.1_fix-warning-in-test-cpp-api.patch':
-     'bdde0f2105215c95a54de64ec4b1a4520528510663174fef6d5b900eb1db3937'},
     {'PyTorch-1.13.1_skip-failing-singular-grad-test.patch':
      '72688a57b2bb617665ad1a1d5e362c5111ae912c10936bb38a089c0204729f48'},
-    {'PyTorch-1.13.1_skip-tests-without-fbgemm.patch':
-     '481e595f673baf8ae58b41697a6792b83048b0264aa79b422f48cd8c22948bb7'},
     {'PyTorch-2.0.1_avoid-test_quantization-failures.patch':
      '02e3f47e4ed1d7d6077e26f1ae50073dc2b20426269930b505f4aefe5d2f33cd'},
-    {'PyTorch-2.0.1_fix-skip-decorators.patch': '2039012cef45446065e1a2097839fe20bb29fe3c1dcc926c3695ebf29832e920'},
-    {'PyTorch-2.0.1_fix-ub-in-inductor-codegen.patch':
-     '1b37194f55ae678f3657b8728dfb896c18ffe8babe90987ce468c4fa9274f357'},
-    {'PyTorch-2.0.1_fix-vsx-loadu.patch': 'a0ffa61da2d47c6acd09aaf6d4791e527d8919a6f4f1aa7ed38454cdcadb1f72'},
-    {'PyTorch-2.0.1_no-cuda-stubs-rpath.patch': '8902e58a762240f24cdbf0182e99ccdfc2a93492869352fcb4ca0ec7e407f83a'},
     {'PyTorch-2.0.1_skip-failing-gradtest.patch': '8030bdec6ba49b057ab232d19a7f1a5e542e47e2ec340653a246ec9ed59f8bc1'},
     {'PyTorch-2.0.1_skip-test_shuffle_reproducibility.patch':
      '7047862abc1abaff62954da59700f36d4f39fcf83167a638183b1b7f8fec78ae'},
     {'PyTorch-2.0.1_skip-tests-skipped-in-subprocess.patch':
      '166c134573a95230e39b9ea09ece3ad8072f39d370c9a88fb2a1e24f6aaac2b5'},
-    {'PyTorch-2.1.0_disable-gcc12-warning.patch': 'c858b8db0010f41005dc06f9a50768d0d3dc2d2d499ccbdd5faf8a518869a421'},
-    {'PyTorch-2.1.0_disable-cudnn-tf32-for-too-strict-tests.patch':
-     'd895018ebdfd46e65d9f7645444a3b4c5bbfe3d533a08db559a04be34e01e478'},
-    {'PyTorch-2.1.0_fix-bufferoverflow-in-oneDNN.patch':
-     'b15b1291a3c37bf6a4982cfbb3483f693acb46a67bc0912b383fd98baf540ccf'},
-    {'PyTorch-2.1.0_fix-test_numpy_torch_operators.patch':
-     '84bb51a719abc677031a7a3dfe4382ff098b0cbd8b39b8bed2a7fa03f80ac1e9'},
-    {'PyTorch-2.1.0_fix-validationError-output-test.patch':
-     '7eba0942afb121ed92fac30d1529447d892a89eb3d53c565f8e9d480e95f692b'},
-    {'PyTorch-2.1.0_fix-vsx-vector-shift-functions.patch':
-     '3793b4b878be1abe7791efcbd534774b87862cfe7dc4774ca8729b6cabb39e7e'},
-    {'PyTorch-2.1.0_increase-tolerance-functorch-test_vmapvjpvjp.patch':
-     'aef38adf1210d0c5455e91d7c7a9d9e5caad3ae568301e0ba9fc204309438e7b'},
-    {'PyTorch-2.1.0_remove-sparse-csr-nnz-overflow-test.patch':
-     '0ac36411e76506b3354c85a8a1260987f66af947ee52ffc64230aee1fa02ea8b'},
     {'PyTorch-2.1.0_remove-test-requiring-online-access.patch':
      '35184b8c5a1b10f79e511cc25db3b8a5585a5d58b5d1aa25dd3d250200b14fd7'},
-    {'PyTorch-2.1.0_skip-diff-test-on-ppc.patch': '394157dbe565ffcbc1821cd63d05930957412156cc01e949ef3d3524176a1dda'},
     {'PyTorch-2.1.0_skip-dynamo-test_predispatch.patch':
      '6298daf9ddaa8542850eee9ea005f28594ab65b1f87af43d8aeca1579a8c4354'},
-    {'PyTorch-2.1.0_skip-test_jvp_linalg_det_singular.patch':
-     '5229ca88a71db7667a90ddc0b809b2c817698bd6e9c5aaabd73d3173cf9b99fe'},
-    {'PyTorch-2.1.0_skip-test_linear_fp32-without-MKL.patch':
-     '5dcc79883b6e3ec0a281a8e110db5e0a5880de843bb05653589891f16473ead5'},
-    {'PyTorch-2.1.0_skip-test_wrap_bad.patch': 'b8583125ee94e553b6f77c4ab4bfa812b89416175dc7e9b7390919f3b485cb63'},
-    {'PyTorch-2.1.2_add-cuda-skip-markers.patch': 'd007d6d0cdb533e7d01f503e9055218760123a67c1841c57585385144be18c9a'},
-    {'PyTorch-2.1.2_fix-conj-mismatch-test-failures.patch':
-     'c164357efa4ce88095376e590ba508fc1daa87161e1e59544eda56daac7f2847'},
-    {'PyTorch-2.1.2_fix-device-mesh-check.patch': 'c0efc288bf3d9a9a3c8bbd2691348a589a2677ea43880a8c987db91c8de4806b'},
-    {'PyTorch-2.1.2_fix-locale-issue-in-nvrtcCompileProgram.patch':
-     'f7adafb4e4d3b724b93237a259797b6ed6f535f83be0e34a7b759c71c6a8ddf2'},
-    {'PyTorch-2.1.2_fix-test_extension_backend-without-vectorization.patch':
-     'cd1455495886a7d6b2d30d48736eb0103fded21e2e36de6baac719b9c52a1c92'},
-    {'PyTorch-2.1.2_fix-test_memory_profiler.patch':
-     '30b0c9355636c0ab3dedae02399789053825dc3835b4d7dac6e696767772b1ce'},
-    {'PyTorch-2.1.2_fix-test_torchinductor-rounding.patch':
-     'a0ef99192ee2ad1509c78a8377023d5be2b5fddb16f84063b7c9a0b53d979090'},
-    {'PyTorch-2.1.2_fix-vsx-vector-abs.patch': 'd67d32407faed7dc1dbab4bba0e2f7de36c3db04560ced35c94caf8d84ade886'},
-    {'PyTorch-2.1.2_fix-vsx-vector-div.patch': '11f497a6892eb49b249a15320e4218e0d7ac8ae4ce67de39e4a018a064ca1acc'},
-    {'PyTorch-2.1.2_fix-with_temp_dir-decorator.patch':
-     '90bd001e034095329277d70c6facc4026b4ce6d7f8b8d6aa81c0176eeb462eb1'},
-    {'PyTorch-2.1.2_fix-wrong-device-mesh-size-in-tests.patch':
-     '07a5e4233d02fb6348872838f4d69573c777899c6f0ea4e39ae23c08660d41e5'},
-    {'PyTorch-2.1.2_relax-cuda-tolerances.patch': '554ad09787f61080fafdb84216e711e32327aa357e2a9c40bb428eb6503dee6e'},
-    {'PyTorch-2.1.2_remove-nccl-backend-default-without-gpus.patch':
-     'e6a1efe3d127fcbf4723476a7a1c01cfcf2ccb16d1fb250f478192623e8b6a15'},
-    {'PyTorch-2.1.2_skip-cpu_repro-test-without-vectorization.patch':
-     '7ace835af60c58d9e0754a34c19d4b9a0c3a531f19e5d0eba8e2e49206eaa7eb'},
-    {'PyTorch-2.1.2_skip-failing-test_dtensor_ops-subtests.patch':
-     '6cf711bf26518550903b09ed4431de9319791e79d61aab065785d6608fd5cc88'},
-    {'PyTorch-2.1.2_skip-memory-leak-test.patch': '8d9841208e8a00a498295018aead380c360cf56e500ef23ca740adb5b36de142'},
-    {'PyTorch-2.1.2_skip-test_fsdp_tp_checkpoint_integration.patch':
-     '943ee92f5fd518f608a59e43fe426b9bb45d7e7ad0ba04639e516db2d61fa57d'},
     {'PyTorch-2.1.2_workaround_dynamo_failure_without_nnpack.patch':
      'fb96eefabf394617bbb3fbd3a7a7c1aa5991b3836edc2e5d2a30e708bfe49ba1'},
+    {'PyTorch-2.3.0_disable_test_linear_package_if_no_half_types_are_available.patch':
+     '23416f2d9d5226695ec3fbea0671e3650c655c19deefd3f0f8ddab5afa50f485'},
+    {'PyTorch-2.3.0_fix-mkldnn-avx512-f32-bias.patch':
+     'ee07d21c3ac7aeb0bd0e39507b18a417b9125284a529102929c4b5c6727c2976'},
+    {'PyTorch-2.3.0_skip_test_var_mean_differentiable.patch':
+     '9703fd0f1fca8916f6d79d83e9a7efe8e3f717362a5fdaa8f5d9da90d0c75018'},
+    {'PyTorch-2.6.0_add-checkfunctionexists-include.patch':
+     '93579e35e946fb06025a50c42f3625ed8b8ac9f503a963cc23767e2c8869f0ea'},
+    {'PyTorch-2.6.0_avoid_caffe2_test_cpp_jit.patch':
+     '88d03d90359bc1fe3cfa3562624d4fbfd4c6654c9199c556ca912ac55289ce55'},
+    {'PyTorch-2.6.0_disable_DataType_dependent_test_if_tensorboard_is_not_available.patch':
+     '74db866787f1e666ed3b35db5204f05a0ba8d989fb23057a72dd07928388dc46'},
+    {'PyTorch-2.6.0_disable_tests_which_need_network_download.patch':
+     'fe76129811e4eb24d0e12c397335a4c7971b0c4e48ce9cdb9169f3ef9de7aac4'},
+    {'PyTorch-2.6.0_disable-gcc12-warnings.patch': '892643650788b743106ebe4e70c68be42a756eba797f0f79e31708d6e008a620'},
+    {'PyTorch-2.6.0_fix-accuracy-issues-in-linalg_solve.patch':
+     'a6b1cfe8f03ad5b17437e04e6a0369a25fcc79eed939ce6912ceca1c0ab0f444'},
+    {'PyTorch-2.6.0_fix-distributed-tests-without-gpus.patch':
+     '011cffc098b6818eb160b6bec2e671dec46cb2a8457ce32144ea01cc9ed4290a'},
+    {'PyTorch-2.6.0_fix-edge-case-causing-test_trigger_bisect_on_error-failure.patch':
+     'fd918fa510bf04c95f3bcc2f4abea417632a0fefb278154ec95207ca0d1719ed'},
+    {'PyTorch-2.6.0_fix-ExcTests.test_trigger_on_error.patch':
+     '445472d43a61523b2ed169023f5f6db197bc2df8408f59e6254e55f5cb1d3a11'},
+    {'PyTorch-2.6.0_fix-flaky-test_aot_export_with_torch_cond.patch':
+     '79cf77a795e06c4c3206a998ce8f4a92072f79736803008ede65e5ec2f204bfc'},
+    {'PyTorch-2.6.0_fix-inductor-device-interface.patch':
+     'e8e6af1ea5f01568c23127d4f83aacb482ec9005ba558b68763748a581bcc5bc'},
+    {'PyTorch-2.6.0_fix-server-in-test_control_plane.patch':
+     '1337689ff28ecaa8d1d0edf60d322bcdd7846fec040925325d357b19eb6e4342'},
+    {'PyTorch-2.6.0_fix-skip-decorators.patch': 'ec1ba1ef2a2b2c6753a0b35d10c6af0457fc90fe98e2f77979745d9f79d79c86'},
+    {'PyTorch-2.6.0_fix-test_autograd_cpp_node_saved_float.patch':
+     '928c4b1dc16f3d4a7bec29d8749b89ebd41488845938e2514c7fa8c048950e33'},
+    {'PyTorch-2.6.0_fix-test_linear_with_embedding.patch':
+     '56c053de7cfaa2f9898c3b036a185b499f5d44a7b4cd0442c45a8c94928322bf'},
+    {'PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch':
+     '8cf9e5d434eb8d3b81400622ca23714c7002a0b835e7e08b384b84408c7ed085'},
+    {'PyTorch-2.6.0_fix-test_public_bindings.patch':
+     '066d88acd8156ed3f91b6a8e924de57f8aef944aa1bf67dc453b830ee1c26094'},
+    {'PyTorch-2.6.0_fix-test_unbacked_bindings_for_divisible_u_symint.patch':
+     '5f5ce1e275888cd6a057a0769fffaa9e49dde003ba191fd70b0265d8c6259a9b'},
+    {'PyTorch-2.6.0_fix-vsx-vector-shift-functions.patch':
+     '82ce0b48e3b7c3dfd3a2ba915f4675d5c3a6d149646e1e0d6a29eedbbaecc8bd'},
+    {'PyTorch-2.6.0_fix-xnnpack-float16-convert.patch':
+     'a6fcb475040c6fed2c0ec8b3f9c1e9fb964220413e84c8f2ee4092770ee6ac7d'},
+    {'PyTorch-2.6.0_increase-tolerance-test_aotdispatch-matmul.patch':
+     'c1c6ea41504e4479d258225ecefc7e9c5726934601610904ae555501a11e9109'},
+    {'PyTorch-2.6.0_increase-tolerance-test_quick-baddbmm.patch':
+     '9850facdfb5d98451249570788217ede07466cae9ba52cd03afd3ec803ba33c9'},
+    {'PyTorch-2.6.0_increase-tolerance-test_vmap_autograd_grad.patch':
+     '8d5eb53bb0a1456af333ae646c860033d6dd037bd9152601a200ca5c10ebf3cb'},
+    {'PyTorch-2.6.0_remove-test_slice_with_floordiv.patch':
+     '1b7ff59a595b9ebbc042d8ff53e3f6c72a1d3b04fb82228f4433473f28623f9b'},
+    {'PyTorch-2.6.0_skip-diff-test-on-ppc.patch': '6f2f87cad1b0ab8c5a0c7b3f7fbc14e4bdfbe61da26a3934ded9dda7fe368c74'},
+    {'PyTorch-2.6.0_skip-test_checkpoint_wrapper_parity-on-cpu.patch':
+     '600f74de167b6fea4d849229de6d653dc616093b456962729222d6bfa767a8e8'},
+    {'PyTorch-2.6.0_skip-test_init_from_local_shards.patch':
+     '222383195f6a3b7c545ffeadb4dd469b9f3361b42c0866de3d3f0f91f8fbe777'},
+    {'PyTorch-2.6.0_skip-test_jvp_linalg_det_singular.patch':
+     '84abe4769005bbb794852a1b3de370977c9efa351bac4b4775831a02bb18d898'},
+    {'PyTorch-2.6.0_skip-test-requiring-MKL.patch':
+     'f1c9b1c77b09d59317fd52d390e7d948a147325b927ad6373c1fa1d1d6ea1ea8'},
+    {'PyTorch-2.6.0_skip-test_segfault.patch': '26806bd62e6b61b56ebaa52d68ca44c415a28124f684bd2fb373557ada68ef52'},
+    {'PyTorch-2.6.0_skip-tests-without-fbgemm.patch':
+     'ed35099de94a14322a879066da048ec9bc565dc81287b4adc4fec46f9afe90cf'},
 ]
 
 osdependencies = [OS_PKG_IBVERBS_DEV]
 
 builddependencies = [
-    ('CMake', '3.26.3'),
-    ('hypothesis', '6.82.0'),
+    ('CMake', '3.27.6'),
+    ('hypothesis', '6.90.0'),
     # For tests
+    ('parameterized', '0.9.0'),
     ('pytest-flakefinder', '1.1.0'),
-    ('pytest-rerunfailures', '12.0'),
+    ('pytest-rerunfailures', '14.0'),
     ('pytest-shard', '0.1.2'),
+    ('pytest-subtests', '0.13.1'),
+    ('tlparse', '0.3.5'),
+    ('optree', '0.13.0'),
+    ('unittest-xml-reporting', '3.1.0'),
 ]
 
 dependencies = [
-    ('CUDA', '12.1.1', '', SYSTEM),
-    ('cuDNN', '8.9.2.26', '-CUDA-%(cudaver)s', SYSTEM),
-    ('magma', '2.7.2', '-CUDA-%(cudaver)s'),
-    ('NCCL', '2.18.3', '-CUDA-%(cudaver)s'),
     ('Ninja', '1.11.1'),  # Required for JIT compilation of C++ extensions
-    ('Python', '3.11.3'),
-    ('Python-bundle-PyPI', '2023.06'),
-    ('protobuf', '24.0'),
-    ('protobuf-python', '4.24.0'),
+    ('Python', '3.11.5'),
+    ('Python-bundle-PyPI', '2023.10'),
+    ('protobuf', '25.3'),
+    ('protobuf-python', '4.25.3'),
+    ('PuLP', '2.9.0'),
     ('pybind11', '2.11.1'),
-    ('SciPy-bundle', '2023.07'),
-    ('PyYAML', '6.0'),
-    ('MPFR', '4.2.0'),
-    ('GMP', '6.2.1'),
+    ('SciPy-bundle', '2023.11'),
+    ('PyYAML', '6.0.1'),
+    ('MPFR', '4.2.1'),
+    ('GMP', '6.3.0'),
     ('numactl', '2.0.16'),
     ('FFmpeg', '6.0'),
-    ('Pillow', '10.0.0'),
-    ('expecttest', '0.1.5'),
-    ('networkx', '3.1'),
+    ('Pillow', '10.2.0'),
+    ('expecttest', '0.2.1'),
+    ('networkx', '3.2.1'),
+    ('typing-extensions', '4.10.0'),
     ('sympy', '1.12'),
-    ('Z3', '4.12.2'),
+    ('Z3', '4.13.0',),
 ]
 
 buildcmd = '%(python)s setup.py build'  # Run the (long) build in the build step
@@ -194,43 +190,24 @@ excluded_tests = {
     '': [
         # This test seems to take too long on NVIDIA Ampere at least.
         'distributed/test_distributed_spawn',
-        # Broken on CUDA 11.6/11.7: https://github.com/pytorch/pytorch/issues/75375
-        'distributions/test_constraints',
         # no xdoctest
         'doctests',
-        # failing on broadwell
-        # See https://github.com/easybuilders/easybuild-easyconfigs/issues/17712
-        'test_native_mha',
         # intermittent failures on various systems
         # See https://github.com/easybuilders/easybuild-easyconfigs/issues/17712
         'distributed/rpc/test_tensorpipe_agent',
-        # Broken test, can't ever succeed, see https://github.com/pytorch/pytorch/issues/122184
-        'distributed/tensor/parallel/test_tp_random_state',
-        # failures on OmniPath systems, which don't support some optional InfiniBand features
-        # See https://github.com/pytorch/tensorpipe/issues/413
-        'distributed/pipeline/sync/skip/test_gpipe',
-        'distributed/pipeline/sync/skip/test_leak',
-        'distributed/pipeline/sync/test_bugs',
-        'distributed/pipeline/sync/test_inplace',
-        'distributed/pipeline/sync/test_pipe',
-        'distributed/pipeline/sync/test_transparency',
+        # This test is expected to fail when run in their CI, but won't in our case.
+        # It just checks for a "CI" env variable
+        'test_ci_sanity_check_fail',
     ]
 }
 
-runtest = 'cd test && PYTHONUNBUFFERED=1 %(python)s run_test.py --continue-through-error  --verbose %(excluded_tests)s'
+local_test_opts = '--continue-through-error --pipe-logs --verbose %(excluded_tests)s'
+runtest = 'cd test && PYTHONUNBUFFERED=1 %(python)s run_test.py ' + local_test_opts
 
 # Especially test_quantization has a few corner cases that are triggered by the random input values,
 # those cannot be easily avoided, see https://github.com/pytorch/pytorch/issues/107030
-# test_nn is also prone to spurious failures: https://github.com/pytorch/pytorch/issues/118294
 # So allow a low number of tests to fail as the tests "usually" succeed
-max_failed_tests = 2
-
-# The readelf sanity check command can be taken out once the TestRPATH test from
-# https://github.com/pytorch/pytorch/pull/109493 is accepted, since it is then checked as part of the PyTorch test suite
-local_libcaffe2 = "$EBROOTPYTORCH/lib/python%%(pyshortver)s/site-packages/torch/lib/libcaffe2_nvrtc.%s" % SHLIB_EXT
-sanity_check_commands = [
-    "readelf -d %s | egrep 'RPATH|RUNPATH' | grep -v stubs" % local_libcaffe2,
-]
+max_failed_tests = 6
 
 tests = ['PyTorch-check-cpp-extension.py']
 

@Flamefire Flamefire changed the title {tools}[GCCcore/13.2.0,foss/2023b] pytest-subtests v0.13.1, PyTorch v2.6.0, PuLP v2.9.0 {tools}[GCCcore/13.2.0,foss/2023b] pytest-subtests v0.13.1, PyTorch v2.6.0 Apr 30, 2025
@Flamefire Flamefire changed the title {tools}[GCCcore/13.2.0,foss/2023b] pytest-subtests v0.13.1, PyTorch v2.6.0 {tools}[GCCcore/13.2.0,foss/2023b] PyTorch v2.6.0, pytest-subtests v0.13.1 Apr 30, 2025
@asp8200
Copy link
Contributor

asp8200 commented May 1, 2025

I tried running PyTorch-2.6.0-foss-2023b.eb from the branch Flamefire:20250430125241_new_pr_pytest-subtests0131 yesterday.

First I got

== FAILED: Installation ended unsuccessfully: Missing checksum for PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch in {'PyTorch-2.6.0_fix-test_public_bindings.patch': '066d88acd8156ed3f91b6a8e924de57f8aef944aa1bf67dc453b830ee1c26094'} (took 1 secs)
== Results of the build can be found in the log file(s) /local/tmp/eb-hzkb6uz3/easybuild-PyTorch-2.6.0-20250430.153234.TLzSW.log
ERROR: Installation of PyTorch-2.6.0-foss-2023b.eb failed: "Missing checksum for PyTorch-2.6.0_fix-test_linear_with_in_out_buffer-without-mkl.patch in {'PyTorch-2.6.0_fix-test_public_bindings.patch': '066d88acd8156ed3f91b6a8e924de57f8aef944aa1bf67dc453b830ee1c26094'}"

Then I ran with

$ eb PyTorch-2.6.0-foss-2023b.eb --inject-checksums --force

The build process has now been kind of stuck in the following "testing-step" in some 14 hours

== testing...
  >> running shell command:
	export PYTHONPATH=/local/tmp/eb-ok55jpk7/tmph0l7rv_z/lib/python3.11/site-packages:$PYTHONPATH &&  PYTORCH_BUILD_VERSION=2.6.0 PYTORCH_BUILD_NUMBER=1 VERBOSE=0 MAX_JOBS=16 BLAS=FlexiBLAS WITH_BLAS=flexi USE_FFMPEG=1 BUILD_CUSTOM_PROTOBUF=0 USE_SYSTEM_PYBIND11=1 USE_IBVERBS=1 USE_CUDA=0 USE_ROCM=0 USE_METAL=0 CMAKE_BUILD_TYPE=Release   /ngc/tools/easybuild/software/Python/3.11.5-GCCcore-13.2.0/bin/python -m pip install --prefix=/local/tmp/eb-ok55jpk7/tmph0l7rv_z  --verbose --no-deps --ignore-installed --no-index --no-build-isolation .
	[started at: 2025-04-30 17:24:52]
	[working dir: /local/eb_build/PyTorch/2.6.0/foss-2023b/pytorch-v2.6.0]
	[output and state saved to /local/tmp/eb-ok55jpk7/run-shell-cmd-output/export-mtek4jvy]
  >> command completed: exit 0, ran in 00h00m55s
  >> running shell command:
	export PYTHONPATH=/local/tmp/eb-ok55jpk7/tmph0l7rv_z/lib/python3.11/site-packages:$PYTHONPATH &&  cd test && PYTHONUNBUFFERED=1 /ngc/tools/easybuild/software/Python/3.11.5-GCCcore-13.2.0/bin/python run_test.py --continue-through-error --pipe-logs --verbose -x distributed/test_distributed_spawn doctests distributed/rpc/test_tensorpipe_agent test_ci_sanity_check_fail
	[started at: 2025-04-30 17:25:49]
	[working dir: /local/eb_build/PyTorch/2.6.0/foss-2023b/pytorch-v2.6.0]
	[output and state saved to /local/tmp/eb-ok55jpk7/run-shell-cmd-output/export-vz9eus9d]

@Flamefire
Copy link
Contributor Author

Test report by @Flamefire
FAILED
Build succeeded for 13 out of 14 (3 easyconfigs in total)
c120 - Linux AlmaLinux 9.4, x86_64, AMD EPYC 9334 32-Core Processor (zen4), 4 x NVIDIA NVIDIA H100, 560.35.03, Python 3.9.18
See https://gist.github.com/Flamefire/7149fdbc4bed85cea14576ada83a4e84 for a full test report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants