runtime error

Exit code: 1. Reason: /s] model-00002-of-00003.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰| 4.93G/4.93G [00:08<00:00, 558MB/s] Downloading shards: 67%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹ | 2/3 [00:18<00:09, 9.25s/it] model-00003-of-00003.safetensors: 0%| | 0.00/2.60G [00:00<?, ?B/s] model-00003-of-00003.safetensors: 4%|▍ | 105M/2.60G [00:01<00:26, 93.0MB/s] model-00003-of-00003.safetensors: 18%|β–ˆβ–Š | 461M/2.60G [00:02<00:09, 234MB/s]  model-00003-of-00003.safetensors: 47%|β–ˆβ–ˆβ–ˆβ–ˆβ–‹ | 1.23G/2.60G [00:03<00:02, 462MB/s] model-00003-of-00003.safetensors: 66%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 1.71G/2.60G [00:04<00:01, 464MB/s] model-00003-of-00003.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰| 2.60G/2.60G [00:05<00:00, 493MB/s] Downloading shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:24<00:00, 7.54s/it] Downloading shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:24<00:00, 8.02s/it] Traceback (most recent call last): File "/home/user/app/app.py", line 74, 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 261, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4159, in from_pretrained config = cls._autoset_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1555, in _autoset_attn_implementation cls._check_and_enable_flash_attn_2( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1699, 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...