Skip to content

docs: Add Tutorial 09 - Configuration Management - #183

Merged
bxyu-nvidia merged 2 commits into
mainfrom
docs/119-tutorial-09-configuration
Oct 19, 2025
Merged

bxyu-nvidia merged 2 commits into
mainfrom
docs/119-tutorial-09-configuration

Conversation

@cwing-nvidia

Copy link
Copy Markdown
Contributor

Description

Add Tutorial 09 - Configuration Management, providing a comprehensive guide to NeMo Gym's flexible three-tier configuration system.

Content

Configuration System Overview

NeMo Gym uses three configuration sources with clear priority hierarchy:

  1. Server YAML configs (base configurations, lowest priority)
  2. env.yaml (secrets and environment-specific values)
  3. Command line arguments (runtime overrides, highest priority)

Key Topics Covered

  • Server Configuration Files: Structure, hierarchy, and multi-server setups
  • Environment Configuration: Secrets management with env.yaml and best practices
  • Command Line Overrides: Runtime customization using Hydra syntax
  • Policy Model Variables: Standard placeholders for model configuration
  • Configuration Resolution: Step-by-step process of how configs are merged
  • Practical Scenarios: Dev/prod environments, multi-resource testing, custom ports
  • Troubleshooting: Common issues and validation error messages
  • Best Practices: Keeping secrets secure, organizing configs, documentation

Learning Outcomes

After reading this tutorial, users will understand:

  • How to separate secrets from version-controlled configs
  • When to use each configuration source
  • How to override settings for different environments
  • How to swap components without code changes
  • How to debug configuration issues

Related to #119

- Add comprehensive configuration guide covering three-tier system
- Explain server YAML configs, env.yaml, and command line overrides
- Include configuration resolution process and hierarchy
- Provide practical scenarios for dev/prod, multi-resource testing
- Add troubleshooting section for common configuration issues
- Document best practices for secrets management
- Related to #119

Signed-off-by: Chris Wing <[email protected]>
@cwing-nvidia cwing-nvidia added this to the v0.1.0 milestone Oct 17, 2025
@cwing-nvidia cwing-nvidia added the documentation Improvements to documentation label Oct 17, 2025
… tutorial 11 and clean up trailing whitespace

Signed-off-by: Chris Wing <[email protected]>
@bxyu-nvidia
bxyu-nvidia merged commit 8f2e561 into main Oct 19, 2025
@bxyu-nvidia
bxyu-nvidia deleted the docs/119-tutorial-09-configuration branch October 19, 2025 20:03
bxyu-nvidia pushed a commit that referenced this pull request Oct 21, 2025
## Description
Add Tutorial 09 - Configuration Management, providing a comprehensive
guide to NeMo Gym's flexible three-tier configuration system.

## Content

### Configuration System Overview
NeMo Gym uses three configuration sources with clear priority hierarchy:
1. **Server YAML configs** (base configurations, lowest priority)
2. **env.yaml** (secrets and environment-specific values)
3. **Command line arguments** (runtime overrides, highest priority)

### Key Topics Covered
- **Server Configuration Files**: Structure, hierarchy, and multi-server
setups
- **Environment Configuration**: Secrets management with `env.yaml` and
best practices
- **Command Line Overrides**: Runtime customization using Hydra syntax
- **Policy Model Variables**: Standard placeholders for model
configuration
- **Configuration Resolution**: Step-by-step process of how configs are
merged
- **Practical Scenarios**: Dev/prod environments, multi-resource
testing, custom ports
- **Troubleshooting**: Common issues and validation error messages
- **Best Practices**: Keeping secrets secure, organizing configs,
documentation

### Learning Outcomes
After reading this tutorial, users will understand:
- How to separate secrets from version-controlled configs
- When to use each configuration source
- How to override settings for different environments
- How to swap components without code changes
- How to debug configuration issues

Related to #119

---------

Signed-off-by: Chris Wing <[email protected]>
Signed-off-by: Brian Yu <[email protected]>
abubakaria56 pushed a commit to abubakaria56/Gym that referenced this pull request Mar 2, 2026
## Description
Add Tutorial 09 - Configuration Management, providing a comprehensive
guide to NeMo Gym's flexible three-tier configuration system.

## Content

### Configuration System Overview
NeMo Gym uses three configuration sources with clear priority hierarchy:
1. **Server YAML configs** (base configurations, lowest priority)
2. **env.yaml** (secrets and environment-specific values)
3. **Command line arguments** (runtime overrides, highest priority)

### Key Topics Covered
- **Server Configuration Files**: Structure, hierarchy, and multi-server
setups
- **Environment Configuration**: Secrets management with `env.yaml` and
best practices
- **Command Line Overrides**: Runtime customization using Hydra syntax
- **Policy Model Variables**: Standard placeholders for model
configuration
- **Configuration Resolution**: Step-by-step process of how configs are
merged
- **Practical Scenarios**: Dev/prod environments, multi-resource
testing, custom ports
- **Troubleshooting**: Common issues and validation error messages
- **Best Practices**: Keeping secrets secure, organizing configs,
documentation

### Learning Outcomes
After reading this tutorial, users will understand:
- How to separate secrets from version-controlled configs
- When to use each configuration source
- How to override settings for different environments
- How to swap components without code changes
- How to debug configuration issues

Related to NVIDIA-NeMo#119

---------

Signed-off-by: Chris Wing <[email protected]>
abubakaria56 pushed a commit to abubakaria56/Gym that referenced this pull request Mar 2, 2026
## Description
Add Tutorial 09 - Configuration Management, providing a comprehensive
guide to NeMo Gym's flexible three-tier configuration system.

## Content

### Configuration System Overview
NeMo Gym uses three configuration sources with clear priority hierarchy:
1. **Server YAML configs** (base configurations, lowest priority)
2. **env.yaml** (secrets and environment-specific values)
3. **Command line arguments** (runtime overrides, highest priority)

### Key Topics Covered
- **Server Configuration Files**: Structure, hierarchy, and multi-server
setups
- **Environment Configuration**: Secrets management with `env.yaml` and
best practices
- **Command Line Overrides**: Runtime customization using Hydra syntax
- **Policy Model Variables**: Standard placeholders for model
configuration
- **Configuration Resolution**: Step-by-step process of how configs are
merged
- **Practical Scenarios**: Dev/prod environments, multi-resource
testing, custom ports
- **Troubleshooting**: Common issues and validation error messages
- **Best Practices**: Keeping secrets secure, organizing configs,
documentation

### Learning Outcomes
After reading this tutorial, users will understand:
- How to separate secrets from version-controlled configs
- When to use each configuration source
- How to override settings for different environments
- How to swap components without code changes
- How to debug configuration issues

Related to NVIDIA-NeMo#119

---------

Signed-off-by: Chris Wing <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants