Skip to content

Commit af37295

Browse files
committed
Update cuDNN FE in TE
1 parent 56488b5 commit af37295

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/container/Dockerfile.jax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN --mount=type=ssh \
4747
git-clone.sh ${URLREF_XLA} ${SRC_PATH_XLA}
4848
EOF
4949

50-
ADD build-jax.sh build-te.sh local_cuda_arch cudnn_frontend.patch /usr/local/bin/
50+
ADD build-jax.sh build-te.sh local_cuda_arch /usr/local/bin/
5151
# Install bazelisk
5252
RUN ARCH="$(dpkg --print-architecture)" && \
5353
wget -O /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-${ARCH} && \
@@ -70,7 +70,7 @@ RUN mkdir -p /builder/extra-targets/{bin,python} && \
7070
RUN --mount=type=ssh \
7171
--mount=type=secret,id=SSH_KNOWN_HOSTS,target=/root/.ssh/known_hosts \
7272
git-clone.sh ${URLREF_TRANSFORMER_ENGINE} ${SRC_PATH_TRANSFORMER_ENGINE}
73-
RUN pushd ${SRC_PATH_TRANSFORMER_ENGINE}/3rdparty/cudnn-frontend && git apply /usr/local/bin/cudnn_frontend.patch && popd
73+
RUN pushd ${SRC_PATH_TRANSFORMER_ENGINE}/3rdparty/cudnn-frontend && git apply fetch && git checkout f06a0766b664b73860c48f7aea2b6b09499cea8d && popd
7474
# Populate ${SRC_PATH_TRANSFORMER_ENGINE}/dist with [a] .whl file(s); --no-install
7575
# because (a) this is the builder stage, and (b) pip-finalize.sh does the install
7676
RUN build-te.sh \

.github/workflows/_test_maxtext_gke_xpk.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
with:
4646
IMAGE: ${{ inputs.MAXTEXT_IMAGE }}
4747
NAME: ${{ matrix.test }}
48+
ENVS: |
49+
CUDNN_FRONTEND_CUDART_LIB_NAME=libcudart.so.13;
4850
COMMAND: |
4951
source \${NCCL_LIB_DIR}/nccl-env-profile.sh;
5052
nsys-jax --capture-range=cudaProfilerApi \

0 commit comments

Comments
 (0)