runtime error
Exit code: 1. Reason: ��█▊ | 2.07G/4.25G [00:05<00:04, 458MB/s][A model-00007-of-00007.safetensors: 63%|██████▎ | 2.67G/4.25G [00:06<00:03, 504MB/s][A model-00007-of-00007.safetensors: 75%|███████▌ | 3.19G/4.25G [00:07<00:02, 486MB/s][A model-00007-of-00007.safetensors: 90%|████████▉ | 3.82G/4.25G [00:08<00:00, 529MB/s][A model-00007-of-00007.safetensors: 100%|█████████▉| 4.25G/4.25G [00:08<00:00, 473MB/s] Downloading shards: 100%|██████████| 7/7 [01:13<00:00, 10.33s/it][A Downloading shards: 100%|██████████| 7/7 [01:13<00:00, 10.53s/it] Traceback (most recent call last): File "/home/user/app/app.py", line 4, in <module> from chatbot import chatbot, model_inference, BOT_AVATAR, EXAMPLES, model_selector, decoding_strategy, temperature, max_new_tokens, repetition_penalty, top_p File "/home/user/app/chatbot.py", line 31, in <module> "idefics2-8b-chatty": Idefics2ForConditionalGeneration.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3544, in from_pretrained config = cls._autoset_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/models/idefics2/modeling_idefics2.py", line 1385, in _autoset_attn_implementation config = super()._autoset_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1454, in _autoset_attn_implementation cls._check_and_enable_flash_attn_2( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1555, 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...