Repository navigation
Conversation
|
The following ciflow label(s) have been added but CI has not been triggered yet because the workflows are awaiting approval:
Once a maintainer approves the workflows (scroll to the bottom of the PR page), the corresponding CI jobs will be triggered automatically. Please ping one of the reviewers if you do not have access to approve and run workflows. |
songhappy
force-pushed
the
rl-oneccl-workarounds
branch
from
October 15, 2026 01:03
65e7afc to
aa6b0ba
Compare
oneCCL 2022 hangs when a process that hosts a TorchStore storage volume also runs FSDP collectives (oneCCL pytorch#222), and concurrent first weight pulls deadlock in communicator creation (pytorch#225). On XPU, MonarchActorSystem therefore runs the storage volumes in their own procs, a twin of the trainer mesh on the same devices (MonarchActorSystem.Config.storage_volumes_in_own_procs), and the router runs the first pull after setup one generator at a time (InterGeneratorRouter.Config.sequential_initial_pull). Both default to device_type == "xpu", so CUDA is unchanged.
songhappy
force-pushed
the
rl-oneccl-workarounds
branch
from
October 28, 2026 21:17
aa6b0ba to
3abfd72
Compare
songhappy
added a commit
to songhappy/torchtitan
that referenced
this pull request
Nov 30, 2026
…orch#5404 closed pytorch#5402 rebased and made device-generic; pytorch#5403 is now PBSLauncher on upstream's scheduler launchers; the allocator and vLLM-eager settings move to the launcher and recipe.
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.
Part of the RFC #5401 (GRPO on Intel XPU).
Contains only the oneCCL workarounds; merge after #5403. On its own,
train.pybuilds the storage-volume twin mesh onthis_host(); once #5403 lands, that call uses the job's trainer hosts (host_meshes.trainer) -- a one-line rebase.Two oneCCL 2022 bugs break weight sync on XPU (filed with standalone C reproducers): uxlfoundation/oneCCL#222 (a cross-node broadcast from a process whose first communicator was an FSDP one moves no data) and uxlfoundation/oneCCL#225 (concurrent communicator creation fails).
Controller.Config.storage_volumes_in_own_procs: TorchStore storage volumes run in a twin of the trainer mesh (same hosts and devices), whose first communicator is a weight-pull one.InterGeneratorRouter.Config.sequential_initial_pull: the first weight pull runs one generator at a time; later pulls stay concurrent.Both default to
device_type == "xpu", so CUDA is unchanged; they can be removed once oneCCL ships fixes. Validated on ALCF Aurora (torch 2.14.0+xpu, oneCCL 2022.1.1, vLLM main, Qwen3-0.6B GRPO, full + LoRA): 18/18 regression (2 nodes x 1/2/4/8/12 tiles, 16 nodes x 4/12 tiles, 1- and 8-node 10-step runs). This branch targets current main, which needs torch nightly while vLLM's XPU support pins torch 2.14, so it was checked line by line against the tested torch-2.14 branch.