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

Cannot find CUDA_HOME. CUDA must be available to build the package. #110

Open
santaonholidays opened this issue Feb 15, 2025 · 2 comments
Open

Comments

@santaonholidays
Copy link

santaonholidays commented Feb 15, 2025

Greetings Ladies and Gentlemen,

Today i came to the decision to abandon comfyui desktop app to solve my sageattention problem once and for all. I tried with my co-partner ChatGPT. I came so close to sucess but now i have the Error that Cuda can't find his Home :( and my Plan B was to get some assistance from the Github Community and that's the reason i'm here :)

For your Info i don't know if thats the right path but i installed Sageattention in
C:\Users\santa\SageAttention>

and here is my Error:

C:\Users\santa\SageAttention>pip install -e .
Obtaining file:///C:/Users/santa/SageAttention
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\santa\SageAttention\setup.py", line 54, in <module>
          raise RuntimeError(
      RuntimeError: Cannot find CUDA_HOME. CUDA must be available to build the package.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Image
Image

@jason-huang03
Copy link
Member

I am not familiar with windows, can anyone help?

@santaonholidays
Copy link
Author

bump

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

2 participants