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
Sharded NeMo Gym spinup timeout is fixed at 1800s and can expire before external_service_readiness #4565
Sharded NeMo Gym spinup has a fixed 1800s budget that no caller can change, and on jobs that use external vLLM pools that budget can run out before the pools' own startup deadline.
Result: with sharded Gym and an external pool that takes more than 30 minutes to load, shard spinup fails with ShardSetupError while the readiness gate would still have waited. Unsharded Gym is not affected, because it waits on _spinup with no timeout.
Proposed fix
Make env.nemo_gym.spinup_timeout real: read it where the sharded path is built and pass it as spinup_timeout, defaulting to the current 1800s. It should be removed from the Gym config before that config goes to Gym, like the other NeMo RL-only keys.
Optionally, when external_service_readiness is set, fail at setup if spinup_timeout is shorter than external_service_readiness.timeout_seconds, rather than timing out 30 minutes into startup.
Activity