Skip to content

Fix shift-parallel CUDA graph capture and dispatch - #258

Merged
sfc-gh-yewang merged 4 commits into
snowflakedb:mainfrom
xylian86:shift-parallel-cudagraph-fix-v2
Mar 28, 2026
Merged

Fix shift-parallel CUDA graph capture and dispatch#258
sfc-gh-yewang merged 4 commits into
snowflakedb:mainfrom
xylian86:shift-parallel-cudagraph-fix-v2

Conversation

@xylian86

Copy link
Copy Markdown
Contributor

Summary

This PR fixes CUDA graph integration for the shift-parallel model.

It wraps the shift model with CUDAGraphWrapper in full-cudagraph mode, registers shift-model cudagraph keys with the dispatcher, enables ca_comm during shift graph capture, and restricts/pads shift capture to batch sizes >= 8.

Why

The shift-parallel path was not fully aligned with cudagraph capture/runtime dispatch, which could lead to incorrect dispatch behavior and prevented using the intended custom all-reduce path during graph capture.

@sfc-gh-yewang
sfc-gh-yewang merged commit fba641f into snowflakedb:main Mar 28, 2026
2 checks passed
sfc-gh-mhidayetoglu pushed a commit to sfc-gh-mhidayetoglu/ArcticInference that referenced this pull request Aug 12, 2026
Cherry-picked from public repo: snowflakedb#258

Co-authored-by: Xinyu Lian <lian7@illinois.edu>
Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants