[CI Failure] Fix NomicBert max_model_len validation (#31662)

Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io>
This commit is contained in:
wang.yuqi
2026-01-05 11:06:52 +08:00
committed by GitHub
parent 43e3f8e4a9
commit 8be6432bda
2 changed files with 33 additions and 26 deletions
-6
View File
@@ -1264,12 +1264,6 @@ class VllmConfig:
computed_compile_ranges_split_points
)
def recalculate_max_model_len(self, max_model_len: int):
# Can only be called in try_verify_and_update_config
model_config = self.model_config
max_model_len = model_config.get_and_verify_max_len(max_model_len)
self.model_config.max_model_len = max_model_len
def try_verify_and_update_config(self):
if self.model_config is None:
return