Repository navigation
Conversation
Signed-off-by: Ajinkya Rasane <[email protected]>
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
This was referenced Nov 5, 2026
This branch has not been deployed
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.
What does this PR do?
Type of change: new feature
Add replicated data parallel GSQ calibration and restart checkpoints on top of #3173. This is the second PR in the series and intentionally targets
ajrasane/gsq-nvfp4-weight-onlyso its diff contains only the extension.Sample counts and logical batches are global; microbatches are per rank. Keep uneven tails and empty rank contributions. Reject non-replicated placement, custom subgroups and mismatched configurations, and coordinate rank-local failures before the next collective.
Restore single-process and multi-process GSQ restart support. Completed distributed checkpoints restore without data replay; copied state preserves shared native scale aliases. File-backed activation caches, linear reconstruction and streaming GSQ export remain excluded.
Usage
The two data files contain long tensors shaped
[global_sequences, sequence_length]. The example initializes WORLD, binds the local GPU, shards each split separately and writes the completed model on rank zero. On multiple nodes, supply matching rendezvous settings and shared checkpoint/output paths. Source model, tokenizer, datasets and ordering must remain unchanged on resume; the forward-loop API cannot identify them.Testing
Quality gains, production scaling and actual cross-machine execution remain unverified. No evaluation campaigns or model downloads were submitted for this split.
All new commits contain SSH signatures that verify locally. GitHub currently reports
unknown_keyfor the configured signing key, so their signatures are not shown as Verified there.Before your PR is "Ready for review"
Follow Contributor guidelines and Security Best Practices. Commits are signed and signed off.
CONTRIBUTING.md: N/A — no new dependency or copied third-party source.Additional Information
Merge order: #3173 first; then retarget this PR to
main. The repository defers GPU/example/regression required checks for a PR targeting another feature branch. Focused GPU checks were therefore run directly on this branch; normal required CI must run after retargeting.Merge danger: reversible source change. Shared layerwise checkpoint persistence and restore are the main regression surface. Multi-rank failures must reach the same collective boundaries before advancing the checkpoint manifest.