Hugging Face's logo
ler06
/
Runtime error

runtime error

Exit code: 1. Reason: ted-with-error Γ— python setup.py egg_info did not run successfully. β”‚ exit code: 1 ╰─> [19 lines of output] torch.__version__ = 2.2.0+cu121 /tmp/pip-install-3y91g0os/flash-attn_1970a999e5374085805f57d287e8db16/setup.py:106: UserWarning: flash_attn was requested, but nvcc was not found. Are you sure your environment has nvcc available? If you're installing within a container from https://hub.docker.com/r/pytorch/pytorch, only images whose names contain 'devel' will provide nvcc. warnings.warn( Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/tmp/pip-install-3y91g0os/flash-attn_1970a999e5374085805f57d287e8db16/setup.py", line 198, in <module> CUDAExtension( File "/usr/local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1074, in CUDAExtension library_dirs += library_paths(cuda=True) File "/usr/local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1201, in library_paths if (not os.path.exists(_join_cuda_home(lib_dir)) and File "/usr/local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2407, 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. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 25.0 -> 25.0.1 [notice] To update, run: pip install --upgrade 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. Failed to install flash-attn: Command '['pip', 'install', 'flash-attn', '--no-build-isolation']' returned non-zero exit status 1.

Container logs:

Fetching error logs...