CoolFace
Datasetpublic

model-metadata/custom_code_execution_files

sourceHugging Faceupdated 11mo agoView on Hugging Face
1likes3.9kdownloads
openbmb_MiniCPM-V-4_1.txt22 linesDownload Raw Back to root
1Traceback (most recent call last):2  File "/tmp/openbmb_MiniCPM-V-4_1GzfXP3.py", line 12, in <module>3    model = AutoModel.from_pretrained("openbmb/MiniCPM-V-4", trust_remote_code=True, torch_dtype="auto"),4            ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^5  File "/tmp/.cache/uv/environments-v2/67abe00338858a56/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained6    model_class = get_class_from_dynamic_module(7        class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs8    )9  File "/tmp/.cache/uv/environments-v2/67abe00338858a56/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 570, in get_class_from_dynamic_module10    final_module = get_cached_module_file(11        repo_id,12    ...<8 lines>...13        repo_type=repo_type,14    )15  File "/tmp/.cache/uv/environments-v2/67abe00338858a56/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file16    modules_needed = check_imports(resolved_module_file)17  File "/tmp/.cache/uv/environments-v2/67abe00338858a56/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports18    raise ImportError(19    ...<2 lines>...20    )21ImportError: This modeling file requires the following packages that were not found in your environment: PIL, torchvision. Run `pip install PIL torchvision`22