launch: give RL islands the env Megatron actually wants (re-land #63 on main) - #68
Merged
Merged
Conversation
Megatron's argument validation refuses tensor or context parallelism without it. The SSH harness already sets it per container; the sky/Modal island task did not, so the first TP4 island (Qwen3.6-27B on 8xH100) failed in parse_args before loading anything.
The island envs forced the unfused attention backend. The learner already passes --attention-backend per recipe and Megatron sets the three NVTE variables from that flag in every actor, so the pin was redundant for the generic provider and fatal for the flash recipes: the Qwen3.6-27B island asserted 'NVTE_FLASH_ATTN set to 0, but expected 1' at model construction.
The two commits on this branch had no OpenSpec change of their own. Records them under the sky-rl-island-runtime capability that fix-sky-island-ray-stop introduces: the island's env must satisfy Megatron's precondition for TP>1 and must not pin an attention backend the learner did not choose. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#63 was merged into its stacked base branch after that branch had already landed on main, so its changes never reached main. This PR carries the same branch onto main; its diff against main is exactly #63's changes.
🤖 Generated with Claude Code