We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5f61d commit 8bf6d80Copy full SHA for 8bf6d80
easybuild/easyblocks/p/pytorch.py
@@ -426,8 +426,9 @@ def _set_cache_dir(self):
426
def test_step(self):
427
"""Run unit tests"""
428
self._set_cache_dir()
429
- # Pretend to be on FB CI which disables some tests, especially those which download stuff
430
- env.setvar('SANDCASTLE', '1')
+ if LooseVersion(self.version) < LooseVersion('2.3.0'):
+ # Pretend to be on FB CI which disables some tests, especially those which download stuff
431
+ env.setvar('SANDCASTLE', '1')
432
# Skip this test(s) which is very flaky
433
env.setvar('SKIP_TEST_BOTTLENECK', '1')
434
# Parse excluded_tests and flatten into space separated string
0 commit comments