runtime error

g>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/tmp/pip-install-m2rp19m5/flash-attn_76296b59899c4cd99fe5b05d8067831b/setup.py", line 133, in <module> CUDAExtension( File "/home/user/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1048, in CUDAExtension library_dirs += library_paths(cuda=True) File "/home/user/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1179, in library_paths if (not os.path.exists(_join_cuda_home(lib_dir)) and File "/home/user/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2223, in _join_cuda_home raise EnvironmentError('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. 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. [notice] A new release of pip available: 22.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip 2024-02-06 07:32:26 | ERROR | stderr | Traceback (most recent call last): 2024-02-06 07:32:26 | ERROR | stderr | File "/home/user/app/app.py", line 10, in <module> 2024-02-06 07:32:26 | ERROR | stderr | subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'flash-attn', '--no-build-isolation', '-U']) 2024-02-06 07:32:26 | ERROR | stderr | File "/usr/local/lib/python3.10/subprocess.py", line 369, in check_call 2024-02-06 07:32:26 | ERROR | stderr | raise CalledProcessError(retcode, cmd) 2024-02-06 07:32:26 | ERROR | stderr | subprocess.CalledProcessError: Command '['/usr/local/bin/python', '-m', 'pip', 'install', 'flash-attn', '--no-build-isolation', '-U']' returned non-zero exit status 1.

Container logs:

Fetching error logs...