Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
338 changes: 0 additions & 338 deletions tests/test_metal_kernel_paged.py

This file was deleted.

3 changes: 3 additions & 0 deletions tests/test_paged_deterministic.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"One plus one equals",
"The largest planet in our solar system is",
"Water boils at a temperature of",
"Machine learning is",
]

# fmt: off
Expand All @@ -57,6 +58,7 @@
"One plus one equals": [825, 11, 825, 5519, 825, 16819, 1378, 13, 2055, 11],
"The largest planet in our solar system is": [1112, 30, 362, 13, 43562, 425, 13, 48976, 356, 13],
"Water boils at a temperature of": [220, 16, 15, 15, 30937, 13, 3555, 374, 279, 9315],
"Machine learning is": [264, 7988, 5392, 429, 702, 13791, 1506, 279, 2070, 315],
}

# Golden token IDs from paged KV cache (HF kernel on main branch), greedy decoding.
Expand All @@ -68,6 +70,7 @@
"One plus one equals": [825, 11, 825, 5519, 825, 16819, 1378, 13, 2055, 11],
"The largest planet in our solar system is": [1112, 30, 362, 13, 43562, 425, 13, 48976, 356, 13],
"Water boils at a temperature of": [220, 16, 15, 15, 30937, 13, 3555, 374, 279, 9315],
"Machine learning is": [264, 7988, 5392, 429, 702, 13791, 1506, 279, 2070, 315],
}
# fmt: on

Expand Down
1 change: 1 addition & 0 deletions tools/gen_golden_token_ids_for_deterministics.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"One plus one equals",
"The largest planet in our solar system is",
"Water boils at a temperature of",
"Machine learning is",
]

if __name__ == "__main__":
Expand Down
Loading