Run A Hosted Evaluation#

This guide runs eval/model_eval in launcher mode against an already-running OpenAI-compatible endpoint. For the out-of-the-box hosted verification run, use tiny_chat.yaml.

This flow uses NeMo Evaluator Launcher’s own executor, which is local in tiny_chat.yaml. To run the harness in a Nemotron-scheduled job instead, on Slurm, Lepton, Run:ai, or DGX Cloud, use Run A Direct-Mode Evaluation.

Prerequisites#

  • The Nemotron repository is synced with uv sync --extra evaluator.

  • A reachable endpoint URL.

  • The endpoint’s advertised model id.

  • A credential exported as an environment variable.

Choose The Starting Config#

Config

Use

tiny_chat.yaml

Hosted chat verification run in launcher mode. Runs mmlu_instruct with limit_samples: 1.

default.yaml

Launcher-managed checkpoint deployment and evaluation. Use this when the launcher should deploy a Megatron Bridge checkpoint.

direct.yaml and the suite configs

Direct mode against an endpoint you host. Refer to Run A Direct-Mode Evaluation.

Hosted chat verification in launcher mode should start with tiny_chat.yaml.

Set Endpoint Values#

export NVIDIA_API_KEY="<your-api-key>"
export NEMO_EVALUATOR_MODEL_URL="<full-chat-completions-url>"
export NEMO_EVALUATOR_MODEL_ID="<endpoint-model-id>"
export NEMO_EVALUATOR_ENDPOINT_TYPE=chat

The config stores the API key environment variable name, not the secret value.

Run And Stream Output#

uv run --no-sync nemotron steps run eval/model_eval \
  -c tiny_chat \
  output_dir=./output/eval-tiny-chat \
  target.api_endpoint.url="$NEMO_EVALUATOR_MODEL_URL" \
  target.api_endpoint.model_id="$NEMO_EVALUATOR_MODEL_ID" \
  target.api_endpoint.api_key_name=NVIDIA_API_KEY \
  target.api_endpoint.type=chat \
  evaluation.nemo_evaluator_config.config.params.limit_samples=1

The step saves the launcher config and then calls NeMo Evaluator Launcher. If the launcher returns an invocation id, the command prints the status and log commands to run next.

To compile the Nemotron job without invoking the launcher:

uv run --no-sync nemotron steps run eval/model_eval -d -c tiny_chat \
  target.api_endpoint.url="$NEMO_EVALUATOR_MODEL_URL" \
  target.api_endpoint.model_id="$NEMO_EVALUATOR_MODEL_ID"

To invoke the launcher in its own dry-run mode:

uv run --no-sync nemotron steps run eval/model_eval -c tiny_chat dry_run=true

Validate Output Artifacts#

After the run completes, list files under output_dir.

find ./output/eval-tiny-chat -maxdepth 5 -type f | sort

The exact file set is owned by NeMo Evaluator Launcher and can vary by task version.