Initial: Colibri upstream + HIP/ROCm port (Strix Halo / Radeon 8060S)
This commit is contained in:
@@ -110,7 +110,7 @@ def cuda_binary():
|
||||
if not os.path.exists(GLM) or sys.platform != "linux": return False
|
||||
try:
|
||||
linked=subprocess.run(["ldd",GLM],capture_output=True,text=True,timeout=3)
|
||||
return any("libcudart" in line and "not found" not in line
|
||||
return any("libamdhip64" in line and "not found" not in line
|
||||
for line in linked.stdout.splitlines())
|
||||
except (OSError,subprocess.SubprocessError): return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user