[Example] Add sequence parallel all-to-all examples - #66
Conversation
|
👋 Hi! Thank you for contributing to the TileScale project. Please remember to run We appreciate you taking this step! Our team will review your contribution, and we look forward to your awesome work! 🚀 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughAdded three distributed sequence-parallel all-to-all examples. The examples include TileLang kernels, PyTorch references, peer-memory allocation, correctness checks, benchmarks, multiprocess tests, and runtime documentation. ChangesSequence-parallel all-to-all examples
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Launcher
participant ProcessGroup
participant DistributedAllocator
participant TileLangKernel
participant Validation
Launcher->>ProcessGroup: Spawn and initialize ranks
ProcessGroup->>DistributedAllocator: Create peer-backed tensors
DistributedAllocator->>TileLangKernel: Provide source and destination buffers
TileLangKernel->>DistributedAllocator: Exchange blocks with T.put_block
TileLangKernel->>Validation: Return redistributed output
Validation->>ProcessGroup: Synchronize and compare with reference
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Testing
pre-commit run --files <changed files>B=2, H=32, S=8192, D=128, 4 GPUs): 131-139 us; no regression versus the migrated legacy examplesSummary by CodeRabbit
New Features
Tests