runtime error
Exit code: 1. Reason: ome/user/.pyenv/versions/3.10.16/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/detail/static.h:3, from /home/user/.pyenv/versions/3.10.16/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/python.h:3, from csrc/flash_attn/flash_api.cpp:6: /home/user/.pyenv/versions/3.10.16/lib/python3.10/site-packages/torch/include/ATen/core/Generator.h:167:75: note: in passing argument 1 of ‘T* at::get_generator_or_default(const c10::optional<at::Generator>&, const at::Generator&) [with T = at::CUDAGeneratorImpl]’ 167 | static inline T* get_generator_or_default(const c10::optional<Generator>& gen, const Generator& default_gen) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ error: command '/usr/bin/gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for flash-attn Failed to build flash-attn [notice] A new release of pip is available: 24.3.1 -> 25.0 [notice] To update, run: pip install --upgrade pip ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (flash-attn) 2025-02-04 12:12:33 | ERROR | stderr | Traceback (most recent call last): 2025-02-04 12:12:33 | ERROR | stderr | File "/home/user/app/app.py", line 13, in <module> 2025-02-04 12:12:33 | ERROR | stderr | subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'flash-attn', '--no-build-isolation', '-U']) 2025-02-04 12:12:33 | ERROR | stderr | File "/home/user/.pyenv/versions/3.10.16/lib/python3.10/subprocess.py", line 369, in check_call 2025-02-04 12:12:33 | ERROR | stderr | raise CalledProcessError(retcode, cmd) 2025-02-04 12:12:33 | ERROR | stderr | subprocess.CalledProcessError: Command '['/home/user/.pyenv/versions/3.10.16/bin/python', '-m', 'pip', 'install', 'flash-attn', '--no-build-isolation', '-U']' returned non-zero exit status 1.
Container logs:
Fetching error logs...