Skip to content

Commit

Permalink
typo at vllm/config.py
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilien de Bayser <[email protected]>
  • Loading branch information
flaviabeo and maxdebayser authored Oct 24, 2024
1 parent da4d173 commit be09e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1820,7 +1820,7 @@ def _get_and_verify_max_len(
"original_max_position_embeddings"]
derived_max_model_len *= scaling_factor

if bert_config and "max_seq_lenght" in bert_config:
if bert_config and "max_seq_length" in bert_config:
derived_max_model_len = bert_config["max_seq_length"]

# If the user specified a max length, make sure it is smaller than the
Expand Down

0 comments on commit be09e73

Please sign in to comment.