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
30de083d
Commit
30de083d
authored
Jul 23, 2023
by
comfyanonymous
Browse files
Disable cuda malloc on all the 9xx series.
parent
22f29d66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cuda_malloc.py
cuda_malloc.py
+1
-1
No files found.
cuda_malloc.py
View file @
30de083d
...
@@ -37,7 +37,7 @@ def get_gpu_names():
...
@@ -37,7 +37,7 @@ def get_gpu_names():
return
set
()
return
set
()
def
cuda_malloc_supported
():
def
cuda_malloc_supported
():
blacklist
=
{
"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"
}
try
:
try
:
names
=
get_gpu_names
()
names
=
get_gpu_names
()
except
:
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