ariG23498 HF Staff commited on
Commit
1b15727
·
verified ·
1 Parent(s): a76bc4f

Upload vikhyatk_moondream2_0.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. vikhyatk_moondream2_0.txt +34 -0
vikhyatk_moondream2_0.txt ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/tmp/vikhyatk_moondream2_0vgzNSQ.py", line 13, in <module>
3
+ pipe = pipeline("image-text-to-text", model="vikhyatk/moondream2", trust_remote_code=True)
4
+ File "/tmp/.cache/uv/environments-v2/2a90239f0d4c576b/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 931, in pipeline
5
+ config = AutoConfig.from_pretrained(
6
+ model, _from_pipeline=task, code_revision=code_revision, **hub_kwargs, **model_kwargs
7
+ )
8
+ File "/tmp/.cache/uv/environments-v2/2a90239f0d4c576b/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1211, in from_pretrained
9
+ config_class = get_class_from_dynamic_module(
10
+ class_ref, pretrained_model_name_or_path, code_revision=code_revision, **kwargs
11
+ )
12
+ File "/tmp/.cache/uv/environments-v2/2a90239f0d4c576b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 570, in get_class_from_dynamic_module
13
+ final_module = get_cached_module_file(
14
+ repo_id,
15
+ ...<8 lines>...
16
+ repo_type=repo_type,
17
+ )
18
+ File "/tmp/.cache/uv/environments-v2/2a90239f0d4c576b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 433, in get_cached_module_file
19
+ get_cached_module_file(
20
+ ~~~~~~~~~~~~~~~~~~~~~~^
21
+ pretrained_model_name_or_path,
22
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23
+ ...<8 lines>...
24
+ _commit_hash=commit_hash,
25
+ ^^^^^^^^^^^^^^^^^^^^^^^^^
26
+ )
27
+ ^
28
+ File "/tmp/.cache/uv/environments-v2/2a90239f0d4c576b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file
29
+ modules_needed = check_imports(resolved_module_file)
30
+ File "/tmp/.cache/uv/environments-v2/2a90239f0d4c576b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports
31
+ raise ImportError(
32
+ ...<2 lines>...
33
+ )
34
+ ImportError: This modeling file requires the following packages that were not found in your environment: PIL. Run `pip install PIL`