mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-25 15:11:20 +08:00
misc cleanups to prepare for rebase
Signed-off-by: Sage Moore <sage@neuralmagic.com>
This commit is contained in:
parent
90e46ee5e3
commit
065816d25f
@ -2122,7 +2122,7 @@ class CUDAGraphRunner(nn.Module):
|
|||||||
**kwargs,
|
**kwargs,
|
||||||
) -> torch.Tensor:
|
) -> torch.Tensor:
|
||||||
attn_metadata: AttentionMetadata = get_forward_context().attn_metadata
|
attn_metadata: AttentionMetadata = get_forward_context().attn_metadata
|
||||||
|
|
||||||
# Copy the input tensors to the input buffers.
|
# Copy the input tensors to the input buffers.
|
||||||
self.input_buffers["input_ids"].copy_(input_ids, non_blocking=True)
|
self.input_buffers["input_ids"].copy_(input_ids, non_blocking=True)
|
||||||
if positions is not None:
|
if positions is not None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user