runtime error
Exit code: 1. Reason: 4 [00:29<00:09, 9.80s/it][A model-00004-of-00004.safetensors: 0%| | 0.00/259M [00:00<?, ?B/s][A model-00004-of-00004.safetensors: 100%|ββββββββββ| 259M/259M [00:00<00:00, 297MB/s] Downloading shards: 100%|ββββββββββ| 4/4 [00:30<00:00, 6.44s/it][A Downloading shards: 100%|ββββββββββ| 4/4 [00:30<00:00, 7.61s/it] Traceback (most recent call last): File "/home/user/app/app.py", line 37, in <module> model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 559, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3710, in from_pretrained model = cls(config, *model_args, **model_kwargs) File "/home/user/.cache/huggingface/modules/transformers_modules/ByteDance/Sa2VA-4B/b5ffed229f3ede90298cfa2b56e8d4481fe757b2/modeling_sa2va_chat.py", line 133, in __init__ self.language_model = Qwen2ForCausalLM(config.llm_config) File "/usr/local/lib/python3.10/site-packages/transformers/models/qwen2/modeling_qwen2.py", line 1146, in __init__ super().__init__(config) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1322, in __init__ config = self._autoset_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1481, in _autoset_attn_implementation cls._check_and_enable_flash_attn_2( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1592, 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...