Skip to content

Commit c607a26

Browse files
authored
Fixing Imprecise Type Annotations (vllm-project#15192)
1 parent 3d45e3d commit c607a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/transformers_utils/tokenizer_group/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
def init_tokenizer_from_configs(model_config: ModelConfig,
1919
scheduler_config: SchedulerConfig,
2020
parallel_config: ParallelConfig,
21-
lora_config: LoRAConfig):
21+
lora_config: Optional[LoRAConfig]):
2222
init_kwargs = dict(tokenizer_id=model_config.tokenizer,
2323
enable_lora=bool(lora_config),
2424
max_num_seqs=scheduler_config.max_num_seqs,

0 commit comments

Comments
 (0)