Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sageattention error during installation via Pinokio on Ubuntu 24.10 #32

Open
jordosoft opened this issue Mar 10, 2025 · 0 comments
Open

Comments

@jordosoft
Copy link

I'm getting the following error when trying to install HunyuanVideoGP on Ubuntu 24.10 via Pinokio:

(env) (base) <<PINOKIO_SHELL>><<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /home/jordo/pinokio/api/hunyuanvideo.git/app/env/bin/activate /home/jordo/pinokio/api/hunyuanvideo.git/app/env ; uv pip install git+https://github.com/thu-ml/SageAttention
Using Python 3.10.16 environment at: env
    Updated https://github.com/thu-ml/SageAttention (55407713512da5c92e8a9c8c52e1c4d844435466)
error: The build backend returned an error
  Caused by: Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)

[stderr]
Traceback (most recent call last):
  File "<string>", line 14, in <module>
  File "/home/jordo/pinokio/cache/UV_CACHE_DIR/builds-v0/.tmpvoSRin/lib/python3.10/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=[])
  File "/home/jordo/pinokio/cache/UV_CACHE_DIR/builds-v0/.tmpvoSRin/lib/python3.10/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
    self.run_setup()
  File "/home/jordo/pinokio/cache/UV_CACHE_DIR/builds-v0/.tmpvoSRin/lib/python3.10/site-packages/setuptools/build_meta.py", line 522, in run_setup
    super().run_setup(setup_script=setup_script)
  File "/home/jordo/pinokio/cache/UV_CACHE_DIR/builds-v0/.tmpvoSRin/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in run_setup
    exec(code, locals())
  File "<string>", line 24, in <module>
ModuleNotFoundError: No module named 'torch'

hint: This error likely indicates that `git+https://github.com/thu-ml/SageAttention` depends on `torch`, but doesn't declare it as a build dependency. If `git+https://github.com/thu-ml/SageAttention` is a first-party package, consider adding `torch` to its `build-system.requires`. Otherwise, `uv pip install torch` into the environment and re-run with `--no-build-isolation`.
(env) (base) <<PINOKIO_SHELL>><<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /home/jordo/pinokio/api/hunyuanvideo.git/app/env/bin/activate /home/jordo/pinokio/api/hunyuanvideo.git/app/env ; uv pip install numpy==1.24.4

I'm able to start the app, but, of course, Sageattention is marked as "not installed." Oddly, Sage seems to be working fine for WanGP. Any ideas? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant