TencentQQGYLab / ComfyUI-ELLA

ELLA nodes for ComfyUI
347 stars 18 forks source link

Error occurred when executing T5TextEncode #ELLA: #58

Open jinwen36 opened 3 months ago

jinwen36 commented 3 months ago

Error occurred when executing T5TextEncode #ELLA:

property 'device' of 'T5EncoderModel' object has no setter

File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\custom_nodes\ComfyUI-ELLA\ella.py", line 228, in encode cond = text_encoder_model(text, max_length=max_length) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\custom_nodes\ComfyUI-ELLA\model.py", line 136, in call self.load_model() File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\custom_nodes\ComfyUI-ELLA\model.py", line 132, in load_model model_management.load_model_gpu(self.patcher) File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\comfy\model_management.py", line 474, in load_model_gpu return load_models_gpu([model]) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\comfy\model_management.py", line 468, in load_models_gpu cur_loaded_model = loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\comfy\model_management.py", line 296, in model_load self.model.unpatch_model(self.model.offload_device) File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\comfy\model_patcher.py", line 556, in unpatch_model self.model.device = device_to ^^^^^^^^^^^^^^^^^ File "C:\Users\jinwen\Desktop\ComfyUI_windows_portable_nvidia_cu121_or_cpu\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1788, in setattr super().setattr(name, value)

extripod commented 3 months ago

yes, i have same error today, yesterday everything is good.

lin2012li commented 3 months ago

是因为更新了最新版的comfyui,不是ELLA插件问题,comfyui 升级后导致这个问题。退回以前版本就可以使用了。

ElSuccerro commented 3 months ago

same error here...

exinnocommon commented 3 months ago

I'm struggling with the same error. Please fix it so that it can be used in the latest version of ComfyUI.

DB1052 commented 3 months ago

Man, I really hope Ella isn’t dead. I really don’t want to roll back Comfy with all the new stuff being added.

JettHu commented 3 months ago

I'll try to fix this problem when I have time, in the next two days.

JettHu commented 3 months ago

fixed

ElSuccerro commented 3 months ago

Thanks!

DB1052 commented 3 months ago

fixed

Thank you!

andupotorac commented 3 months ago

It works, thanks!