-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-devel | ||
|
||
ENV LC_ALL=C.UTF-8 | ||
ENV LANG=C.UTF-8 | ||
ENV CUDA_HOME=/usr/local/cuda/ | ||
|
||
RUN apt-get -y update | ||
RUN apt-get -y install git vim | ||
|
||
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash | ||
RUN apt-get -y install git-lfs | ||
|
||
WORKDIR /stage/ | ||
|
||
COPY requirements.txt . | ||
RUN pip install -r requirements.txt | ||
RUN python -c "import nltk; nltk.download('punkt', quiet=True)" | ||
|
||
COPY ds_configs ds_configs | ||
|
||
COPY src src | ||
COPY scripts scripts | ||
RUN chmod +x scripts/* | ||
|
||
# for interactive session | ||
RUN chmod -R 777 /stage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# git+https://github.com/huggingface/transformers.git@52d2e6f6e904ef9b75c78716ce77b98196ed837a | ||
# git+https://github.com/stas00/transformers.git@ds-bf16 | ||
transformers==4.17.0 | ||
datasets==1.17.0 | ||
# git+https://github.com/microsoft/DeepSpeed.git@2151c787a27166f795eb4516f1e191e6730e823d | ||
git+https://github.com/microsoft/DeepSpeed.git@9f7126fc10a1f231c695db11632cbcb84f1af4d3 | ||
fairscale==0.4.5 | ||
ipython | ||
nltk | ||
tensorboard | ||
tqdm | ||
rouge_score | ||
wandb==0.12.10 | ||
sentencepiece==0.1.96 |