Skip to content

Commit

Permalink
[Docs] Update custom_images.md (#524)
Browse files Browse the repository at this point in the history
* Update custom_images.md

Added PyTorch custom image information

* Update custom_images.md

Fixed formatting

Co-authored-by: Sergey Togulev <[email protected]>
  • Loading branch information
IvyBazan and SergTogul authored Sep 8, 2020
1 parent e4043b0 commit 9514fde
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion custom_images.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,26 @@ We can easily customize both training and inference with Deep Learning Container
In the following example Dockerfile, the resulting Docker image will have TensorFlow v1\.15\.2 optimized for GPUs and built to support Horovod and Python 3 for multi\-node distributed training\. It will also have the AWS samples GitHub repo which contains many deep learning model examples\.

```
#Take the base TensorFlow container
# Take the base TensorFlow container
FROM 763104351884.dkr.ecr.us-east-1.amazonaws.com/tensorflow-training:1.15.2-gpu-py36-cu100-ubuntu18.04
# Add your custom stack of code
RUN git clone https://github.com/aws-samples/deep-learning-models
```

### Training with PyTorch

In the following example Dockerfile, the resulting Docker image will have PyTorch v1\.6\.0 optimized for GPUs. It will also have the Amazon SageMaker samples GitHub repo which contains many deep learning model examples\.

```
# Take the base PyTorch container
FROM 763104351884.dkr.ecr.us-east-1.amazonaws.com/pytorch-training:1.6.0-gpu-py36-cu101-ubuntu16.04
# Add your custom stack of code
RUN git clone https://github.com/awslabs/amazon-sagemaker-examples
```


### Training with MXNet

In the following example Dockerfile, the resulting Docker image will have MXNet v1\.6\.0 optimized for GPU inference built to support Horovod and Python 3\. It will also have the MXNet GitHub repo which contains many deep learning model examples\.
Expand Down

0 comments on commit 9514fde

Please sign in to comment.