Skip to content

[Feature]: Upgrade base Python version of vllm/vllm-tpu docker image to 3.11+ #19761

Open
@wang2yn84

Description

@wang2yn84

🚀 The feature, motivation and pitch

Summary
Please upgrade the default Python version in the vllm/vllm-tpu Docker image from Python 3.10 to at least Python 3.11.

Motivation
Python 3.11 includes substantial performance improvements and new language features such as typing.Self, which is now used by many modern Python projects and ML frameworks. The current Python 3.10 base causes compatibility issues and requires users to manage Python versions manually within the container.

Benefits
• Unlocks performance benefits from CPython 3.11 optimizations
• Enables use of newer typing features (e.g., Self)
• Reduces friction for users relying on Python 3.11+ packages
• Aligns with broader ecosystem migration trends (e.g., PyTorch, JAX, Hugging Face)

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions