daswer123 / hallo-webui

Webui for Hallo: Hierarchical Audio-Driven Visual Synthesis for Portrait Image Animation
https://fudan-generative-vision.github.io/hallo/
82 stars 29 forks source link

ERROR when starting the process using the portable "Triton is not available" #16

Closed TomiTom1234 closed 3 months ago

TomiTom1234 commented 3 months ago

I get this error after I generate the video using the portable file:

E:\AI\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 "E:\AI\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 "E:\AI\hallo-portable-2\webui\venv\lib\site-packages\xformers\triton\softmax.py", line 11, in <module>
    import triton
ModuleNotFoundError: No module named 'triton'
Traceback (most recent call last):
  File "E:\AI\hallo-portable-2\webui\scripts\inference.py", line 40, in <module>
    from hallo.animate.face_animate import FaceAnimatePipeline
ModuleNotFoundError: No module named 'hallo'

Any idea how to solve this please?

TomiTom1234 commented 3 months ago

EDIT:

OK I found the solution. I just moved the "hallo" directory to "scripts" directory, then the error stopped. And now it is generating.

dreamhacking commented 3 months ago

you are awesome, it worked

TomiTom1234 commented 3 months ago

you are awesome, it worked

Glad it worked for you