Merge pull request #4804 from awsr/rocm-adv-update

ROCm Adv Mgr: Only autoload if config file exists
This commit is contained in:
Vladimir Mandic
2026-04-27 20:23:02 +02:00
committed by GitHub
+1 -1
View File
@@ -518,7 +518,7 @@ def info() -> dict:
# Apply saved config to os.environ at import time (only when ROCm is present)
if installer.torch_info.get('type', None) == 'rocm':
if installer.torch_info.get('type', None) == 'rocm' and CONFIG.exists():
try:
apply_env()
except Exception as _e: