Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Select base Image
FROM rraminen/deepspeed:DeepSpeed_Megatron-LM-GPT2_bingBERT_rocm4.0
FROM jithunnair/pytorch:rocm4.1_ubuntu18.04_py3.6_pytorch_deepspeed

# Install dependencies
RUN apt update && apt install -y \
Expand Down
24 changes: 24 additions & 0 deletions docker/rocm/huggingface_zero_nv.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Select base Image
FROM huggingface/transformers-pytorch-gpu

# Install dependencies
RUN apt update && apt install -y \
unzip
RUN pip3 install regex sacremoses filelock gitpython rouge_score sacrebleu datasets fairscale deepspeed

# copy repo to workspace
WORKDIR /workspace
COPY . transformers/
RUN cd transformers/ && \
python3 -m pip install --no-cache-dir .

# set work dir
WORKDIR /workspace/transformers