> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/sdgm/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/sdgm/_mcp/server.

# max_epochs

#### `max_epochs: <int>` (Optional)

## Description

The maximum number of epochs to train. An epoch is defined as the process of completing the specified number of steps, i.e., `max_steps_per_epoch` steps, and Kumo evaluates your model on the validation set at the end of each epoch.

* `max_epochs`must be `> 0`.

### Supported Task Types

* All

### Default Values

| run\_mode | Default Value |
| --------- | ------------- |
| FAST      | `8`           |
| NORMAL    | `12`          |
| BEST      | `16`          |