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
ebfcf0a9
Commit
ebfcf0a9
authored
Mar 03, 2023
by
comfyanonymous
Browse files
Fix issue.
parent
85865158
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy/model_management.py
comfy/model_management.py
+1
-1
No files found.
comfy/model_management.py
View file @
ebfcf0a9
...
@@ -185,7 +185,7 @@ def should_use_fp16():
...
@@ -185,7 +185,7 @@ def should_use_fp16():
if
torch
.
cuda
.
is_bf16_supported
():
if
torch
.
cuda
.
is_bf16_supported
():
return
True
return
True
props
=
torch
.
cuda
.
get_device_properties
()
props
=
torch
.
cuda
.
get_device_properties
(
"cuda"
)
if
props
.
major
<
7
:
if
props
.
major
<
7
:
return
False
return
False
...
...
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