Skip to content

Commit 967093a

Browse files
committed
fix
1 parent 9072c90 commit 967093a

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ RUN curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.s
66
rm Miniconda3-latest-Linux-x86_64.sh
77
ENV PATH="/opt/conda/bin:${PATH}"
88
RUN conda create -n twinkle python=3.12 -y --override-channels -c conda-forge
9-
SHELL ["conda", "run", "-n", "twinkle", "/bin/bash", "-c"]
9+
ENV PATH="/opt/conda/envs/twinkle/bin:${PATH}"
1010

1111
# Clone and install twinkle, checkout to latest v-tag
1212
RUN git clone https://github.com/modelscope/twinkle.git
1313
WORKDIR /twinkle
14-
RUN echo "Available v-tags:" && git tag -l 'v*' --sort=-v:refname && \
15-
LATEST_TAG=$(git tag -l 'v*' --sort=-v:refname | head -n 1) && \
16-
echo "Checking out: $LATEST_TAG" && \
17-
git checkout "$LATEST_TAG"
14+
RUN echo "Available release branches:" && git branch -r -l 'origin/release/*' --sort=-v:refname && \
15+
LATEST_RELEASE=$(git branch -r -l 'origin/release/*' --sort=-v:refname | head -n 1 | tr -d ' ') && \
16+
echo "Checking out: $LATEST_RELEASE" && \
17+
git checkout --track "$LATEST_RELEASE"
1818

1919
RUN sh INSTALL_MEGATRON.sh
2020

INSTALL_MEGATRON.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ pip install flash-linear-attention -U
8787
echo ""
8888
echo "Installing numpy==2.2 and deep_gemm..."
8989
pip install numpy==2.2
90-
pip uninstall deep_gemm -y
91-
cd /tmp
92-
git clone --recursive https://github.com/deepseek-ai/DeepGEMM.git
93-
cd DeepGEMM
94-
pip install . --no-build-isolation
9590

9691
# Verify installation
9792
echo ""

0 commit comments

Comments
 (0)