runtime error
Exit code: 1. Reason: ys resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( config.json: 0%| | 0.00/2.43k [00:00<?, ?B/s][A config.json: 100%|██████████| 2.43k/2.43k [00:00<00:00, 8.58MB/s] configuration_florence2.py: 0%| | 0.00/15.1k [00:00<?, ?B/s][A configuration_florence2.py: 100%|██████████| 15.1k/15.1k [00:00<00:00, 85.5MB/s] A new version of the following files was downloaded from https://huggingface.co/microsoft/florence-2-base: - 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. modeling_florence2.py: 0%| | 0.00/127k [00:00<?, ?B/s][A modeling_florence2.py: 100%|██████████| 127k/127k [00:00<00:00, 17.6MB/s] ERROR:__main__:Failed to load model: This modeling file requires the following packages that were not found in your environment: flash_attn. Run `pip install flash_attn` Traceback (most recent call last): File "/home/user/app/app.py", line 15, in <module> model = AutoModelForCausalLM.from_pretrained("microsoft/florence-2-base", trust_remote_code=True) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 553, in from_pretrained model_class = get_class_from_dynamic_module( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 488, 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 315, 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 180, 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...