Stability-AI / stable-audio-tools

Generative models for conditional audio generation
MIT License
2.72k stars 258 forks source link

Unable to install on virtual machine with only CPU #145

Open rocheston opened 1 month ago

rocheston commented 1 month ago

I get this error No CUDA found

sudo pip3 install stable-audio-tools

How to install on CPU only machines with no GPU?

--Detail error ---

    File "/usr/local/lib/python3.12/dist-packages/torch/utils/cpp_extension.py", line 2416, in _join_cuda_home
      raise OSError('CUDA_HOME environment variable is not set. '
  OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

  torch.__version__  = 2.4.1+cpu

  [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.