sdbds / hallo-for-windows

Hallo: Hierarchical Audio-Driven Visual Synthesis for Portrait Image Animation
https://fudan-generative-vision.github.io/hallo/
MIT License
138 stars 18 forks source link

No module named "triton". how to fix? #3

Open moviejimmy opened 1 week ago

moviejimmy commented 1 week ago

(venv) C:\Hallo\hallo-for-windows>python scripts/inference.py --source_image examples/reference_images/sammy.jpg --driving_audio examples/driving_audios/2.wav A matching Triton is not available, some optimizations will not be enabled Traceback (most recent call last): File "C:\Hallo\hallo-for-windows\venv\lib\site-packages\xformers__init__.py", line 55, in _is_triton_available from xformers.triton.softmax import softmax as triton_softmax # noqa File "C:\Hallo\hallo-for-windows\venv\lib\site-packages\xformers\triton\softmax.py", line 11, in import triton ModuleNotFoundError: No module named 'triton'

dreamhacking commented 6 days ago

Same here :( No module named 'triton' No module named 'hallo'

O:\hallo-portable-2\webui\venv\lib\site-packages\transformers\utils\hub.py:124: FutureWarning: Using TRANSFORMERS_CACHE is deprecated and will be removed in v5 of Transformers. Use HF_HOME instead. warnings.warn( A matching Triton is not available, some optimizations will not be enabled Traceback (most recent call last): File "O:\hallo-portable-2\webui\venv\lib\site-packages\xformers__init__.py", line 55, in _is_triton_available from xformers.triton.softmax import softmax as triton_softmax # noqa File "O:\hallo-portable-2\webui\venv\lib\site-packages\xformers\triton\softmax.py", line 11, in import triton ModuleNotFoundError: No module named 'triton' Traceback (most recent call last): File "O:\hallo-portable-2\webui\scripts\inference.py", line 40, in from hallo.animate.face_animate import FaceAnimatePipeline ModuleNotFoundError: No module named 'hallo'

dreamhacking commented 6 days ago

this worked for me: https://github.com/daswer123/hallo-webui/issues/16