[Feature] Layer-wise Prefill (#7634)
Signed-off-by: jason-fxz <jason341132@qq.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -500,6 +500,7 @@ class TboForwardBatchPreparer:
|
||||
"capture_hidden_mode",
|
||||
"padded_static_len",
|
||||
"mrope_positions", # only used by qwen2-vl, thus not care
|
||||
"split_index", # for split prefill
|
||||
]:
|
||||
output_dict[key] = getattr(batch, key)
|
||||
if not batch.forward_mode.is_target_verify():
|
||||
|
||||
Reference in New Issue
Block a user