Skip to content

Commit a56b677

Browse files
bvandermoonGoogle-ML-Automation
authored andcommitted
Fix src/MaxText references in GPU/runner Dockerfiles
PiperOrigin-RevId: 886627046
1 parent dcb9e2b commit a56b677

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/dependencies/dockerfiles/maxtext_gpu_dependencies.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ENV TESTS_DIR=$TESTS_DIR
4646

4747
ENV MAXTEXT_ASSETS_ROOT=/deps/src/maxtext/assets
4848
ENV MAXTEXT_TEST_ASSETS_ROOT=/deps/tests/assets
49-
ENV MAXTEXT_PKG_DIR=/deps/src/MaxText
49+
ENV MAXTEXT_PKG_DIR=/deps/src/maxtext
5050
ENV MAXTEXT_REPO_ROOT=/deps
5151

5252
# Set the working directory in the container
@@ -56,7 +56,7 @@ WORKDIR /deps
5656
COPY ${PACKAGE_DIR}/dependencies/github_deps/ src/dependencies/github_deps/
5757
COPY ${PACKAGE_DIR}/dependencies/requirements/ src/dependencies/requirements/
5858
COPY ${PACKAGE_DIR}/dependencies/scripts/ src/dependencies/scripts/
59-
COPY ${PACKAGE_DIR}/maxtext/integration/vllm/ src/MaxText/integration/vllm/
59+
COPY ${PACKAGE_DIR}/maxtext/integration/vllm/ src/maxtext/integration/vllm/
6060

6161
# Install dependencies - these steps are cached unless the copied files change
6262
RUN echo "Running command: bash setup.sh MODE=$ENV_MODE JAX_VERSION=$ENV_JAX_VERSION DEVICE=${ENV_DEVICE}"
@@ -65,7 +65,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
6565
bash /deps/src/dependencies/scripts/setup.sh MODE=${ENV_MODE} JAX_VERSION=${ENV_JAX_VERSION} DEVICE=${ENV_DEVICE}
6666

6767
# Now copy the remaining code (source files that may change frequently)
68-
COPY ${PACKAGE_DIR}/maxtext/ src/MaxText/
68+
COPY ${PACKAGE_DIR}/maxtext/ src/maxtext/
6969
COPY ${TESTS_DIR}*/ tests/
7070

7171
# Download test assets from GCS if building image with test assets

src/dependencies/dockerfiles/maxtext_runner.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ENV PACKAGE_DIR=$PACKAGE_DIR
88

99
ENV MAXTEXT_ASSETS_ROOT=/deps/src/maxtext/assets
1010
ENV MAXTEXT_TEST_ASSETS_ROOT=/deps/tests/assets
11-
ENV MAXTEXT_PKG_DIR=/deps/src/MaxText
11+
ENV MAXTEXT_PKG_DIR=/deps/src/maxtext
1212
ENV MAXTEXT_REPO_ROOT=/deps
1313

1414
# Set the working directory in the container
@@ -18,4 +18,4 @@ WORKDIR /deps
1818
COPY ${PACKAGE_DIR}/maxtext/assets/ "${MAXTEXT_ASSETS_ROOT}"
1919

2020
# Copy all files except assets from local workspace into docker container
21-
COPY --exclude=${PACKAGE_DIR}/maxtext/assets/ ${PACKAGE_DIR}/maxtext/ src/MaxText/
21+
COPY --exclude=${PACKAGE_DIR}/maxtext/assets/ ${PACKAGE_DIR}/maxtext/ src/maxtext/

0 commit comments

Comments
 (0)