Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Prefill Only Tokens Without KV Cache in Batch Requests (Disagg Prefill) #12285

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Rerun unit test
Signed-off-by: Shaoting Feng <[email protected]>
  • Loading branch information
Shaoting-Feng committed Jan 24, 2025
commit b8fb040280f834a9e67852b692946629a9304958
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,7 @@ def build_partial_prefill_input(
rebuilt_slot_mapping.append(new_slot_mapping)
rebuilt_max_query_len = max(q_len, rebuilt_max_query_len)
last_query_start_loc += q_len
rebuilt_query_start_loc.append(
last_query_start_loc) # start with 0
rebuilt_query_start_loc.append(last_query_start_loc)
rebuilt_context_lens_tensor.append(num_computed_token)

# recover `block_table`
Expand Down
Loading