mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 14:50:49 +08:00
Update cuda_malloc.py
This commit is contained in:
parent
58594a0b47
commit
d7f28efe8d
@ -56,12 +56,14 @@ def cuda_malloc_supported():
|
||||
except:
|
||||
names = set()
|
||||
for x in names:
|
||||
if "NVIDIA" in x:
|
||||
if "AMD" in x:
|
||||
return False
|
||||
elif "NVIDIA" in x:
|
||||
for b in blacklist:
|
||||
if b in x:
|
||||
return False
|
||||
return False
|
||||
#We don't need malloc at all with amd gpu's. So disabling all together.
|
||||
return True
|
||||
#returned to older version.
|
||||
|
||||
|
||||
if not args.cuda_malloc:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user