|
Traceback (most recent call last): |
|
File "/tmp/AIDC-AI_Ovis2.5-9B_01ZW5Al.py", line 13, in <module> |
|
pipe = pipeline("image-text-to-text", model="AIDC-AI/Ovis2.5-9B", trust_remote_code=True) |
|
File "/tmp/.cache/uv/environments-v2/142742a66d9bd62f/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1008, in pipeline |
|
framework, model = infer_framework_load_model( |
|
~~~~~~~~~~~~~~~~~~~~~~~~~~^ |
|
adapter_path if adapter_path is not None else model, |
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
...<5 lines>... |
|
**model_kwargs, |
|
^^^^^^^^^^^^^^^ |
|
) |
|
^ |
|
File "/tmp/.cache/uv/environments-v2/142742a66d9bd62f/lib/python3.13/site-packages/transformers/pipelines/base.py", line 332, in infer_framework_load_model |
|
raise ValueError( |
|
f"Could not load model {model} with any of the following classes: {class_tuple}. See the original errors:\n\n{error}\n" |
|
) |
|
ValueError: Could not load model AIDC-AI/Ovis2.5-9B with any of the following classes: (<class 'transformers.models.auto.modeling_auto.AutoModelForImageTextToText'>,). See the original errors: |
|
|
|
while loading with AutoModelForImageTextToText, an error is thrown: |
|
Traceback (most recent call last): |
|
File "/tmp/.cache/uv/environments-v2/142742a66d9bd62f/lib/python3.13/site-packages/transformers/pipelines/base.py", line 292, in infer_framework_load_model |
|
model = model_class.from_pretrained(model, **kwargs) |
|
File "/tmp/.cache/uv/environments-v2/142742a66d9bd62f/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 603, in from_pretrained |
|
raise ValueError( |
|
...<2 lines>... |
|
) |
|
ValueError: Unrecognized configuration class <class 'transformers_modules.AIDC-AI.Ovis2.5-9B.6300d5a42991da640db57ed42eef7db16faa9b2e.configuration_ovis2_5.Ovis2_5_Config'> for this kind of AutoModel: AutoModelForImageTextToText. |
|
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. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/tmp/.cache/uv/environments-v2/142742a66d9bd62f/lib/python3.13/site-packages/transformers/pipelines/base.py", line 310, in infer_framework_load_model |
|
model = model_class.from_pretrained(model, **fp32_kwargs) |
|
File "/tmp/.cache/uv/environments-v2/142742a66d9bd62f/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 603, in from_pretrained |
|
raise ValueError( |
|
...<2 lines>... |
|
) |
|
ValueError: Unrecognized configuration class <class 'transformers_modules.AIDC-AI.Ovis2.5-9B.6300d5a42991da640db57ed42eef7db16faa9b2e.configuration_ovis2_5.Ovis2_5_Config'> for this kind of AutoModel: AutoModelForImageTextToText. |
|
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. |
|
|
|
|
|
|
|
|