mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
[FRONTEND] Don't use HOME envvar to get HOME (#1364)
Fixes https://github.com/pytorch/pytorch/issues/97076
This commit is contained in:
@@ -1420,7 +1420,7 @@ PyMODINIT_FUNC PyInit___triton_launcher(void) {{
|
||||
|
||||
|
||||
def default_cache_dir():
|
||||
return os.path.join(os.environ["HOME"], ".triton", "cache")
|
||||
return os.path.join(Path.home(), ".triton", "cache")
|
||||
|
||||
|
||||
class CacheManager:
|
||||
|
||||
Reference in New Issue
Block a user