Skip to content

Commit c376619

Browse files
committed
Merge branch 'hzhou/dynamorun-kv-ratio' of https://github.com/ai-dynamo/dynamo into hzhou/dynamorun-kv-ratio
2 parents ad6a406 + 684043f commit c376619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/vllm_v0/components/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ async def generate(self, request: PreprocessedRequest):
225225
remote_prefill_request_callback=self.get_remote_prefill_request_callback(),
226226
)
227227
logger.info(
228-
f"Prefilling remotely for request {request_id} with length {len(request.token_ids)} (estimated prefix hit length {request.estimated_prefix_hit_num_blocks * self.engine_args.block_size})"
228+
f"Prefilling remotely for request {request_id} with length {len(request.token_ids)} (estimated prefix hit length {(request.estimated_prefix_hit_num_blocks or 0) * self.engine_args.block_size})"
229229
)
230230
else:
231231
remote_prefill_params = None

0 commit comments

Comments
 (0)