ariG23498 HF Staff commited on
Commit
37b94de
·
verified ·
1 Parent(s): 9d115c9

Upload OpenGVLab_InternVL3_5-GPT-OSS-20B-A4B-Preview_0.txt with huggingface_hub

Browse files
OpenGVLab_InternVL3_5-GPT-OSS-20B-A4B-Preview_0.txt ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/tmp/OpenGVLab_InternVL3_5-GPT-OSS-20B-A4B-Preview_0zYDtQd.py", line 13, in <module>
3
+ pipe = pipeline("image-text-to-text", model="OpenGVLab/InternVL3_5-GPT-OSS-20B-A4B-Preview", trust_remote_code=True)
4
+ File "/tmp/.cache/uv/environments-v2/b5957c1e9479bbc2/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1008, 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/b5957c1e9479bbc2/lib/python3.13/site-packages/transformers/pipelines/base.py", line 332, 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 OpenGVLab/InternVL3_5-GPT-OSS-20B-A4B-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/b5957c1e9479bbc2/lib/python3.13/site-packages/transformers/pipelines/base.py", line 292, in infer_framework_load_model
23
+ model = model_class.from_pretrained(model, **kwargs)
24
+ File "/tmp/.cache/uv/environments-v2/b5957c1e9479bbc2/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 603, in from_pretrained
25
+ raise ValueError(
26
+ ...<2 lines>...
27
+ )
28
+ ValueError: Unrecognized configuration class <class 'transformers_modules.OpenGVLab.InternVL3_5-GPT-OSS-20B-A4B-Preview.3095d1ab1318e6922ffd92682403e7a273c5124e.configuration_internvl_chat.InternVLChatConfig'> for this kind of AutoModel: AutoModelForImageTextToText.
29
+ Model type should be one of AriaConfig, AyaVisionConfig, BlipConfig, Blip2Config, ChameleonConfig, Cohere2VisionConfig, DeepseekVLConfig, DeepseekVLHybridConfig, Emu3Config, EvollaConfig, FuyuConfig, Gemma3Config, Gemma3nConfig, GitConfig, Glm4vConfig, GotOcr2Config, IdeficsConfig, Idefics2Config, Idefics3Config, InstructBlipConfig, InternVLConfig, JanusConfig, Kosmos2Config, Llama4Config, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, Mistral3Config, MllamaConfig, 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/b5957c1e9479bbc2/lib/python3.13/site-packages/transformers/pipelines/base.py", line 310, in infer_framework_load_model
35
+ model = model_class.from_pretrained(model, **fp32_kwargs)
36
+ File "/tmp/.cache/uv/environments-v2/b5957c1e9479bbc2/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 603, in from_pretrained
37
+ raise ValueError(
38
+ ...<2 lines>...
39
+ )
40
+ ValueError: Unrecognized configuration class <class 'transformers_modules.OpenGVLab.InternVL3_5-GPT-OSS-20B-A4B-Preview.3095d1ab1318e6922ffd92682403e7a273c5124e.configuration_internvl_chat.InternVLChatConfig'> for this kind of AutoModel: AutoModelForImageTextToText.
41
+ Model type should be one of AriaConfig, AyaVisionConfig, BlipConfig, Blip2Config, ChameleonConfig, Cohere2VisionConfig, DeepseekVLConfig, DeepseekVLHybridConfig, Emu3Config, EvollaConfig, FuyuConfig, Gemma3Config, Gemma3nConfig, GitConfig, Glm4vConfig, GotOcr2Config, IdeficsConfig, Idefics2Config, Idefics3Config, InstructBlipConfig, InternVLConfig, JanusConfig, Kosmos2Config, Llama4Config, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, Mistral3Config, MllamaConfig, PaliGemmaConfig, PerceptionLMConfig, Pix2StructConfig, PixtralVisionConfig, Qwen2_5_VLConfig, Qwen2VLConfig, ShieldGemma2Config, SmolVLMConfig, UdopConfig, VipLlavaConfig, VisionEncoderDecoderConfig.
42
+
43
+
44
+