Skip to content

Commit

Permalink
Update vllm/config.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zhuohan Li <zhuohan123@gmail.com>
Signed-off-by: Lucas Wilkinson <lwilkinson@neuralmagic.com>
  • Loading branch information
LucasWilkinson and zhuohan123 committed Jan 30, 2025
1 parent 7487429 commit d27826d
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 @@ -970,7 +970,7 @@ def is_cross_encoder(self) -> bool:
return ModelRegistry.is_cross_encoder_model(architectures)

@property
def should_use_mla(self) -> bool:
def use_mla(self) -> bool:
use_mla = (self.is_deepseek_mla and not self.disable_mla
and not envs.VLLM_MLA_DISABLE)
return use_mla
Expand Down

0 comments on commit d27826d

Please sign in to comment.