MCPcopy Create free account
hub / github.com/Comfy-Org/ComfyUI / cuda_malloc_supported

Function cuda_malloc_supported

cuda_malloc.py:54–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54def cuda_malloc_supported():
55 try:
56 names = get_gpu_names()
57 except:
58 names = set()
59 for x in names:
60 if "NVIDIA" in x:
61 for b in blacklist:
62 if b in x:
63 return False
64 return True
65
66
67version = ""

Callers 1

cuda_malloc.pyFile · 0.85

Calls 1

get_gpu_namesFunction · 0.85

Tested by

no test coverage detected