[codex] experimental python 3.14t feature server#6334
Draft
franciscojavierarceo wants to merge 1 commit intofeast-dev:masterfrom
Draft
[codex] experimental python 3.14t feature server#6334franciscojavierarceo wants to merge 1 commit intofeast-dev:masterfrom
franciscojavierarceo wants to merge 1 commit intofeast-dev:masterfrom
Conversation
d63983d to
d11da07
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
This PR adds an experimental Python 3.14 free-threaded feature server container and a benchmark harness for comparing it against the current image.
It also trims eager
pandasimports from the read-serving startup path so the experimental server can boot without immediately falling back to GIL-protected native modules.Highlights
python314texperimental feature-server Dockerfile and requirements setpandasand related offline-only paths across the serving startup pathWhy
We want a safe, clearly labeled place to evaluate whether free-threaded Python can improve feature-server performance without changing the default production image.
The import cleanup is part of making that experiment meaningful: the server startup path should avoid importing
pandasunless an endpoint or workflow actually needs it.Validation
python3 -m py_compileon the touched Python modulesruff checkon the benchmark script and lazy-import follow-up fixesfeastdev/feature-server:local-b15df7901-python314t-experimentalimport feast.feature_serverin the experimental image leavespandasunloadedNotes
FeatureStoreoffline path still importspandasthrough offline-store modules, so this PR focuses on the feature-server startup path rather than the entire runtime graph