> This page is for version 0.7.0 · 26.10.
> For other versions, use one of these documentation indexes:
> - Nightly (default): https://docs.nvidia.com/nemo/automodel/nightly/llms.txt
> - Latest: https://docs.nvidia.com/nemo/automodel/latest/llms.txt
> - 0.7.0 · 26.10: https://docs.nvidia.com/nemo/automodel/v0.7/llms.txt
> - 0.5.0 · 26.06: https://docs.nvidia.com/nemo/automodel/v0.5/llms.txt
> - 0.4.0 · 26.04: https://docs.nvidia.com/nemo/automodel/v0.4/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/automodel/llms.txt.

# 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

| Name                                                                                                                       | Description                                                                                |
| -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [`Qwen3_8_FlashNextImageSize`](#nemo_automodel-components-models-qwen3_8_flash_next-processing-Qwen3_8_FlashNextImageSize) | Bounds on the resized area of one image, in pixels (height times width, not edge lengths). |

### Functions

| Name                                                                                                                                     | Description                                                                  |
| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [`load_qwen3_8_flash_next_processor`](#nemo_automodel-components-models-qwen3_8_flash_next-processing-load_qwen3_8_flash_next_processor) | Assemble the image-text processor of a checkpoint from Transformers classes. |

### Data

[`_COMPAT_TOKENIZER_SUBFOLDER`](#nemo_automodel-components-models-qwen3_8_flash_next-processing-_COMPAT_TOKENIZER_SUBFOLDER)

### API

```python
class nemo_automodel.components.models.qwen3_8_flash_next.processing.Qwen3_8_FlashNextImageSize
```

**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.

**`longest_edge`** `int`

---

**`shortest_edge`** `int`

---

```python
nemo_automodel.components.models.qwen3_8_flash_next.processing.load_qwen3_8_flash_next_processor(
    pretrained_model_name_or_path: str,
    size: nemo_automodel.components.models.qwen3_8_flash_next.processing.Qwen3_8_FlashNextImageSize | None = None
) -> transformers.Qwen3VLProcessor
```

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:**

**`pretrained_model_name_or_path`** `str`

Local directory or hub id of the checkpoint.

---

**`size`** `Qwen3_8_FlashNextImageSize | None` — default: None

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 the `tokenizer-compat/` tokenizer carries no chat template.

```python
nemo_automodel.components.models.qwen3_8_flash_next.processing._COMPAT_TOKENIZER_SUBFOLDER = 'tokenizer-compat'
```