Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jikunshang committed Aug 23, 2024
1 parent 8edcda6 commit cdb8eac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vllm/worker/model_runner_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def _init_attn_metadata_from_tensor_dict(
valid_attn_kwargs = {}
for field in dataclasses.fields(attn_backend.get_metadata_cls()):
val = tensor_dict.pop(field.name, None)
# Even if a value is None, we will also add this field.
if val is not None:
valid_attn_kwargs[field.name] = val

Expand Down

0 comments on commit cdb8eac

Please sign in to comment.