Skip to content

Commit 79eed88

Browse files
committed
feat: update Aligner to use mcore export
Signed-off-by: Terry Kong <[email protected]>
1 parent 716e503 commit 79eed88

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

Dockerfile

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ARG MAX_JOBS=8
1313
# Git refs for dependencies
1414
ARG TE_TAG=7d576ed25266a17a7b651f2c12e8498f67e0baea
1515
ARG PYTRITON_VERSION=0.5.10
16-
ARG NEMO_TAG=19668e5320a2e2af0199b6d5e0b841993be3a634 # On: main
17-
ARG MLM_TAG=25059d3bbf68be0751800f3644731df12a88f3f3 # On: main
16+
ARG NEMO_TAG=aligner_export_mcore # On: main (TODO: change to upstream main commit after merge)
17+
ARG MLM_TAG=main # On: main (TODO: change to correct commit after merge)
1818
ARG ALIGNER_COMMIT=main
1919
ARG TRTLLM_VERSION=v0.13.0
2020
ARG PROTOBUF_VERSION=4.24.4
@@ -121,26 +121,3 @@ RUN cd /opt/NeMo-Aligner && \
121121

122122
RUN cd TensorRT-LLM && patch -p1 < ../NeMo-Aligner/setup/trtllm.patch
123123

124-
# TODO(terryk): This layer should be deleted ASAP after NeMo is bumped to include all of these PRs
125-
RUN <<"EOF" bash -exu
126-
cd NeMo
127-
# Ensures we don't cherry-pick "future" origin/main commits
128-
git fetch -a
129-
# 0c92fe17df4642ffc33d5d8c0c83fda729e3910c: [fix] Ensures disabling exp_manager with exp_manager=null does not error NeMo#10651
130-
# 60e677423667c029dd05875da72bf0719774f844: [feat] Update get_model_parallel_src_rank to support tp-pp-dp ordering NeMo#10652
131-
# 0deaf6716cb4f20766c995ce25d129795f1ae200: fix[export]: update API for disabling device reassignment in TRTLLM for Aligner NeMo#10863
132-
# (superceded by 10863) 148543d6e9c66ff1f8562e84484448202249811d: feat: Migrate GPTSession refit path in Nemo export to ModelRunner for Aligner NeMo#10654
133-
for pr_and_commit in \
134-
"10651 0c92fe17df4642ffc33d5d8c0c83fda729e3910c" \
135-
"10652 60e677423667c029dd05875da72bf0719774f844" \
136-
"10863 0deaf6716cb4f20766c995ce25d129795f1ae200" \
137-
; do
138-
pr=$(cut -f1 -d' ' <<<"$pr_and_commit")
139-
head_pr_commit=$(cut -f2 -d' ' <<<"$pr_and_commit")
140-
git fetch origin $head_pr_commit:PR-${pr}
141-
# cherry-picks all commits between main and the top of the PR
142-
git cherry-pick --allow-empty $(git merge-base origin/main PR-${pr})..PR-${pr}
143-
# Tag cherry-picks to help
144-
git tag cherry-pick-PR-${pr}
145-
done
146-
EOF

0 commit comments

Comments
 (0)