> This page is for version Nightly (default).
> 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.
> 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.d1.config

Serializable configuration for the released D1 Omni composition.

## Module Contents

### Classes

| Name                                                                       | Description                                                      |
| -------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| [`D1OmniConfig`](#nemo_automodel-components-models-d1-config-D1OmniConfig) | Configure the Omni encoder, marker head, and perception modules. |

### API

```python
class nemo_automodel.components.models.d1.config.D1OmniConfig(
    text_config: dict[str, typing.Any] | transformers.Lfm2Config | None = None,
    vision_config: dict[str, typing.Any] | None = None,
    audio_config: dict[str, typing.Any] | None = None,
    projector_hidden_size: int = 2048,
    head_layers: int = 2,
    max_length: int = 16384,
    image_text_length: int = 896,
    audio_text_length: int = 15360,
    temperatures: dict[str, float] | None = None,
    tie_word_embeddings: bool = False,
    kwargs: typing.Any = {}
)
```

**Bases:** `PretrainedConfig`

Configure the Omni encoder, marker head, and perception modules.

**`audio_config`** `= dict(audio_config or {})`

---

**`model_type`** `= 'd1_omni'`

---

**`sub_configs`** `= {'text_config': Lfm2Config}`

---

**`temperatures`** `= dict(temperatures or {})`

---

**`text_config`**

---

**`vision_config`** `= dict(vision_config or {})`

---

```python
nemo_automodel.components.models.d1.config.D1OmniConfig.to_dict() -> dict[str, typing.Any]
```

Serialize HF subconfig fields and the release's legacy rotary key.

**Returns:** `dict[str, Any]`

Configuration mapping reloadable by native and published Omni classes.