Skip to content

Commit

Permalink
Revert "Temporary pinning of TE to unblock nightlies (#378)"
Browse files Browse the repository at this point in the history
This reverts commit 32bd8a3.
  • Loading branch information
terrykong authored Nov 17, 2023
1 parent 32bd8a3 commit c14ed9a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 17 deletions.
6 changes: 1 addition & 5 deletions .github/container/Dockerfile.pax.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@ ARG REPO_PAXML=https://github.com/google/paxml.git
ARG REPO_PRAXIS=https://github.com/google/praxis.git
ARG REF_PAXML=main
ARG REF_PRAXIS=main
ARG REPO_TE=https://github.com/NVIDIA/TransformerEngine.git
# TODO: This is a temporary pinning of TE as the API in TE no longer matches the TE patch
# This should be reverted to main ASAP
ARG REF_TE=7976bd003fcf084dd068069b92a9a79b1743316a
RUN <<"EOF" bash -ex
install-pax.sh --defer --from_paxml ${REPO_PAXML} --from_praxis ${REPO_PRAXIS} --ref_paxml ${REF_PAXML} --ref_praxis ${REF_PRAXIS}
install-flax.sh --defer
install-te.sh --defer --from ${REPO_TE} --ref ${REF_TE}
install-te.sh --defer

if [[ -f /opt/requirements-defer.txt ]]; then
# SKIP_HEAD_INSTALLS avoids having to install jax from Github source so that
Expand Down
4 changes: 1 addition & 3 deletions .github/container/Dockerfile.t5x
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ ENV NVTE_FRAMEWORK=jax
ARG REPO_T5X=https://github.com/google-research/t5x.git
ARG REF_T5X=main
ARG REPO_TE=https://github.com/NVIDIA/TransformerEngine.git
# TODO: This is a temporary pinning of TE as the API in TE no longer matches the TE patch
# This should be reverted to main ASAP
ARG REF_TE=7976bd003fcf084dd068069b92a9a79b1743316a
ARG REF_TE=main
RUN <<"EOF" bash -ex
install-t5x.sh --defer --from ${REPO_T5X} --ref ${REF_T5X}
install-te.sh --defer --from ${REPO_TE} --ref ${REF_TE}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/_build_t5x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ on:
type: string
description: Git commit, tag, or branch for TE
required: false
# TODO: This is a temporary pinning of TE as the API in TE no longer matches the TE patch
# This should be reverted to main ASAP
default: 7976bd003fcf084dd068069b92a9a79b1743316a
default: main
outputs:
DOCKER_TAGS:
description: "Tags of the image built"
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ on:
description: 'TE source: <repo>#<branch|tag|commit>'
type: string
required: true
# TODO: This is a temporary pinning of TE as the API in TE no longer matches the TE patch
# This should be reverted to main ASAP
default: 'https://github.com/NVIDIA/TransformerEngine.git#7976bd003fcf084dd068069b92a9a79b1743316a'
default: 'https://github.com/NVIDIA/TransformerEngine.git#main'
SRC_T5X:
description: 'T5X source: <repo>#<branch|tag|commit>'
type: string
Expand Down Expand Up @@ -96,9 +94,7 @@ jobs:
# default values are for `pull_request`` event types
parse_git_src JAX "${{ inputs.SRC_JAX }}" "https://github.com/google/jax.git#main"
parse_git_src XLA "${{ inputs.SRC_XLA }}" "https://github.com/openxla/xla.git#main"
# TODO: This is a temporary pinning of TE as the API in TE no longer matches the TE patch
# This should be reverted to main ASAP
parse_git_src TE "${{ inputs.SRC_TE }}" "https://github.com/NVIDIA/TransformerEngine.git#7976bd003fcf084dd068069b92a9a79b1743316a"
parse_git_src TE "${{ inputs.SRC_TE }}" "https://github.com/NVIDIA/TransformerEngine.git#main"
parse_git_src T5X "${{ inputs.SRC_T5X }}" "https://github.com/google-research/t5x.git#main"
parse_git_src PAXML "${{ inputs.SRC_PAXML }}" "https://github.com/google/paxml.git#main"
parse_git_src PRAXIS "${{ inputs.SRC_PRAXIS }}" "https://github.com/google/praxis.git#main"
Expand Down

0 comments on commit c14ed9a

Please sign in to comment.