runtime error
Exit code: 1. Reason: 84, in run _build_ext.run(self) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run self.build_extensions() File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 499, in build_extensions _check_cuda_version(compiler_name, compiler_version) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 387, in _check_cuda_version raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda)) RuntimeError: The detected CUDA version (12.3) mismatches the version that was used to compile PyTorch (11.7). Please make sure to use the same CUDA versions. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure Γ Encountered error while trying to install package. β°β> flash-attn note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. [notice] A new release of pip available: 22.3.1 -> 24.3.1 [notice] To update, run: pip install --upgrade pip 2024-11-16 02:35:18 | ERROR | stderr | Traceback (most recent call last): 2024-11-16 02:35:18 | ERROR | stderr | File "/home/user/app/app.py", line 154, in <module> 2024-11-16 02:35:18 | ERROR | stderr | subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'flash-attn', '--no-build-isolation', '-U']) 2024-11-16 02:35:18 | ERROR | stderr | File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/subprocess.py", line 369, in check_call 2024-11-16 02:35:18 | ERROR | stderr | raise CalledProcessError(retcode, cmd) 2024-11-16 02:35:18 | ERROR | stderr | subprocess.CalledProcessError: Command '['/home/user/.pyenv/versions/3.10.14/bin/python', '-m', 'pip', 'install', 'flash-attn', '--no-build-isolation', '-U']' returned non-zero exit status 1.
Container logs:
Fetching error logs...