nemo_automodel.components.models.qwen3_8_flash_next.processing
nemo_automodel.components.models.qwen3_8_flash_next.processing
Image-text processor of Qwen3.8-Flash-Next models, assembled from Transformers classes.
Module Contents
Classes
Functions
Data
API
Bases: typing.TypedDict
Bounds on the resized area of one image, in pixels (height times width, not edge lengths).
With 16-pixel patches merged 2x2, one image yields its resized area divided by 1024 placeholder tokens.
Assemble the image-text processor of a checkpoint from Transformers classes.
The tokenizer and its chat template are read from the tokenizer-compat
subfolder; the image and video processors are read from the checkpoint root.
Parameters:
Local directory or hub id of the checkpoint.
Per-image area bounds replacing the ones in the checkpoint’s
preprocessor_config.json; None keeps the checkpoint’s bounds.
Returns: Qwen3VLProcessor
Processor whose tokenizer and chat template come from tokenizer-compat/.
Raises:
ValueError: If thetokenizer-compat/tokenizer carries no chat template.