Skip to content

Commit cb29a2e

Browse files
committed
Remove custom hook that install TPU deps by default
1 parent 03c29c6 commit cb29a2e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/container/Dockerfile.maxtext

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ for pattern in \
3030
# tensorflow-cpu,tensorboard,tensorflow-text>=2.19.0 is incompatible with tensorflow==2.18.1
3131
sed -i "${pattern}" ${SRC_PATH_MAXTEXT}/dependencies/requirements/base_requirements/requirements.txt
3232
done
33+
34+
# remove custom build hook that conflicts with our dependencies introduced in
35+
# https://github.com/AI-Hypercomputer/maxtext/commit/de886f9a918d17cfb025a353e7da2bc4d64c26b5
36+
sed -i -e '/^\[tool\.hatch\.build\.targets\.wheel\.hooks\.custom\]$/d' \
37+
-e '/^path = "build_hooks\.py"$/d' \
38+
${SRC_PATH_MAXTEXT}/pyproject.toml
3339
EOF
3440

3541
###############################################################################

0 commit comments

Comments
 (0)