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
4b943d2b
Commit
4b943d2b
authored
Mar 24, 2023
by
Yurii Mazurevich
Browse files
Removed unnecessary comment
parent
89fd5ed5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
comfy/model_management.py
comfy/model_management.py
+0
-2
No files found.
comfy/model_management.py
View file @
4b943d2b
...
@@ -131,8 +131,6 @@ def load_model_gpu(model):
...
@@ -131,8 +131,6 @@ def load_model_gpu(model):
if
vram_state
==
CPU
:
if
vram_state
==
CPU
:
pass
pass
elif
vram_state
==
MPS
:
elif
vram_state
==
MPS
:
# print(inspect.getmro(real_model.__class__))
# print(dir(real_model))
mps_device
=
torch
.
device
(
"mps"
)
mps_device
=
torch
.
device
(
"mps"
)
real_model
.
to
(
mps_device
)
real_model
.
to
(
mps_device
)
pass
pass
...
...
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