mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-07 16:22:17 +08:00
fix precommit
Signed-off-by: Xingyu Liu <charlotteliu12x@gmail.com>
This commit is contained in:
parent
0f85cfdc65
commit
f5348c8174
@ -608,7 +608,7 @@ class ModelConfig:
|
|||||||
)
|
)
|
||||||
convertor = convertor_cls(self.hf_config, self.hf_text_config)
|
convertor = convertor_cls(self.hf_config, self.hf_text_config)
|
||||||
return convertor.convert(self.model, self.revision)
|
return convertor.convert(self.model, self.revision)
|
||||||
|
|
||||||
@field_validator("tokenizer", "max_model_len", mode="wrap")
|
@field_validator("tokenizer", "max_model_len", mode="wrap")
|
||||||
@classmethod
|
@classmethod
|
||||||
def _skip_none_validation(cls, value: Any, handler: Callable) -> Any:
|
def _skip_none_validation(cls, value: Any, handler: Callable) -> Any:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user