Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
7c0a5a3e
Commit
7c0a5a3e
authored
Jul 25, 2023
by
comfyanonymous
Browse files
Disable cuda malloc on a bunch of quadro cards.
parent
a51f33ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
cuda_malloc.py
cuda_malloc.py
+5
-1
No files found.
cuda_malloc.py
View file @
7c0a5a3e
...
...
@@ -37,7 +37,11 @@ def get_gpu_names():
return
set
()
def
cuda_malloc_supported
():
blacklist
=
{
"GeForce GTX TITAN X"
,
"GeForce GTX 980"
,
"GeForce GTX 970"
,
"GeForce GTX 960"
,
"GeForce GTX 950"
,
"GeForce 945M"
,
"GeForce 940M"
,
"GeForce 930M"
,
"GeForce 920M"
,
"GeForce 910M"
,
"GeForce GTX 750"
,
"GeForce GTX 745"
}
blacklist
=
{
"GeForce GTX TITAN X"
,
"GeForce GTX 980"
,
"GeForce GTX 970"
,
"GeForce GTX 960"
,
"GeForce GTX 950"
,
"GeForce 945M"
,
"GeForce 940M"
,
"GeForce 930M"
,
"GeForce 920M"
,
"GeForce 910M"
,
"GeForce GTX 750"
,
"GeForce GTX 745"
,
"Quadro K620"
,
"Quadro K1200"
,
"Quadro K2200"
,
"Quadro M500"
,
"Quadro M520"
,
"Quadro M600"
,
"Quadro M620"
,
"Quadro M1000"
,
"Quadro M1200"
,
"Quadro M2000"
,
"Quadro M2200"
,
"Quadro M3000"
,
"Quadro M4000"
,
"Quadro M5000"
,
"Quadro M5500"
,
"Quadro M6000"
}
try
:
names
=
get_gpu_names
()
except
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment