[None] Add the torch source implementation for new params. - #89
Merged
Conversation
Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com>
Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com>
nvchenghaoz
enabled auto-merge (squash)
July 16, 2025 18:33
lucaslie
pushed a commit
that referenced
this pull request
Jul 18, 2025
* Add the torch ref implementation for new params. Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> * Remove comment Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> --------- Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com>
lucaslie
added a commit
that referenced
this pull request
Jul 18, 2025
…)" This reverts commit c245cf3.
lucaslie
pushed a commit
that referenced
this pull request
Jul 21, 2025
* Add the torch ref implementation for new params. Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> * Remove comment Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> --------- Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com>
lucaslie
added a commit
that referenced
this pull request
Jul 21, 2025
…)" This reverts commit c245cf3.
nvchenghaoz
added a commit
that referenced
this pull request
Jul 26, 2025
* attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> * Update the torch ref op Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> * Revert "attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests" This reverts commit 5743fb3. --------- Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> Co-authored-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com>
MrGeva
pushed a commit
that referenced
this pull request
Jul 29, 2025
* attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> * Update the torch ref op Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> * Revert "attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests" This reverts commit 5743fb3. --------- Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> Co-authored-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com>
h-guo18
pushed a commit
that referenced
this pull request
Jul 30, 2025
* attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> * Update the torch ref op Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> * Revert "attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests" This reverts commit 5743fb3. --------- Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> Co-authored-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com>
lucaslie
pushed a commit
that referenced
this pull request
Jul 31, 2025
* attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> * Update the torch ref op Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> * Revert "attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests" This reverts commit 5743fb3. --------- Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> Co-authored-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com>
Fridah-nv
added a commit
that referenced
this pull request
Jul 31, 2025
* attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> * Update the torch ref op Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> * Revert "attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests" This reverts commit 5743fb3. --------- Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> Co-authored-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com>
Fridah-nv
added a commit
that referenced
this pull request
Jul 31, 2025
* attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> * Update the torch ref op Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> * Revert "attention matcher with torch._inductor pattern matcher,matching repeat kv, sdpa and group attention, update unit tests" This reverts commit 5743fb3. --------- Signed-off-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com> Signed-off-by: nvchenghaoz <211069071+nvchenghaoz@users.noreply.github.com> Co-authored-by: Frida Hou <201670829+Fridah-nv@users.noreply.github.com>
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.
Since we added logit cap / attention sinks / sliding window for the attention backend operators, update the torch source implementation for new these parameters.