Add SM70/SM75 forward GDN backend#17
Open
weicj wants to merge 2 commits into
Open
Conversation
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.
Summary
This PR adds an explicit SM70/SM75 forward inference backend entry point for Qwen-style Gated DeltaNet.
The Hopper/SM90 TileLang path remains unchanged and stays the default. The new backend targets the Volta/Turing legacy family through a standard CUDA warp-shuffle implementation. Runtime validation of the standalone kernel was performed on RTX 2080 Ti / SM75; SM70 has compile coverage and still needs V100-class runtime validation.
Changes
flash_qla.ops.gated_delta_rule.legacy.chunk_gated_delta_rule_fwd_legacy.Scope
Supported:
D=128Not supported:
Evidence
Runtime validation of the standalone kernel was performed on RTX 2080 Ti / SM75. The same kernel code compiles for SM70, but SM70 runtime and performance validation is not claimed yet.
Standalone kernel timing for a Qwen-like shape:
B=1, T=512, Hq=16, Hv=32, D=1281.126 ms0.520-0.533 ms2.1xGGUF runtime profiling on SM75:
406.656 ms195.105 ms2.08xWhole-request impact under the same server parameters:
+7.17%+0.61%-3.49%The intended claim is limited to an explicit legacy forward path with measured GDN-stage improvement on SM75 and compile coverage for SM70. This PR does not claim a new end-to-end FlashQLA headline result.
Validation