Skip to content

the syntax in serving_completion.py is not compatible in python3.8 #2704

@jony0113

Description

@jony0113

in #2529 @simon-mo introduce some python typing syntax, which is not compatible in python3.8

like TypeTokenIDs = list[int] in https://github.com/vllm-project/vllm/blob/93b38bea5dd03e1b140ca997dfaadef86f8f1855/vllm/entrypoints/openai/serving_completion.py#L22C1-L22C25

which should be TypeTokenIDs=List[int] in python3.8.

could you please fix it?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions