Skip to content
Open
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
1 change: 1 addition & 0 deletions turboquant/capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def ingest_prefill_from_paged_cache(

all_k = torch.cat(keys_list, dim=0) # (num_tokens, heads, dim)
all_v = torch.cat(vals_list, dim=0)
print(f"Number of Base Key tokens under all blocks or pages are: {all_k.shape[0]}")
self.ingest_prefill(all_k, all_v, num_tokens)

def ingest_decode(self, key: torch.Tensor, value: torch.Tensor, num_tokens: int):
Expand Down