Skip to content

[CI/Build] make it possible to build with a free-threaded interpreter#112

Merged
LucasWilkinson merged 1 commit intovllm-project:mainfrom
rgommers:bld-free-threading
Dec 11, 2025
Merged

[CI/Build] make it possible to build with a free-threaded interpreter#112
LucasWilkinson merged 1 commit intovllm-project:mainfrom
rgommers:bld-free-threading

Conversation

@rgommers
Copy link
Copy Markdown

For Python 3.13/3.14, free-threaded Python does not support using the Limited C API and the Stable ABI. The purpose of this PR is to ensure that vLLM can be built from source under a free-threaded interpreter. It doesn't change anything for default (with-GIL) Python interpreters.

This is an identical change to that in vllm#29242, please see that PR for more context.

For Python 3.13/3.14, free-threaded Python does not support using the
Limited C API and the Stable ABI. The purpose of this PR is to ensure
that vLLM can be built from source under a free-threaded interpreter. It
doesn't change anything for default (with-GIL) Python interpreters.

This is an identical change to that in vllm#29242, see that PR for more
context.

Signed-off-by: Ralf Gommers <ralf.gommers@gmail.com>
@rgommers
Copy link
Copy Markdown
Author

rgommers commented Dec 4, 2025

Note that the identical change in vLLM itself has been review and merged.

Copy link
Copy Markdown
Collaborator

@LucasWilkinson LucasWilkinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LucasWilkinson LucasWilkinson merged commit 3745a41 into vllm-project:main Dec 11, 2025
1 check passed
@rgommers rgommers deleted the bld-free-threading branch December 12, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants