Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurred when executing KolorsTextEncode #30

Open
Sostay opened this issue Jul 20, 2024 · 0 comments
Open

Error occurred when executing KolorsTextEncode #30

Sostay opened this issue Jul 20, 2024 · 0 comments

Comments

@Sostay
Copy link

Sostay commented Jul 20, 2024

Error occurred when executing KolorsTextEncode:

Allocation on device

File "D:\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\ComfyUI\custom_nodes\ComfyUI-KwaiKolorsWrapper\nodes.py", line 248, in encode
text_encoder.to(device)
File "D:\ComfyUI\python\lib\site-packages\transformers\modeling_utils.py", line 2692, in to
return super().to(*args, **kwargs)
File "D:\ComfyUI\python\lib\site-packages\torch\nn\modules\module.py", line 1173, in to
return self._apply(convert)
File "D:\ComfyUI\python\lib\site-packages\torch\nn\modules\module.py", line 779, in _apply
module._apply(fn)
File "D:\ComfyUI\python\lib\site-packages\torch\nn\modules\module.py", line 804, in _apply
param_applied = fn(param)
File "D:\ComfyUI\python\lib\site-packages\torch\nn\modules\module.py", line 1159, in convert
return t.to(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant