Fea transformer hstu inference 456 - #491
Open
Junyi-Zheng wants to merge 2 commits into
Open
Junyi-Zheng wants to merge 2 commits into
Junyi-Zheng wants to merge 2 commits into
Conversation
Reuse recommendation preprocessing and paged KV interfaces, separate checkpoint handling, and wire inference/export entry points. Add numerical and export regression coverage; document pending CUDA and serving validation. Signed-off-by: Junyi Zheng <279671317+Junyi-Zheng@users.noreply.github.com>
Add public API docstrings and distinguish private layer metadata and capture buffers from the documented checkpoint and graph interfaces. Signed-off-by: Junyi Zheng <279671317+Junyi-Zheng@users.noreply.github.com>
Contributor
|
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.
Description
Related to #456.
Add an opt-in Transformer backbone to the existing HSTU recommendation inference workflow, while keeping HSTU as the default.
Validation
git diff --checkpassed.Limitations
CUDA-only tests were skipped because the local environment has no NVIDIA GPU. Native cache transfers, CUDA graph execution, complete GPU export, and Triton serving still require validation.
This is a reference padded-SDPA backend; GPU memory and performance have not been benchmarked. It requires its documented Transformer checkpoint layout.
Checklist