Skip to content

Commit

Permalink
Merge pull request #20182 from Flamefire/20240321123737_new_pr_PyTorc…
Browse files Browse the repository at this point in the history
…h1131

fix PyTorch-1.13.1-foss-2022b.eb for Linux 6+
  • Loading branch information
casparvl committed Mar 25, 2024
2 parents 7cd5d90 + 0c99302 commit 6fb33f6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion easybuild/easyconfigs/p/PyTorch/PyTorch-1.13.1-foss-2022b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ patches = [
'PyTorch-1.11.0_fix-fp16-quantization-without-fbgemm.patch',
'PyTorch-1.11.1_skip-test_init_from_local_shards.patch',
'PyTorch-1.12.0_fix-EmbeddingBag-without-fbgemm.patch',
'PyTorch-1.12.0_fix-Gloo-compatibility-with-newer-kernel.patch',
'PyTorch-1.12.1_add-hypothesis-suppression.patch',
'PyTorch-1.12.1_fix-skip-decorators.patch',
'PyTorch-1.12.1_fix-test_cpp_extensions_jit.patch',
Expand Down Expand Up @@ -44,6 +45,7 @@ patches = [
'PyTorch-1.13.1_skip-failing-singular-grad-test.patch',
'PyTorch-1.13.1_skip-tests-without-fbgemm.patch',
'PyTorch-1.13.1_workaround-gcc12-destructor-exception-bug.patch',
'PyTorch-2.0.1_skip-test_baddbmm_cpu_bfloat16.patch',
]
checksums = [
{'pytorch-v1.13.1.tar.gz': 'dbc229ee9750b02b514937d017744443a269ea0241ed3f32b9af0703589d25d4'},
Expand All @@ -55,6 +57,8 @@ checksums = [
'4aeb1b0bc863d4801b0095cbce69f8794066748f0df27c6aaaf729c5ecba04b7'},
{'PyTorch-1.12.0_fix-EmbeddingBag-without-fbgemm.patch':
'090598592283e3fc46ee08a68b6a6afe07be41b26514afba51834408bf1c98ed'},
{'PyTorch-1.12.0_fix-Gloo-compatibility-with-newer-kernel.patch':
'0d19c3dd7ea088aae2f18a2552420293a06ed0a0e1e8e2a28d44ff3847de32af'},
{'PyTorch-1.12.1_add-hypothesis-suppression.patch':
'e71ffb94ebe69f580fa70e0de84017058325fdff944866d6bd03463626edc32c'},
{'PyTorch-1.12.1_fix-skip-decorators.patch': 'e3ca6e42b2fa592ea095939fb59ab875668a058479407db3f3684cc5c6f4146c'},
Expand Down Expand Up @@ -101,6 +105,8 @@ checksums = [
'481e595f673baf8ae58b41697a6792b83048b0264aa79b422f48cd8c22948bb7'},
{'PyTorch-1.13.1_workaround-gcc12-destructor-exception-bug.patch':
'a09a2d7ebd428c65988729578bb3fa372565ba176ab9ed7abf11f6fcb15e903e'},
{'PyTorch-2.0.1_skip-test_baddbmm_cpu_bfloat16.patch':
'199005bbbb913837e557358dee31535d8e3f63af9ac7cdcece624ab8e572e28a'},
]

osdependencies = [OS_PKG_IBVERBS_DEV]
Expand Down Expand Up @@ -151,7 +157,7 @@ runtest = 'cd test && PYTHONUNBUFFERED=1 %(python)s run_test.py --continue-throu
# 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 = 5

tests = ['PyTorch-check-cpp-extension.py']

Expand Down

0 comments on commit 6fb33f6

Please sign in to comment.