ROCm always use numpy on cholesky

This commit is contained in:
Disty0
2025-09-28 14:05:20 +03:00
parent a47959b114
commit 4a70e82b0c
2 changed files with 7 additions and 8 deletions
+2
View File
@@ -48,9 +48,11 @@ def has_mps() -> bool:
def has_xpu() -> bool:
return bool(hasattr(torch, 'xpu') and torch.xpu.is_available())
def has_rocm() -> bool:
return bool(torch.version.hip is not None and torch.cuda.is_available())
def has_zluda() -> bool:
if not cuda_ok:
return False