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 5ca4109 commit c37c328Copy full SHA for c37c328
easybuild/easyblocks/p/pytorch.py
@@ -546,7 +546,7 @@ def _set_cache_dir(self):
546
env.setvar('XDG_CACHE_HOME', cache_dir)
547
# Triton also uses a path defaulting to $HOME
548
# Isolate against user-set variables
549
- env.unset_env_vars(var for var in os.environ if var.startswith('TRITON_'))
+ env.unset_env_vars(('TRITON_DUMP_DIR', 'TRITON_OVERRIDE_DIR', 'TRITON_CACHE_DIR'))
550
triton_home = os.path.join(self.tmpdir, '.triton_home')
551
env.setvar('TRITON_HOME', triton_home)
552
0 commit comments