runtime error
Exit code: 1. Reason: : 25%|██▌ | 1.24G/4.95G [00:02<00:05, 712MB/s] [A model-00002-of-00003.safetensors: 56%|█████▌ | 2.78G/4.95G [00:03<00:02, 1.08GB/s][A model-00002-of-00003.safetensors: 89%|████████▉ | 4.42G/4.95G [00:04<00:00, 1.27GB/s][A model-00002-of-00003.safetensors: 100%|██████████| 4.95G/4.95G [00:06<00:00, 733MB/s] model-00003-of-00003.safetensors: 0%| | 0.00/1.20G [00:00<?, ?B/s][A model-00003-of-00003.safetensors: 0%| | 849k/1.20G [00:01<33:11, 602kB/s][A model-00003-of-00003.safetensors: 83%|████████▎ | 998M/1.20G [00:03<00:00, 339MB/s][A model-00003-of-00003.safetensors: 100%|██████████| 1.20G/1.20G [00:05<00:00, 229MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 17, in <module> model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 564, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 279, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4336, in from_pretrained config = cls._autoset_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2109, in _autoset_attn_implementation cls._check_and_enable_flash_attn_2( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2252, in _check_and_enable_flash_attn_2 raise ImportError(f"{preface} the package flash_attn seems to be not installed. {install_message}") ImportError: FlashAttention2 has been toggled on, but it cannot be used due to the following error: the package flash_attn seems to be not installed. Please refer to the documentation of https://huggingface.co/docs/transformers/perf_infer_gpu_one#flashattention-2 to install Flash Attention 2.
Container logs:
Fetching error logs...