Skip to content

Commit 8b3c50b

Browse files
authored
Just another casual day of refactoring MaxText PR#2541 (#1768)
AI-Hypercomputer/maxtext#2541
1 parent 3a9ac09 commit 8b3c50b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/container/Dockerfile.maxtext

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,17 @@ EOF
1818

1919
RUN <<"EOF" bash -ex -o pipefail
2020
echo "-e file://${SRC_PATH_MAXTEXT}" >> /opt/pip-tools.d/requirements-maxtext.in
21-
echo "-r ${SRC_PATH_MAXTEXT}/base_requirements/requirements.txt" >> /opt/pip-tools.d/requirements-maxtext.in
21+
echo "-r ${SRC_PATH_MAXTEXT}/dependencies/requirements/base_requirements/requirements.txt" >> /opt/pip-tools.d/requirements-maxtext.in
2222
EOF
2323

2424
# add version constraints to avoid eternal dependency resolution
2525
RUN <<"EOF" bash -ex -o pipefail
2626
for pattern in \
2727
"s|^tensorflow$|tensorflow==2.18.1|g" \
2828
"s|^tensorflow-text$|tensorflow-text==2.18.1|g" \
29-
"s|^jax!=.*|jax|g" \
30-
"s|^jaxlib!=.*|jaxlib|g" \
3129
; do
3230
# tensorflow-cpu,tensorboard,tensorflow-text>=2.19.0 is incompatible with tensorflow==2.18.1
33-
sed -i "${pattern}" ${SRC_PATH_MAXTEXT}/base_requirements/requirements.txt
31+
sed -i "${pattern}" ${SRC_PATH_MAXTEXT}/dependencies/requirements/base_requirements/requirements.txt
3432
done
3533
EOF
3634

0 commit comments

Comments
 (0)