runtime error
Exit code: 1. Reason: malicious code. To avoid downloading new versions of the code file, you can pin a revision. A new version of the following files was downloaded from https://huggingface.co/openbmb/MiniCPM-V-2: - modeling_minicpmv.py - modeling_minicpm.py - resampler.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 9, in <module> tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True) File "/usr/local/lib/python3.13/site-packages/transformers/models/auto/tokenization_auto.py", line 732, in from_pretrained tokenizer_class = get_class_from_dynamic_module(class_ref, pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.13/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.13/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 1023, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/root/.cache/huggingface/modules/transformers_modules/openbmb/MiniCPM_hyphen_V_hyphen_2/b9a02dbfcc87e471b13f8d1c6963747db31427db/modeling_minicpmv.py", line 12, in <module> from .modeling_minicpm import MiniCPMForCausalLM, MiniCPMPreTrainedModel File "/root/.cache/huggingface/modules/transformers_modules/openbmb/MiniCPM_hyphen_V_hyphen_2/b9a02dbfcc87e471b13f8d1c6963747db31427db/modeling_minicpm.py", line 57, in <module> from transformers.utils.import_utils import is_torch_fx_available ImportError: cannot import name 'is_torch_fx_available' from 'transformers.utils.import_utils' (/usr/local/lib/python3.13/site-packages/transformers/utils/import_utils.py)
Container logs:
Fetching error logs...