[Feature] Add fixed-token prefill scoring (#54335)
Signed-off-by: aoshen02 <aoshen@inferact.ai> Signed-off-by: aoshen02 <aoshen02@users.noreply.github.com> Co-authored-by: aoshen02 <aoshen02@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
aoshen02
Claude Opus 5
parent
a7ff44355c
commit
b721a4c709
@@ -236,6 +236,9 @@ class EngineCoreOutput(
|
||||
# Appended last so `array_like` positional serialization stays compatible.
|
||||
spec_decode_metrics: RequestSpecDecodeMetrics | None = None
|
||||
|
||||
# [num_scored_rows, num_token_ids]; appended last for array_like compatibility.
|
||||
prompt_token_id_logprobs: torch.Tensor | None = None
|
||||
|
||||
@property
|
||||
def finished(self) -> bool:
|
||||
return self.finish_reason is not None
|
||||
|
||||
Reference in New Issue
Block a user