Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3902 from mrteera/master
Fix Dockerfile to be able to train mnist with GPU
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
FROM nvidia/cuda:7.5-cudnn5-devel | ||
FROM nvidia/cuda:8.0-cudnn6-devel | ||
|
||
RUN apt-get update -y && \ | ||
apt-get install -y --no-install-recommends \ | ||
python-dev \ | ||
python-pip && \ | ||
python-pip \ | ||
python-wheel \ | ||
python-setuptools && \ | ||
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* | ||
|
||
RUN pip install cupy==4.0.0b2 chainer==4.0.0b2 |
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
FROM nvidia/cuda:7.5-cudnn5-devel | ||
FROM nvidia/cuda:8.0-cudnn6-devel | ||
|
||
RUN apt-get update -y && \ | ||
apt-get install -y --no-install-recommends \ | ||
python3-dev \ | ||
python3-pip && \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
python3-wheel && \ | ||
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* | ||
|
||
RUN pip3 install cupy==4.0.0b2 chainer==4.0.0b2 |