runtime error

Exit code: 1. Reason: s: 0%| | 0.00/2.51G [00:00<?, ?B/s] model-00002-of-00002.safetensors: 1%| | 30.3M/2.51G [00:01<01:23, 29.8MB/s] model-00002-of-00002.safetensors: 3%|β–Ž | 81.2M/2.51G [00:02<00:57, 42.1MB/s] model-00002-of-00002.safetensors: 13%|β–ˆβ–Ž | 324M/2.51G [00:03<00:17, 128MB/s]  model-00002-of-00002.safetensors: 26%|β–ˆβ–ˆβ–Œ | 648M/2.51G [00:04<00:09, 202MB/s] model-00002-of-00002.safetensors: 41%|β–ˆβ–ˆβ–ˆβ–ˆβ– | 1.04G/2.51G [00:05<00:05, 253MB/s] model-00002-of-00002.safetensors: 55%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 1.37G/2.51G [00:06<00:04, 252MB/s] model-00002-of-00002.safetensors: 68%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 1.72G/2.51G [00:07<00:02, 271MB/s] model-00002-of-00002.safetensors: 95%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 2.38G/2.51G [00:08<00:00, 379MB/s] model-00002-of-00002.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.51G/2.51G [00:08<00:00, 282MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> model = AutoModelForImageTextToText.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 600, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 311, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4758, in from_pretrained config = cls._autoset_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2315, in _autoset_attn_implementation cls._check_and_enable_flash_attn_2( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2466, in _check_and_enable_flash_attn_2 raise ValueError( ValueError: FlashAttention2 has been toggled on, but it cannot be used due to the following error: Flash Attention 2 is not available on CPU. Please make sure torch can access a CUDA device.

Container logs:

Fetching error logs...