Fix docker build and add training dependencies (kubernetes, r2e-gym)#1703
Open
niting wants to merge 1 commit into
Open
Fix docker build and add training dependencies (kubernetes, r2e-gym)#1703niting wants to merge 1 commit into
niting wants to merge 1 commit into
Conversation
niting
requested review from
abheesht17,
hgao327,
jiangyangmu,
lc5211,
s-noghabi,
sizhit2,
tianshub and
wang2yn84
as code owners
July 17, 2026 20:20
- Fixes the Docker build by installing curl and uv via pip. - Installs kubernetes and r2e-gym at the end of the Dockerfile. - Fixes examples.deepswe import error by removing tunix_root from sys.path in train_deepswe_nb.py to avoid shadowing by internal tunix/examples package.
wang2yn84
reviewed
Jul 17, 2026
|
|
||
| RUN bash /app/scripts/install_tunix_vllm_requirement.sh | ||
| RUN pip install kubernetes | ||
| RUN pip install --no-deps git+https://github.com/r2e-gym/r2e-gym.git@0d94c4eb9431cd195c55a7ea3abd54006c9a1735 |
Collaborator
There was a problem hiding this comment.
Let's make it optional instead of default
| # Install system dependencies, including Python 3 and pip | ||
| RUN apt-get update && \ | ||
| apt-get install -y build-essential git python3 python3-pip && \ | ||
| apt-get install -y build-essential git python3 python3-pip curl && \ |
Collaborator
There was a problem hiding this comment.
If you replace the curl install of uv with pip, do you still need curl here?
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.
Add relevant changes to get DeepSWE training to work on the Tunix stack. This includes dependency additions and fixes to import failures on examples.deepswe