ariG23498 HF Staff commited on
Commit
24b0f1a
·
verified ·
1 Parent(s): 7f4317c

Upload moondream_moondream3-preview_0.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. moondream_moondream3-preview_0.txt +37 -27
moondream_moondream3-preview_0.txt CHANGED
@@ -1,34 +1,44 @@
1
  Traceback (most recent call last):
2
- File "/tmp/moondream_moondream3-preview_0HZCwbP.py", line 13, in <module>
3
  pipe = pipeline("image-text-to-text", model="moondream/moondream3-preview", trust_remote_code=True)
4
- File "/tmp/.cache/uv/environments-v2/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 922, 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/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1302, 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/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 569, 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/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 432, 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/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 392, in get_cached_module_file
29
- modules_needed = check_imports(resolved_module_file)
30
- File "/tmp/.cache/uv/environments-v2/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 224, 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`
 
 
 
 
 
1
  Traceback (most recent call last):
2
+ File "/tmp/moondream_moondream3-preview_04heUCH.py", line 16, in <module>
3
  pipe = pipeline("image-text-to-text", model="moondream/moondream3-preview", trust_remote_code=True)
4
+ File "/tmp/.cache/uv/environments-v2/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1028, in pipeline
5
+ framework, model = infer_framework_load_model(
6
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~^
7
+ adapter_path if adapter_path is not None else model,
8
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9
+ ...<5 lines>...
10
+ **model_kwargs,
11
+ ^^^^^^^^^^^^^^^
12
  )
13
+ ^
14
+ File "/tmp/.cache/uv/environments-v2/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/pipelines/base.py", line 333, in infer_framework_load_model
15
+ raise ValueError(
16
+ f"Could not load model {model} with any of the following classes: {class_tuple}. See the original errors:\n\n{error}\n"
 
 
 
 
 
17
  )
18
+ ValueError: Could not load model moondream/moondream3-preview with any of the following classes: (<class 'transformers.models.auto.modeling_auto.AutoModelForImageTextToText'>,). See the original errors:
19
+
20
+ while loading with AutoModelForImageTextToText, an error is thrown:
21
+ Traceback (most recent call last):
22
+ File "/tmp/.cache/uv/environments-v2/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/pipelines/base.py", line 293, in infer_framework_load_model
23
+ model = model_class.from_pretrained(model, **kwargs)
24
+ File "/tmp/.cache/uv/environments-v2/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 607, in from_pretrained
25
+ raise ValueError(
26
+ ...<2 lines>...
27
  )
28
+ ValueError: Unrecognized configuration class <class 'transformers_modules.moondream.moondream3-preview.710f8473712bf9362f28c04d99edbf1421945c15.hf_moondream.HfConfig'> for this kind of AutoModel: AutoModelForImageTextToText.
29
+ Model type should be one of AriaConfig, AyaVisionConfig, BlipConfig, Blip2Config, ChameleonConfig, Cohere2VisionConfig, DeepseekVLConfig, DeepseekVLHybridConfig, Emu3Config, EvollaConfig, Florence2Config, FuyuConfig, Gemma3Config, Gemma3nConfig, GitConfig, Glm4vConfig, Glm4vMoeConfig, GotOcr2Config, IdeficsConfig, Idefics2Config, Idefics3Config, InstructBlipConfig, InternVLConfig, JanusConfig, Kosmos2Config, Kosmos2_5Config, Llama4Config, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, Mistral3Config, MllamaConfig, Ovis2Config, PaliGemmaConfig, PerceptionLMConfig, Pix2StructConfig, PixtralVisionConfig, Qwen2_5_VLConfig, Qwen2VLConfig, ShieldGemma2Config, SmolVLMConfig, UdopConfig, VipLlavaConfig, VisionEncoderDecoderConfig.
30
+
31
+ During handling of the above exception, another exception occurred:
32
+
33
+ Traceback (most recent call last):
34
+ File "/tmp/.cache/uv/environments-v2/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/pipelines/base.py", line 311, in infer_framework_load_model
35
+ model = model_class.from_pretrained(model, **fp32_kwargs)
36
+ File "/tmp/.cache/uv/environments-v2/5db196627ca8f3c8/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 607, in from_pretrained
37
+ raise ValueError(
38
  ...<2 lines>...
39
  )
40
+ ValueError: Unrecognized configuration class <class 'transformers_modules.moondream.moondream3-preview.710f8473712bf9362f28c04d99edbf1421945c15.hf_moondream.HfConfig'> for this kind of AutoModel: AutoModelForImageTextToText.
41
+ Model type should be one of AriaConfig, AyaVisionConfig, BlipConfig, Blip2Config, ChameleonConfig, Cohere2VisionConfig, DeepseekVLConfig, DeepseekVLHybridConfig, Emu3Config, EvollaConfig, Florence2Config, FuyuConfig, Gemma3Config, Gemma3nConfig, GitConfig, Glm4vConfig, Glm4vMoeConfig, GotOcr2Config, IdeficsConfig, Idefics2Config, Idefics3Config, InstructBlipConfig, InternVLConfig, JanusConfig, Kosmos2Config, Kosmos2_5Config, Llama4Config, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, Mistral3Config, MllamaConfig, Ovis2Config, PaliGemmaConfig, PerceptionLMConfig, Pix2StructConfig, PixtralVisionConfig, Qwen2_5_VLConfig, Qwen2VLConfig, ShieldGemma2Config, SmolVLMConfig, UdopConfig, VipLlavaConfig, VisionEncoderDecoderConfig.
42
+
43
+
44
+