runtime error
Exit code: 1. Reason: s][A model.safetensors: 96%|ββββββββββ| 1.55G/1.62G [00:02<00:00, 641MB/s] [A model.safetensors: 100%|ββββββββββ| 1.62G/1.62G [00:04<00:00, 386MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 20, in <module> model = AutoModelForSpeechSeq2Seq.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 604, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 277, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4971, in from_pretrained model = cls(config, *model_args, **model_kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/models/whisper/modeling_whisper.py", line 1171, in __init__ super().__init__(config) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2076, in __init__ self.config._attn_implementation_internal = self._check_and_adjust_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2686, in _check_and_adjust_attn_implementation applicable_attn_implementation = self.get_correct_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2714, in get_correct_attn_implementation self._flash_attn_2_can_dispatch(is_init_check) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2422, in _flash_attn_2_can_dispatch raise ImportError(f"{preface} the package flash_attn seems to be not installed. {install_message}") ImportError: FlashAttention2 has been toggled on, but it cannot be used due to the following error: the package flash_attn seems to be not installed. 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...