| Traceback (most recent call last): | |
| File "/tmp/LiquidAI_LFM2-VL-1.6B_0NTttRL.py", line 13, in <module> | |
| pipe = pipeline("image-text-to-text", model="LiquidAI/LFM2-VL-1.6B", trust_remote_code=True) | |
| File "/tmp/.cache/uv/environments-v2/6e3e46311085f7ee/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1178, in pipeline | |
| raise e | |
| File "/tmp/.cache/uv/environments-v2/6e3e46311085f7ee/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/6e3e46311085f7ee/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/6e3e46311085f7ee/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/6e3e46311085f7ee/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/6e3e46311085f7ee/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` | |