File "/home/andy/miniconda3/lib/python3.13/site-packages/transformers/processing_utils.py", line 1185, in from_pretrained
args = cls._get_arguments_from_pretrained(pretrained_model_name_or_path, **kwargs)
File "/home/andy/miniconda3/lib/python3.13/site-packages/transformers/processing_utils.py", line 1248, in _get_arguments_from_pretrained
args.append(attribute_class.from_pretrained(pretrained_model_name_or_path, **kwargs))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/andy/miniconda3/lib/python3.13/site-packages/transformers/models/auto/video_processing_auto.py", line 360, in from_pretrained
raise ValueError(
...<3 lines>...
)
ValueError: Unrecognized video processor in OpenGVLab/InternVL3-2B-hf. Should have a
`video_processor_type` key in its video_preprocessor_config.json of config.json, or one of the following
`model_type` keys in its config.json: instructblipvideo, llava_next_video, llava_onevision, qwen2_5_vl, qwen2_vl, video_llava
Checklist
Describe the bug
I think it's related to Video processors as a separate class
The loading of the processor by AutoProcessor would trigger the bug:
Reproduction
from transformers import AutoProcessor
processor = AutoProcessor.from_pretrained("OpenGVLab/InternVL3-2B-hf")
Environment
Error traceback