Upgrade post training deps - #4184
Open
khatwanimohit wants to merge 2 commits into
Open
Conversation
khatwanimohit
requested review from
SurbhiJainUSC,
bvandermoon,
darisoy,
parambole,
richjames0 and
shralex
as code owners
June 17, 2026 07:44
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
from
June 30, 2026 03:45
3421155 to
96eb4e0
Compare
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
from
July 23, 2026 17:23
96eb4e0 to
6eb9a55
Compare
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
from
July 23, 2026 17:25
6eb9a55 to
6e45c71
Compare
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
3 times, most recently
from
July 23, 2026 19:10
77d3e9f to
a19e7b9
Compare
khatwanimohit
requested review from
gobbleturk,
huytransformer and
xibinliu
as code owners
July 23, 2026 19:10
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
from
July 23, 2026 19:32
a19e7b9 to
1fd6bbc
Compare
khatwanimohit
requested review from
A9isha,
NuojCheng,
RissyRan,
abhinavclemson,
aireenmei,
dipannita08,
gagika,
hengtaoguo,
jiangjy1982,
suexu1025 and
vipannalla
as code owners
July 24, 2026 17:52
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
from
July 24, 2026 18:23
df8f2e2 to
fd87931
Compare
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
3 times, most recently
from
July 27, 2026 16:54
0a12419 to
1f6332b
Compare
| current_dir = os.path.dirname(os.path.abspath(__file__)) | ||
| repo_root = os.path.abspath(os.path.join(current_dir, "..", "..")) | ||
| github_deps_path = os.path.join(repo_root, "dependencies", "extra_deps", "post_train_github_deps.txt") | ||
| if not os.path.exists(github_deps_path): |
Collaborator
There was a problem hiding this comment.
Why is this check removed?
Collaborator
Author
There was a problem hiding this comment.
added the check back
NuojCheng
reviewed
Jul 27, 2026
| "override_model_config=True", | ||
| "scan_layers=False", | ||
| "hardware=cpu", | ||
| "attention=dot_product", |
Collaborator
Author
There was a problem hiding this comment.
this was fix the CI failure, but Hengtao has merged this to main in #4609. So I'm removing this and rebasing
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
from
July 27, 2026 18:35
1f6332b to
255d2e1
Compare
igorts-git
reviewed
Jul 27, 2026
|
|
||
| is_root = os.geteuid() == 0 if hasattr(os, "geteuid") else False | ||
| has_sudo = shutil.which("sudo") is not None | ||
| if (is_root or has_sudo) and shutil.which("apt-get"): |
Collaborator
There was a problem hiding this comment.
I would rather not run sudo commands automatically on behalf of our users. Maybe just print a error message with instructions?
The logic below is very specific for running on Linux systems based on Debian 12 and 11. I am not sure how it would work on other distributions or on future versions of Debian.
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
2 times, most recently
from
July 29, 2026 01:02
3c1a7f5 to
136b878
Compare
khatwanimohit
force-pushed
the
mohit/tpu-infer-07-16
branch
from
July 29, 2026 16:25
136b878 to
328b59e
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.
Description
Summary
python:3.12-slim-bullseye(GCC 10.2.1) to
python:3.12-slim-bookworm(GCC 12.2.0). The new vllm commit(
a30addc7) introduced a CMake check requiring GCC ≥ 11.3 for C++20 supportvllm PR #44923.
Notice 1: Once all tests pass, the "pull ready" label will automatically be assigned.
This label is used for administrative purposes. Please do not add it manually.
Notice 2: For external contributions, our settings currently require an approval from a MaxText maintainer to trigger CI tests.
Tests
build_maxtext_docker_image WORKFLOW=post-trainingcompletes successfullyChecklist
Before submitting this PR, please make sure (put X in square brackets):
gemini-reviewlabel.