Skip to content

Commit

Permalink
Reverts whitespaces
Browse files Browse the repository at this point in the history
Signed-off-by: Flavia Beo <[email protected]>
  • Loading branch information
flaviabeo committed Oct 25, 2024
1 parent 69222e4 commit 32ee574
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vllm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,6 @@ def _get_and_verify_max_len(
"max_seq_length",
"seq_len",
]

# Choose the smallest "max_length" from the possible keys.
max_len_key = None
for key in possible_keys:
Expand Down Expand Up @@ -1854,7 +1853,6 @@ def _get_and_verify_max_len(
raise ValueError(
f"{msg} To allow overriding this maximum, set "
"the env var VLLM_ALLOW_LONG_MAX_MODEL_LEN=1")

return int(max_model_len)


Expand Down

0 comments on commit 32ee574

Please sign in to comment.