runtime error
Exit code: 1. Reason: json: 100%|ββββββββββ| 10.9k/10.9k [00:00<00:00, 16.3MB/s] tokenizer.json: 0%| | 0.00/9.73M [00:00<?, ?B/s][A tokenizer.json: 100%|ββββββββββ| 9.73M/9.73M [00:00<00:00, 29.4MB/s] chat_template.jinja: 0%| | 0.00/6.52k [00:00<?, ?B/s][A chat_template.jinja: 100%|ββββββββββ| 6.52k/6.52k [00:00<00:00, 16.0MB/s] `torch_dtype` is deprecated! Use `dtype` instead! modeling_minimax_m2.py: 0%| | 0.00/30.9k [00:00<?, ?B/s][A modeling_minimax_m2.py: 100%|ββββββββββ| 30.9k/30.9k [00:00<00:00, 44.6MB/s] A new version of the following files was downloaded from https://huggingface.co/MiniMaxAI/MiniMax-M2.7: - modeling_minimax_m2.py . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision. Traceback (most recent call last): File "/app/app.py", line 46, in <module> model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 369, in from_pretrained model_class = get_class_from_dynamic_module( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 583, in get_class_from_dynamic_module return get_class_in_module(class_name, final_module, force_reload=force_download) File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 309, in get_class_in_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/root/.cache/huggingface/modules/transformers_modules/MiniMaxAI/MiniMax_hyphen_M2_dot_7/53be88a28c08f8e200ad796e681cf344c86fd775/modeling_minimax_m2.py", line 24, in <module> from typing import Optional, Union, Unpack ImportError: cannot import name 'Unpack' from 'typing' (/usr/local/lib/python3.10/typing.py)
Container logs:
Fetching error logs...