ComfyUI-ELLA icon indicating copy to clipboard operation
ComfyUI-ELLA copied to clipboard

Error occurred when executing T5TextEncode #ELLA:

Open jinwen36 opened this issue 1 year ago • 10 comments

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)

jinwen36 avatar Aug 09 '24 10:08 jinwen36

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

extripod avatar Aug 10 '24 14:08 extripod

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

lin2012li avatar Aug 11 '24 12:08 lin2012li

same error here...

ElSuccerro avatar Aug 12 '24 08:08 ElSuccerro

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

exinnocommon avatar Aug 13 '24 09:08 exinnocommon

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

DB1052 avatar Aug 14 '24 03:08 DB1052

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

JettHu avatar Aug 14 '24 13:08 JettHu

fixed

JettHu avatar Aug 16 '24 11:08 JettHu

Thanks!

ElSuccerro avatar Aug 16 '24 11:08 ElSuccerro

fixed

Thank you!

DB1052 avatar Aug 16 '24 12:08 DB1052

It works, thanks!

andupotorac avatar Aug 16 '24 13:08 andupotorac