Need to update processing_kimi_vl.py to remove references to _validate_images_text_input_orde
#2
by
jrp2024
- opened
The function _validate_images_text_input_order from transformers.processing_utils was removed in the Hugging Face transformers library around version 4.54. It was specifically noted as deprecated since transformers v4.54 in a discussion related to models that previously used it.
The import error (ImportError: cannot import name '_validate_images_text_input_order') confirms that it is no longer present in the version of the transformers library that I am are currently using ((4.57.3)
The change seems to be
from transformers.processing_utils import ProcessingKwargs, ProcessorMixin, Unpack, _validate_images_text_input_order
should be replaced by
from transformers.processing_utils import ProcessingKwargs, ProcessorMixin, Unpack