Hugging Face's logo
Cesarcr
/
Runtime error

runtime error

removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( Downloading shards: 0%| | 0/7 [00:00<?, ?it/s] Downloading shards: 14%|β–ˆβ– | 1/7 [00:10<01:04, 10.69s/it] Downloading shards: 29%|β–ˆβ–ˆβ–Š | 2/7 [00:51<02:22, 28.44s/it] Downloading shards: 43%|β–ˆβ–ˆβ–ˆβ–ˆβ–Ž | 3/7 [01:38<02:26, 36.74s/it] Downloading shards: 57%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹ | 4/7 [02:10<01:45, 35.06s/it] Downloading shards: 71%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 5/7 [02:48<01:12, 36.12s/it] Downloading shards: 86%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 6/7 [03:28<00:37, 37.27s/it] Downloading shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7/7 [04:02<00:00, 36.30s/it] Downloading shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7/7 [04:02<00:00, 34.64s/it] Traceback (most recent call last): File "/home/user/app/app.py", line 82, 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...