#221·hallo

xFormers Module Not Found

Author: xzendor7Created Apr 25, 2025Updated Mar 19, 2026

I'm getting the following error when trying to run Hallo using the Pinokio app.

H:\pinokio\api\hallo.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && H:\pinokio\api\hallo.git\app\env\Scripts\activate H:\pinokio\api\hallo.git\app\env && python scripts/app.py W0425 19:14:53.619000 25316 env\Lib\site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs. The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling transformers.utils.move_cache(). 0it [00:00, ?it/s] Traceback (most recent call last): File "H:\pinokio\api\hallo.git\app\scripts\app.py", line 15, in from inference import inference_process File "H:\pinokio\api\hallo.git\app\scripts\inference.py", line 43, in from hallo.models.face_locator import FaceLocator File "H:\pinokio\api\hallo.git\app\hallo\models\face_locator.py", line 30, in from .motion_module import zero_module File "H:\pinokio\api\hallo.git\app\hallo\models\motion_module.py", line 58, in import xformers ModuleNotFoundError: No module named 'xformers'

(env) (base) H:\pinokio\api\hallo.git\app>

System: Windows 11 Home Version: 23H2 - Build: 22631.5262 - 64bit Core i7 12700F Nvidia RTX 5070 Ti - Driver 576.02 64 GB DDR4

Pinokio v3.7

Source: fudan-generative-vision/hallo