runtime error
Exit code: 1. Reason: οΏ½βββββββββ 64.4/64.4 kB 7.1 MB/s eta 0:00:00 Building wheels for collected packages: flash-attn Building wheel for flash-attn (setup.py): started Building wheel for flash-attn (setup.py): finished with status 'done' Created wheel for flash-attn: filename=flash_attn-2.8.0.post2-py3-none-any.whl size=286447 sha256=5f135ab00a0f31ad01de9d673d1659e36808e5e427c540947b267e25e44c9a51 Stored in directory: /home/user/.cache/pip/wheels/10/75/1e/e6295a0eb90ee523c973cadae5c0fcc703ed0b87556d050b11 Successfully built flash-attn Installing collected packages: einops, flash-attn Successfully installed einops-0.8.1 flash-attn-2.8.0.post2 [notice] A new release of pip is available: 24.1.2 -> 25.1.1 [notice] To update, run: /usr/local/bin/python -m pip install --upgrade pip A new version of the following files was downloaded from https://huggingface.co/medieval-data/florence2-medieval-bbox-zone-detection: - configuration_florence2.py . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision. Traceback (most recent call last): File "/home/user/app/app.py", line 21, in <module> model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 551, in from_pretrained model_class = get_class_from_dynamic_module( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 502, in get_class_from_dynamic_module final_module = get_cached_module_file( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 327, in get_cached_module_file modules_needed = check_imports(resolved_module_file) File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 182, in check_imports raise ImportError( ImportError: This modeling file requires the following packages that were not found in your environment: flash_attn. Run `pip install flash_attn`
Container logs:
Fetching error logs...