File size: 1,729 Bytes
1321696 856ada6 1321696 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
Traceback (most recent call last): File "/tmp/LiquidAI_LFM2-VL-450M_0f486Ua.py", line 13, in <module> pipe = pipeline("image-text-to-text", model="LiquidAI/LFM2-VL-450M", trust_remote_code=True) File "/tmp/.cache/uv/environments-v2/7e38b95086156af9/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1178, in pipeline raise e File "/tmp/.cache/uv/environments-v2/7e38b95086156af9/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1169, in pipeline processor = AutoProcessor.from_pretrained(processor, _from_pipeline=task, **hub_kwargs, **model_kwargs) File "/tmp/.cache/uv/environments-v2/7e38b95086156af9/lib/python3.13/site-packages/transformers/models/auto/processing_auto.py", line 376, in from_pretrained processor_class = get_class_from_dynamic_module( processor_auto_map, pretrained_model_name_or_path, **kwargs ) File "/tmp/.cache/uv/environments-v2/7e38b95086156af9/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 570, in get_class_from_dynamic_module final_module = get_cached_module_file( repo_id, ...<8 lines>... repo_type=repo_type, ) File "/tmp/.cache/uv/environments-v2/7e38b95086156af9/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file modules_needed = check_imports(resolved_module_file) File "/tmp/.cache/uv/environments-v2/7e38b95086156af9/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports raise ImportError( ...<2 lines>... ) ImportError: This modeling file requires the following packages that were not found in your environment: PIL. Run `pip install PIL` |