Upgrade post training deps - #4184
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
3421155 to
96eb4e0
Compare
96eb4e0 to
6eb9a55
Compare
6eb9a55 to
6e45c71
Compare
77d3e9f to
a19e7b9
Compare
a19e7b9 to
1fd6bbc
Compare
df8f2e2 to
fd87931
Compare
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): |
There was a problem hiding this comment.
Why is this check removed?
There was a problem hiding this comment.
added the check back
| "override_model_config=True", | ||
| "scan_layers=False", | ||
| "hardware=cpu", | ||
| "attention=dot_product", |
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
1f6332b to
255d2e1
Compare
|
|
||
| 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"): |
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.
There was a problem hiding this comment.
removed sudo usage and moved the installation command to docker image
3c1a7f5 to
136b878
Compare
136b878 to
328b59e
Compare
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.