Skip to content

Commit 1dab650

Browse files
committed
fix comments
Signed-off-by: Chengji Yao <[email protected]>
1 parent 068e169 commit 1dab650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/v1/tpu/test_pallas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class FakeAttentionLayer:
4747
key = torch.zeros(num_tokens, num_kv_heads * head_size)
4848
value = torch.zeros(num_tokens, num_kv_heads * head_size)
4949
kv_cache = torch.zeros(num_blocks, block_size, num_kv_heads * 2, head_size)
50-
slot_mapping = torch.zeros(num_tokens, dtype=torch.int64)
50+
slot_mapping = torch.zeros((3, num_tokens), dtype=torch.int64)
5151
max_num_reqs = 8
5252
max_num_blocks_per_req = 8
5353
block_tables = torch.zeros((max_num_reqs, max_num_blocks_per_req),

0 commit comments

Comments
 (0)