runtime error
ected packages: einops, flash-attn Successfully installed einops-0.8.0 flash-attn-2.6.2 [notice] A new release of pip available: 22.3.1 -> 24.1.2 [notice] To update, run: /usr/local/bin/python -m pip install --upgrade pip Downloading shards: 0%| | 0/4 [00:00<?, ?it/s][A Downloading shards: 25%|██▌ | 1/4 [00:18<00:54, 18.05s/it][A Downloading shards: 50%|█████ | 2/4 [00:36<00:36, 18.09s/it][A Downloading shards: 75%|███████▌ | 3/4 [00:55<00:18, 18.51s/it][A Downloading shards: 100%|██████████| 4/4 [01:02<00:00, 13.92s/it][A Downloading shards: 100%|██████████| 4/4 [01:02<00:00, 15.52s/it] The model was loaded with use_flash_attention_2=True, which is deprecated and may be removed in a future release. Please use `attn_implementation="flash_attention_2"` instead. Traceback (most recent call last): File "/home/user/app/app.py", line 4, in <module> from chatbot import model_inference, EXAMPLES, chatbot File "/home/user/app/chatbot.py", line 33, in <module> model = LlavaForConditionalGeneration.from_pretrained(model_id,torch_dtype=torch.float16, use_flash_attention_2=True, low_cpu_mem_usage=True) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3782, in from_pretrained config = cls._autoset_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1522, in _autoset_attn_implementation cls._check_and_enable_flash_attn_2( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1633, in _check_and_enable_flash_attn_2 raise ImportError(f"{preface} Flash Attention 2 is not available. {install_message}") ImportError: FlashAttention2 has been toggled on, but it cannot be used due to the following error: Flash Attention 2 is not available. 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...