Skip to content
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
cd2fbef
[Feat][NSA] Implement a NSA compression forward kernel.
yJnmIchaeL Feb 3, 2026
15d6ab4
[Feat][NSA] Implement a NSA compression forward kernel.
yJnmIchaeL Feb 3, 2026
df55aa3
[Feat][NSA] Implement a NSA compression forward kernel.
yJnmIchaeL Feb 3, 2026
2dd78a2
[Feat][NSA] Implement a NSA compression forward kernel.
yJnmIchaeL Feb 3, 2026
42f604d
[Feat][NSA] Implement a NSA compression forward kernel.
yJnmIchaeL Feb 3, 2026
35e228a
[Feat][NSA] Implement a NSA compression forward kernel.
yJnmIchaeL Feb 3, 2026
a2fb5f6
[Feat][NSA] Implement a GQA forward kernel with sliding window.
yJnmIchaeL Feb 5, 2026
e6e35ce
[Feat][NSA] Implement a GQA forward kernel with sliding window.
yJnmIchaeL Feb 5, 2026
3e159a4
[Feat][NSA] Implement a GQA forward kernel with sliding window.
yJnmIchaeL Feb 5, 2026
77f08bd
[Feat][NSA] Implement a GQA forward kernel with sliding window.
yJnmIchaeL Feb 5, 2026
5b788fe
[Feat][NSA] Implement a GQA forward kernel with sliding window.
yJnmIchaeL Feb 5, 2026
7b9f264
[Feat][NSA] Implement a GQA forward kernel with sliding window.
yJnmIchaeL Feb 5, 2026
d12ba27
[Feat][NSA] Implement a GQA forward kernel with sliding window.
yJnmIchaeL Feb 5, 2026
dcf2f40
[Fix][NSA] Fixed a bug in pytest parameter passing in .
yJnmIchaeL Feb 9, 2026
9e1cb40
Merge branch 'main' into pr-window
yJnmIchaeL Feb 9, 2026
81ade8a
[Fix][NSA] Fixed a bug in pytest parameter passing in .
yJnmIchaeL Feb 9, 2026
5f21cd5
Merge branch 'main' into pr-window
yJnmIchaeL Feb 10, 2026
4ce06c0
[Fix][NSA] Fixed a bug in pytest parameter passing in .
yJnmIchaeL Feb 10, 2026
9cda9e1
[Fix][NSA] Fixed a bug in pytest parameter passing in .
yJnmIchaeL Feb 10, 2026
056b03d
[Fix][NSA] Fixed a bug in pytest parameter passing in .
yJnmIchaeL Feb 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions tests/ops/test_deepseek_nsa_cmp_fwd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import inspect
import pytest
import torch

Expand Down Expand Up @@ -32,8 +33,12 @@ def test_nsa_cmp_fwd_varlen_op(

assert group % 16 == 0, "Group size must be a multiple of 16 in NSA"

# Use locals() to create params dictionary from function arguments
params = locals().copy()
# Create params dictionary from function arguments using the function signature
# to avoid including pytest-injected local variables.
# Note: Need to capture locals() before list comprehension due to scope issues
local_vars = locals()
sig = inspect.signature(globals()[inspect.stack()[0].function])
params = {name: local_vars[name] for name in sig.parameters}
benchmark = NSACmpFwdVarlenBenchmark(**params)
inputs = benchmark.gen_inputs()

Expand Down