File size: 1,729 Bytes
616bd33 85b7a2a 616bd33 85b7a2a 616bd33 85b7a2a 616bd33 85b7a2a 616bd33 85b7a2a 616bd33 85b7a2a 616bd33 85b7a2a 616bd33 |
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-1.6B_0X7Okei.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 1198, in pipeline
raise e
File "/tmp/.cache/uv/environments-v2/6e3e46311085f7ee/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1189, 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 382, 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 569, 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 392, 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 224, 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`
|