> ## Documentation Index
> Fetch the complete documentation index at: https://starforge.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# sf validate

> Validate an experiment config

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
sf validate my-grpo
```

Checks the experiment's config against its method declaration — types, ranges, batch-size
divisibility, and whether every key you set actually exists. Runs entirely on your machine and
touches no cluster.

Run it before every submit. A typo caught here costs four seconds; the same typo caught after
dispatch costs a queue wait and an allocation.

```text theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
✓ experiments/my-grpo/config.yaml
✓ 34 parameters checked against nemo-rl/grpo@0.7.0
```

[`sf submit`](/en/cli/submit) runs this automatically unless you pass `--no-validate`.

## `sf validate`

Validate an experiment config

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
sf validate <EXP>
```

| Argument | Description                            |
| -------- | -------------------------------------- |
| `EXP`    | Experiment name or path (**required**) |

No options beyond `--help`.
