> 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.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/automodel/_mcp/server.

# nemo_automodel.components.models.deepseek_v41.vision

Reuse the unchanged DeepSeek vision encoder with the V4.1 nested config.

## Module Contents

### Classes

| Name                                                                                                                 | Description                                                                |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [`DeepseekV41VisionAligner`](#nemo_automodel-components-models-deepseek_v41-vision-DeepseekV41VisionAligner)         | The released padded spatial merger and GELU projection into text width.    |
| [`DeepseekV41VisionTransformer`](#nemo_automodel-components-models-deepseek_v41-vision-DeepseekV41VisionTransformer) | The released full-attention 2D-RoPE ViT, configured by nested V4.1 fields. |

### Functions

| Name                                                                                     | Description                                                                       |
| ---------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [`_vision_config`](#nemo_automodel-components-models-deepseek_v41-vision-_vision_config) | Translate the typed V4.1 config into the existing vision implementation's config. |

### API

```python
class nemo_automodel.components.models.deepseek_v41.vision.DeepseekV41VisionAligner(
    config: nemo_automodel.components.models.deepseek_v41.config.DeepseekV41Config
)
```

**Bases:** [DeepseekV4VisionAligner](/nemo-automodel/nemo_automodel/components/models/deepseek_v4/vision#nemo_automodel-components-models-deepseek_v4-vision-DeepseekV4VisionAligner)

The released padded spatial merger and GELU projection into text width.

**Parameters:**

**`config`** `DeepseekV41Config`

Top-level V4.1 configuration containing vision and text widths.

---

```python
class nemo_automodel.components.models.deepseek_v41.vision.DeepseekV41VisionTransformer(
    config: nemo_automodel.components.models.deepseek_v41.config.DeepseekV41Config
)
```

**Bases:** [DeepseekV4VisionTransformer](/nemo-automodel/nemo_automodel/components/models/deepseek_v4/vision#nemo_automodel-components-models-deepseek_v4-vision-DeepseekV4VisionTransformer)

The released full-attention 2D-RoPE ViT, configured by nested V4.1 fields.

**Parameters:**

**`config`** `DeepseekV41Config`

Top-level V4.1 configuration containing the vision dimensions.

---

```python
nemo_automodel.components.models.deepseek_v41.vision._vision_config(
    config: nemo_automodel.components.models.deepseek_v41.config.DeepseekV41Config
) -> nemo_automodel.components.models.deepseek_v4.config.DeepseekV4Config
```

Translate the typed V4.1 config into the existing vision implementation's config.