Skip to content

Commit

Permalink
Update dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
chand1012 committed Jul 15, 2021
1 parent f323191 commit 1317e85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Dockerfile.arm64
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM chand1012/tensorflow:2.5.0-py3
FROM chand1012/tensorflow:2.5.0

RUN mkdir /gpt-2
WORKDIR /gpt-2
ADD . /gpt-2
RUN pip3 install -r requirements.txt
RUN python3 download_model.py 124M
RUN python3 download_model.py 355M
RUN python3 download_model.py 774M
RUN python3 download_model.py 1558M
# additional models would not build on the Pi
2 changes: 1 addition & 1 deletion Dockerfile.cpu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tensorflow/tensorflow:2.5.0-py3
FROM tensorflow/tensorflow:2.5.0

ENV LANG=C.UTF-8
RUN mkdir /gpt-2
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.gpu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tensorflow/tensorflow:2.5.0-gpu-py3
FROM tensorflow/tensorflow:2.5.0-gpu

# nvidia-docker 1.0
LABEL com.nvidia.volumes.needed="nvidia_driver"
Expand Down

0 comments on commit 1317e85

Please sign in to comment.