Repository navigation
Wzj demo - #1628
Open
hiworldwzj wants to merge 9 commits into
Open
Wzj demo#1628hiworldwzj wants to merge 9 commits into
hiworldwzj wants to merge 9 commits into
Conversation
Maintain request token mappings in pinned CPU memory and upload pending ranges before inference. Fuse prefill and decode padding with Triton, reduce CPU input construction overhead, and mark synchronization sites for further analysis. Validation: 128 tests passed across padding kernels, model inputs and outputs, MTP batch alignment, CUDA Graph replay, and overlap paths.
Restore blank-line spacing from the PR base without changing code behavior.
Keep pinned CPU request indexes local and publish pending GPU indexes before DP cache transfers. Reuse GPU index tables for cache loading and offloading, and cache prompt ID buffers per CUDA stream to avoid unnecessary allocation and synchronization. Document the lifecycle and cross-stream risks of borrowing inference index tables. Update regression tests for stream isolation, async counting, DP index publication, and cache loading. Validation: 42 focused tests passed; git diff --check passed.
Replace linked nodes with a deque while preserving allocation order, recently freed index reuse, capacity tracking, and duplicate-release checks. Validation: 51 request-manager tests passed; formatting and git diff --check passed.
Rely on the inference entrypoint stream dependency to order first-token writes before GPU reads. Document that CPU request updates do not require waiting for the CUDA write and that future stream changes must preserve this dependency. Validation: 19 PD and paged-allocation tests passed; git diff --check passed.
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.
No description provided.