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

Deprecation warnings for custom model classes scheduled for removal.

## Module Contents

### Functions

| Name                                                                                                       | Description                                                           |
| ---------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [`warn_deprecated_model_class`](#nemo_automodel-components-models-deprecation-warn_deprecated_model_class) | Emit a deprecation warning for custom model classes removed in 26.10. |

### Data

[`_DEPRECATED_MODEL_YAMLS`](#nemo_automodel-components-models-deprecation-_DEPRECATED_MODEL_YAMLS)

### API

```python
nemo_automodel.components.models.deprecation.warn_deprecated_model_class(
    model_cls_name: str
) -> None
```

Emit a deprecation warning for custom model classes removed in 26.10.

**Parameters:**

Name of the model class being instantiated.

```python
nemo_automodel.components.models.deprecation._DEPRECATED_MODEL_YAMLS: dict[str, tuple[str, ...]] = {'BaichuanForCausalLM': ('examples/llm_finetune/baichuan/baichuan_2_7b_mock_fp8....
```