Fix command highlight in README (#3521)

This commit is contained in:
Victoria X Lin 2017-11-07 03:50:48 -08:00 committed by Soumith Chintala
parent 6dd87dc88a
commit d2ddbaaf8d

View File

@ -202,9 +202,11 @@ MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install
Dockerfile is supplied to build images with cuda support and cudnn v6. Build as usual
```
docker build -t pytorch .
```
Dockerfile to build with cuda 9 and cudnn v7 (with Volta support) is in tools/docker, the build command is
```
docker build -t pytorch_cuda9 -f tools/docker/Dockerfile9 .
```
Alternatively, if you want to use a runtime image, you can use the pre-built one from Docker Hub and run with nvidia-docker: