-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workingstaleno user interaction in a while. will be closed soonno user interaction in a while. will be closed soon
Description
A quick survey shows this has happened in the past. Maybe hunyuan.py needs an update?
Loading model to memory(mps): CLIPTextModel
Traceback (most recent call last):
File "/.../core_framepackstudio/appstudio.py", line 1109, in worker
llama_vec, llama_attention_mask, clip_l_pooler = get_cached_or_encode_prompt(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/.../core_framepackstudio/venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 120, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/.../core_framepackstudio/appstudio.py", line 977, in get_cached_or_encode_prompt
llama_vec, clip_l_pooler = encode_prompt_conds(
^^^^^^^^^^^^^^^^^^^^
File "/.../core_framepackstudio/venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 120, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/.../core_framepackstudio/diffusers_helper/hunyuan.py", line 39, in encode_prompt_conds
llama_vec = llama_outputs.hidden_states[-3][:, crop_start:llama_attention_length]
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
TypeError: 'NoneType' object is not subscriptable
...Talpik and AssassinWarlord
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleno user interaction in a while. will be closed soonno user interaction in a while. will be closed soon