Skip to content

Commit

Permalink
fix reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
wdykas committed Dec 9, 2023
1 parent e8f5540 commit 6d80c61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

WORKDIR /workspace/

# Install megatron core, this can be removed once 0.3 pip package is released
# We leave it here in case we need to work off of a specific commit in main
RUN git clone https://github.com/NVIDIA/Megatron-LM.git && \
cd Megatron-LM && \
git checkout 973330e9c3681604703bf1eb6b5a265d1b9b9b38 && \
pip install .

# Distributed Adam support for multiple dtypes
RUN git clone https://github.com/NVIDIA/apex.git && \
Expand Down Expand Up @@ -138,11 +143,3 @@ RUN if [ "${REQUIRE_AIS_CLI}" = true ]; then \
exit ${INSTALL_CODE}; \
else echo "AIS CLI installed successfully"; fi \
else echo "Skipping AIS CLI installation"; fi


# Install megatron core, this can be removed once 0.3 pip package is released
# We leave it here in case we need to work off of a specific commit in main
RUN git clone https://github.com/NVIDIA/Megatron-LM.git && \
cd Megatron-LM && \
git checkout 973330e9c3681604703bf1eb6b5a265d1b9b9b38 && \
pip install .
2 changes: 1 addition & 1 deletion requirements/requirements_nlp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ijson
jieba
markdown2
matplotlib>=3.3.2
megatron_core==0.3.0
megatron_core==0.4.0
nltk>=3.6.5
opencc<1.1.7
pangu
Expand Down

0 comments on commit 6d80c61

Please sign in to comment.