Configuration Errors
These errors appear when running ng_run or ng_collect_rollouts. NeMo Gym validates configuration at startup before launching servers.
Configuration for complete configuration syntax and options.
Startup Errors
Errors that prevent servers from starting.
Missing Mandatory Value
When: A required variable (usually in env.yaml) is not defined.
Fix: Add the missing value to env.yaml:
Or pass via command line:
Server Reference Not Found
When: A server config references another server that doesn’t exist or isn’t loaded.
Common causes:
- Typo in the server name
- Referenced server’s config file not included in
+config_paths - Server defined in a different config file that wasn’t loaded
Fix:
- Check server name spelling in your config
- Ensure all required config files are in
+config_paths:
Validation Errors
Errors where config structure is correct but values are invalid.
Almost-Servers Detected
When: Config has the right structure (server type, entrypoint) but contains invalid field values.
Common causes:
- Invalid
domainvalue for resources servers - Invalid
licensevalue in dataset configs - Missing required fields for the server type
Fix: Check the validation error path (for example, resources_servers -> example_server -> domain) and update the field with a valid value. Refer to configuration-reference for valid field values.
Bypass Strict Validation
To continue with invalid configs (invalid servers will be skipped):
Bypassing validation means invalid servers won’t start. Use this only for debugging, not production.