runtime error
Exit code: 1. Reason: ) File "/root/.pyenv/versions/3.13.12/lib/python3.13/site-packages/transformers/modeling_utils.py", line 277, in _wrapper return func(*args, **kwargs) File "/root/.pyenv/versions/3.13.12/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4971, in from_pretrained model = cls(config, *model_args, **model_kwargs) File "/root/.pyenv/versions/3.13.12/lib/python3.13/site-packages/qwen_tts/core/models/modeling_qwen3_tts.py", line 1817, in __init__ super().__init__(config) ~~~~~~~~~~~~~~~~^^^^^^^^ File "/root/.pyenv/versions/3.13.12/lib/python3.13/site-packages/transformers/modeling_utils.py", line 2076, in __init__ self.config._attn_implementation_internal = self._check_and_adjust_attn_implementation( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ self.config._attn_implementation, is_init_check=True ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/root/.pyenv/versions/3.13.12/lib/python3.13/site-packages/transformers/modeling_utils.py", line 2686, in _check_and_adjust_attn_implementation applicable_attn_implementation = self.get_correct_attn_implementation( applicable_attn_implementation, is_init_check ) File "/root/.pyenv/versions/3.13.12/lib/python3.13/site-packages/transformers/modeling_utils.py", line 2714, in get_correct_attn_implementation self._flash_attn_2_can_dispatch(is_init_check) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/root/.pyenv/versions/3.13.12/lib/python3.13/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...