Skip to content

Commit d81e143

Browse files
committed
fix typo
Signed-off-by: Max de Bayser <mbayser@br.ibm.com>
1 parent 838567f commit d81e143

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/v1/worker/gpu_model_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def _prepare_inputs(
698698
# Prepare encoder attention metadata separately
699699
# (encoder layers are not in KV cache groups)
700700
if self.is_encoder_only_model:
701-
common_attn_metadata, encoder_attn_metdata = \
701+
common_attn_metadata, encoder_attn_metadata = \
702702
self._build_encoder_only_attn_metadata(
703703
scheduler_output)
704704

@@ -707,7 +707,7 @@ def _prepare_inputs(
707707
self.vllm_config, Attention)
708708
for layer_name, attn_module in attention_layers.items():
709709
if attn_module.attn_type == AttentionType.ENCODER_ONLY:
710-
attn_metadata[layer_name] = encoder_attn_metdata
710+
attn_metadata[layer_name] = encoder_attn_metadata
711711

712712
# Prepare the attention metadata for each KV cache group and make layers
713713
# in the same group share the same metadata.

0 commit comments

Comments
 (0)