mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-06 14:35:17 +08:00
Fixing Imprecise Type Annotations (#15192)
This commit is contained in:
parent
3d45e3d749
commit
c607a2652b
@ -18,7 +18,7 @@ else:
|
||||
def init_tokenizer_from_configs(model_config: ModelConfig,
|
||||
scheduler_config: SchedulerConfig,
|
||||
parallel_config: ParallelConfig,
|
||||
lora_config: LoRAConfig):
|
||||
lora_config: Optional[LoRAConfig]):
|
||||
init_kwargs = dict(tokenizer_id=model_config.tokenizer,
|
||||
enable_lora=bool(lora_config),
|
||||
max_num_seqs=scheduler_config.max_num_seqs,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user