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
0966d3ce
Commit
0966d3ce
authored
Sep 14, 2023
by
comfyanonymous
Browse files
Don't run text encoders on xpu because there are issues.
parent
0e4395a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
comfy/model_management.py
comfy/model_management.py
+2
-0
No files found.
comfy/model_management.py
View file @
0966d3ce
...
...
@@ -451,6 +451,8 @@ def text_encoder_device():
if
args
.
gpu_only
:
return
get_torch_device
()
elif
vram_state
==
VRAMState
.
HIGH_VRAM
or
vram_state
==
VRAMState
.
NORMAL_VRAM
:
if
is_intel_xpu
():
return
torch
.
device
(
"cpu"
)
if
should_use_fp16
(
prioritize_performance
=
False
):
return
get_torch_device
()
else
:
...
...
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