Upload zai-org_GLM-ASR-Nano-2512_1.txt with huggingface_hub
Browse files5 unmodified lines678991011126 unmodified lines192021222223242425265 unmodified lines
ERROR: Traceback (most recent call last): File "/tmp/zai-org_GLM-ASR-Nano-2512_1igCSvL.py", line 25, in <module> File "/tmp/zai-org_GLM-ASR-Nano-2512_19B7Ulz.py", line 25, in <module> model = AutoModelForCausalLM.from_pretrained("zai-org/GLM-ASR-Nano-2512", trust_remote_code=True, dtype="auto") File "/tmp/.cache/uv/environments-v2/1f148c168d860d2b/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 586, in from_pretrained model_class = get_class_from_dynamic_module(6 unmodified lines ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "<frozen importlib._bootstrap_external>", line 1026, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/tmp/.cache/huggingface/modules/transformers_modules/zai_hyphen_org/GLM_hyphen_ASR_hyphen_Nano_hyphen_2512/fdc39709f86b00cdce879c04d967c2146ce4053c/modeling_glmasr.py", line 9, in <module> File "/tmp/.cache/huggingface/modules/transformers_modules/zai_hyphen_org/GLM_hyphen_ASR_hyphen_Nano_hyphen_2512/179a99d189eee664e623e504186538c683deb0cc/modeling_glmasr.py", line 9, in <module> from .modeling_audio import WhisperSpecialEncoder File "/tmp/.cache/huggingface/modules/transformers_modules/zai_hyphen_org/GLM_hyphen_ASR_hyphen_Nano_hyphen_2512/fdc39709f86b00cdce879c04d967c2146ce4053c/modeling_audio.py", line 8, in <module> File "/tmp/.cache/huggingface/modules/transformers_modules/zai_hyphen_org/GLM_hyphen_ASR_hyphen_Nano_hyphen_2512/179a99d189eee664e623e504186538c683deb0cc/modeling_audio.py", line 7, in <module> from transformers.models.whisper.modeling_whisper import WhisperEncoder, WhisperEncoderLayer, WhisperFlashAttention2ImportError: cannot import name 'WhisperFlashAttention2' from 'transformers.models.whisper.modeling_whisper' (/tmp/.cache/uv/environments-v2/1f148c168d860d2b/lib/python3.13/site-packages/transformers/models/whisper/modeling_whisper.py)zai-org_GLM-ASR-Nano-2512_1.txt+3-3