You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -36,16 +36,11 @@ To test the correctness of NSA:
36
36
pytest tests/test_nsa.py
37
37
```
38
38
39
-
To validate the correctness of NSA with top‑k selection (ignoring the output from the compressed attention), run the command below. Please note that the initial trial may take some time as the kernel compiles, but subsequent runs will be faster.
39
+
To validate the correctness of NSA with top‑k selection, run the command below. Please note that the initial trial may take some time as the kernel compiles, but subsequent runs will be faster.
40
40
```py
41
41
pytest tests/test_nsa_with_compression.py
42
42
```
43
43
44
-
To verify the correctness of the top‑k selection, where sampling Q and K from a uniform distribution produces similar importance scores (resulting in slight variations in the top‑k selection), we validate this component separately. To run the test, execute:
0 commit comments