Skip to content

Commit 2836e6f

Browse files
authored
Modify installation of MaxText using editable mode (#1663)
1 parent 18b8fd1 commit 2836e6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/container/Dockerfile.maxtext

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ git-clone.sh ${URLREF_JETSTREAM} ${SRC_PATH_JETSTREAM}
2222
EOF
2323

2424
RUN <<"EOF" bash -ex -o pipefail
25-
echo "-r ${SRC_PATH_MAXTEXT}/requirements.txt" >> /opt/pip-tools.d/requirements-maxtext.in
25+
echo "-e file://${SRC_PATH_MAXTEXT}" >> /opt/pip-tools.d/requirements-maxtext.in
2626
echo "-e file://${SRC_PATH_JETSTREAM}" >> /opt/pip-tools.d/requirements-maxtext.in
2727
EOF
2828

@@ -50,6 +50,7 @@ echo >> ${SRC_PATH_MAXTEXT}/requirements.txt # add new line
5050
for requirement in \
5151
"tensorflow-metadata>=1.15.0" \
5252
"seqio@git+https://github.com/google/seqio.git" \
53+
"grain" \
5354
; do
5455
echo "${requirement}" >> ${SRC_PATH_MAXTEXT}/requirements.txt
5556
done

0 commit comments

Comments
 (0)