Open SoftologyPro opened 3 months ago
Same error when I run the CLI version
(venv) D:\Tests\HunyuanDiT\HunyuanDiT>python sample_t2i.py --prompt "渔舟唱晚"
Traceback (most recent call last):
File "D:\Tests\HunyuanDiT\HunyuanDiT\sample_t2i.py", line 5, in <module>
from mllm.dialoggen_demo import DialogGen
File "D:\Tests\HunyuanDiT\HunyuanDiT\mllm\dialoggen_demo.py", line 9, in <module>
from llava.constants import (
File "D:\Tests\HunyuanDiT\HunyuanDiT/mllm\llava\__init__.py", line 1, in <module>
from .model import LlavaLlamaForCausalLM
ImportError: cannot import name 'LlavaLlamaForCausalLM' from 'llava.model' (D:\Tests\HunyuanDiT\HunyuanDiT/mllm\llava\model\__init__.py)
This is under Windows. I create a new venv for this test.
I downloaded all the models with
huggingface-cli download Tencent-Hunyuan/HunyuanDiT-v1.2 --local-dir ./ckpts
Then when I runpython app/hydit_app.py --lang en --infer-mode fa
I getWhat am I missing?
collect_env output