runtime error
Exit code: 1. Reason: deepseek.py: 0%| | 0.00/78.7k [00:00<?, ?B/s][A modeling_deepseek.py: 100%|██████████| 78.7k/78.7k [00:00<00:00, 212MB/s] A new version of the following files was downloaded from https://huggingface.co/deepseek-ai/DeepSeek-V2.5-1210: - modeling_deepseek.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 "/home/user/app/app.py", line 6, in <module> pipe = pipeline("text-generation", model=model_name, trust_remote_code=True) File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 940, in pipeline framework, model = infer_framework_load_model( File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/base.py", line 289, in infer_framework_load_model model = model_class.from_pretrained(model, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 553, in from_pretrained model_class = get_class_from_dynamic_module( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 553, 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 250, 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 "/home/user/.cache/huggingface/modules/transformers_modules/deepseek-ai/DeepSeek-V2.5-1210/6f134cbe88cb9284a8ce696e8ac8eefd0bc24ede/modeling_deepseek.py", line 44, in <module> from transformers.pytorch_utils import ( ImportError: cannot import name 'is_torch_greater_or_equal_than_1_13' from 'transformers.pytorch_utils' (/usr/local/lib/python3.10/site-packages/transformers/pytorch_utils.py)
Container logs:
Fetching error logs...