File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ RUN apt-get update && \
43
43
rm -rf /var/lib/apt/lists/*
44
44
45
45
WORKDIR /workspace/
46
+ # install megatron core, this can be removed once 0.3 pip package is released
47
+ RUN git clone https://github.com/NVIDIA/Megatron-LM.git && \
48
+ cd Megatron-LM && \
49
+ git checkout ab0336a5c8eab77aa74ae604ba1e73decbf6d560 && \
50
+ pip install -e .
46
51
47
52
WORKDIR /tmp/
48
53
@@ -52,12 +57,6 @@ RUN git clone https://github.com/NVIDIA/apex.git && \
52
57
git checkout 52e18c894223800cb611682dce27d88050edf1de && \
53
58
pip3 install -v --no-build-isolation --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" --global-option="--fast_layer_norm" --global-option="--distributed_adam" --global-option="--deprecated_fused_adam" ./
54
59
55
- # install megatron core, this can be removed once 0.3 pip package is released
56
- RUN git clone https://github.com/NVIDIA/Megatron-LM.git && \
57
- cd Megatron-LM && \
58
- git checkout ab0336a5c8eab77aa74ae604ba1e73decbf6d560 && \
59
- pip install -e .
60
-
61
60
# uninstall stuff from base container
62
61
RUN pip3 uninstall -y sacrebleu torchtext
63
62
You can’t perform that action at this time.
0 commit comments