fix(lcb-service): pin base image to Python 3.11 to match LiveCodeBench - #457
Open
liayan wants to merge 1 commit into
Open
fix(lcb-service): pin base image to Python 3.11 to match LiveCodeBench#457liayan wants to merge 1 commit into
liayan wants to merge 1 commit into
Conversation
|
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
…r the base image LiveCodeBench requires-python >= 3.10 and its README uses `uv venv --python 3.11`. Switch both build/runtime stages from dhi.io/python:3.14-debian13(-sfw-dev) to dhi.io/python:3.11-debian13(-sfw-dev) to match.
liayan
force-pushed
the
fix/lcb-service-python-3.11-base-image
branch
from
August 19, 2026 18:53
515d744 to
a8531de
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #457 +/- ##
=======================================
Coverage ? 80.98%
=======================================
Files ? 150
Lines ? 20208
Branches ? 0
=======================================
Hits ? 16366
Misses ? 3842
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
7 tasks
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.
LiveCodeBench requires Python >= 3.10, and its README uses
uv venv --python 3.11. Switch both build/runtime stages from dhi.io/python:3.14-debian13(-sfw-dev) to dhi.io/python:3.11-debian13(-sfw-dev) to match.This is related to #433
#433 (comment)
Python 3.14 changed the Linux multiprocessing default to forkserver. With the shipped Python 3.14 service image, grading child processes died during startup, leaving evaluation stuck at 0/N.
After discussion, the current conclusion is to revert the base image to Python 3.11. An explicit spawn solution is still worth investigating, but it needs additional performance evaluation before we consider adopting it.
What does this PR do?
Type of change
Related issues
Testing
Checklist