Skip to content
Merged
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
2 changes: 1 addition & 1 deletion lib/sidecar/trtllm/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ impl LLMEngine for TrtllmSidecarEngine {
// streamed chunk costs a boxed future and a waker registration on every
// token.
let mut request_cancellation = Box::pin(async move { stopped_ctx.stopped().await });
let shutdown = self.cancel.clone();
let shutdown = self.cancel.child_token();
let mut shutdown_cancellation = Box::pin(async move { shutdown.cancelled().await });

// The same deferral applies here, not just to the streaming loop below.
Expand Down
Loading