Repository navigation
Conversation
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
8928444 to
15c0902
Compare
15c0902 to
36574b0
Compare
36574b0 to
6662017
Compare
|
Updated the code and PR body. DeepGEMM warmup keeps reducing its buffer size down to the smallest requested M. Compile-all warmup is skipped when that minimum exceeds the available-memory estimate, allowing first-use JIT of uncached shapes. |
6662017 to
bd62024
Compare
…/deferred/avoid map - 3A [24-35]: NVFP4 MoE boot sgl-project#39807/sgl-project#40173, block-FP8 TP refine sgl-project#42566, k-pool indexer split sgl-project#43619, SM120 skinny GEMM sgl-project#42865/sgl-project#42867, DeepGEMM warmup guards sgl-project#32686/sgl-project#43712, autotune sgl-project#43363/sgl-project#40420, mHC overlap sgl-project#42985, FP8-einsum precompile sgl-project#42821. - 3B [36-43]: PCIe CustomAllreduce VMM sgl-project#44448, EP local expert ids sgl-project#44480, shm TP broadcast sgl-project#44202, PCIe-IPC all-gather sgl-project#42863 + multicast guard sgl-project#41888, TP-sampling consistency sgl-project#41916/sgl-project#38565, draft embed/lm_head VRAM sgl-project#37155. - sgl-project#39807 toolchain commit verified safe against our CUDA_HOME=12.9 pin (cu13 fallback needs CUDA_HOME unset AND glibc>=2.41; we are 2.39). - stack_want.txt: execution-status banner. Branch tip 5dd6ec7.
|
Thanks @ormandj. Closing this because you have 46 PRs open and none updated in 7 days, over our soft cap of 5 for idle PRs. Reopen the two or three you most want reviewed - a short active set moves faster than a long idle one. Some directories moved recently, so an older branch may need retargeting: |
Motivation
DeepGEMM compile-all warmup stops reducing its buffer size at
M=2048, even when a smaller requested shape would fit. If the smallest requested shape cannot fit, attempting the allocation still risks a startup OOM.Modifications
Continue halving the buffer size down to the smallest requested M. Skip compile-all warmup if that minimum exceeds the available-memory estimate; first use may still JIT the uncached shape. Preserve main's compile lock and current-device memory query, kernel selection and cache keys.
Accuracy Tests
5 CPU tests passed, covering reduced allocation, skipping an oversized minimum and symmetric-memory context restoration. The regression exercises reduction below the 2048 floor. GPU startup warmup has not been tested.
Speed Tests and Profiling
Only affects compile-all warmup. A skipped shape may compile on first use. No startup-duration benchmark was run.
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciDeveloped with AI assistance.
CI States
Latest PR Test (Base): ❌ Run #37577724631
Latest PR Test (Extra): ❌ Run #37577724516
Latest PR Test (AMD ROCm 10): ❌ Run #37577724488