File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -39,17 +39,15 @@ WORKDIR /src/Megatron-LM
3939RUN --mount=type=secret,id=CI_JOB_TOKEN,target=/run/secrets/CI_JOB_TOKEN \
4040 CI_JOB_TOKEN=$(cat /run/secrets/CI_JOB_TOKEN) && \
4141 git clone ${MCORE_HOST}:${CI_JOB_TOKEN}@${MCORE_REPO} . && \
42- pushd Megatron-LM && \
43- git pull && \
44- git fetch origin $MCORE_COMMIT && \
45- git checkout FETCH_HEAD && \
46- echo "Container built with Megatron-LM commit hash: $MCORE_COMMIT" && \
47- rm -rf .git && \
48- rm -rf ~/.netrc && \
49- mkdir -p /tmp/Megatron-LM/megatron/core/ && \
50- cp pyproject.toml /tmp/Megatron-LM/ && \
51- cp megatron/core/__init__.py megatron/core/package_info.py /tmp/Megatron-LM/megatron/core/ && \
52- popd && \
42+ git pull && \
43+ git fetch origin $MCORE_COMMIT && \
44+ git checkout FETCH_HEAD && \
45+ echo "Container built with Megatron-LM commit hash: $MCORE_COMMIT" && \
46+ rm -rf .git && \
47+ rm -rf ~/.netrc && \
48+ mkdir -p /tmp/Megatron-LM/megatron/core/ && \
49+ cp pyproject.toml /tmp/Megatron-LM/ && \
50+ cp megatron/core/__init__.py megatron/core/package_info.py /tmp/Megatron-LM/megatron/core/ && \
5351
5452FROM mbridge_base as mbridge_submodule_mcore
5553
You can’t perform that action at this time.
0 commit comments