You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move NeMo RL's nemo_gym imports to Gym's new module paths before Gym 0.10 #5254
Gym 0.8 reorganized the nemo_gym package. Old import paths still work through deprecation aliases (nemo_gym/_moved_paths.py), which emit a DeprecationWarning, and they are removed in Gym 0.10. The Gym bump in #5195 is RL's first Gym pin with these aliases.
RL still imports 11 moved modules, in 169 import lines (76 in nemo_rl/, 93 in tests/):
Old path
New path
Lines
nemo_gym.token_id_capture
nemo_gym.models.token_capture
103
nemo_gym._checkpoint
nemo_gym.server_runtime._checkpoint
33
nemo_gym.server_utils
nemo_gym.server_runtime.base_server
9
nemo_gym.episode_types
nemo_gym.core.episode_types
7
nemo_gym.rollout_collection
nemo_gym.rollouts.rollout_collection
6
nemo_gym.openai_utils
nemo_gym.client.openai_client
4
nemo_gym.global_config
nemo_gym.config.global_config
3
nemo_gym.responses_converter
nemo_gym.models.chat_completions_converter
1
nemo_gym._checkpoint.model
nemo_gym.models._checkpoint
1
nemo_gym.cli.setup_command
nemo_gym.server_runtime.supervisor.server_venv
1
nemo_gym.config_types
nemo_gym.config.config_types
1
Names split out of modules that stay (MOVED_NAMES in the same file) need a separate pass. Nothing breaks at the current pin; the imports should move before RL bumps Gym to 0.10.
Activity
four1er commentedon Nov 23, 2026
I am working on this — migrating the 169
nemo_gymimport lines to the new Gym 0.8 module paths per the table above, and will open a PR shortly.