> 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_test_steps

#### `max_test_steps: <integer>` (Optional)

## Description

The maximum number of test steps to perform. If set, `max_test_steps` will override the number of test steps set by [`run_mode`](/run-mode). Setting `max_test_steps` is useful for customizing the time spent on testing the model.

* By default `max_test_steps` is set according to [`run_mode`](/run-mode).
* `max_test_steps`must be `> 0`.

### Supported Task Types

* All

### Default Values

| run\_mode | Default Value |
| --------- | ------------- |
| FAST      | `2000`        |
| NORMAL    | `4000`        |
| BEST      | `4000`        |