Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile #71

Closed
wants to merge 8 commits into from
Closed

Add Dockerfile #71

wants to merge 8 commits into from

Conversation

MannyKayy
Copy link

Dockerfile for chainermn

@MannyKayy MannyKayy changed the title Add Dockefile Add Dockerfile May 26, 2017
Copy link
Member

@keisukefukuda keisukefukuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First of all, we really appreciate your contribution.We don't have access to Docker- & GPU-enabled machine so we cannot test it right now. It may take some time until we merge your PR. I'm sorry about that.

# Using ChainerMN via Docker

This directory contains a `Dockerfile` to quickly get up and running with
ChainerMN via [Docker](http://www.docker.com/).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a note that this dockerfile does not support fast interconnect? like:

If you run ChainerMN on mutiple computing nodes, we strongly
recommend to use high speed interconnect such as Infiniband
or OmniPath to obtain maximum performance of ChainerMN.

because to obtain the best performance shown in Takuya in GTC'17, fast interconnect is a must.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, note has been added

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

apt-get install -y \

wget \
vim \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, we don’t back any group in the Editor War ;)

@pksorensen
Copy link

pksorensen commented Aug 14, 2017

Hi @MannyKayy

I am trying out parts of this docker file for chainercv, and

>>> from chainercv.links import FasterRCNNVGG16, SSD300
>>> model = SSD300(pretrained_model='voc0712')
Downloading ...
From: https://github.com/yuyu2172/share-weights/releases/download/0.0.3/ssd300_voc0712_2017_06_06.npz
To: /home/chainer/.chainer/dataset/_dl_cache/39be0d7ab69efbab2387ccbf556b7e8d
  %   Total    Recv       Speed  Time left
100   93MiB   93MiB    123KiB/s    0:00:00/opt/conda/lib/python3.6/site-packages/chainercv/links/model/ssd/ssd_vgg16.py:245: RuntimeWarning: cv2 is not installed on your environment. Pretrained models are trained with cv2. The performace may change with Pillow backend.
  RuntimeWarning)

Any idea how opencv 2 should be added to the docker file?

@MannyKayy
Copy link
Author

MannyKayy commented Sep 11, 2017

@pksorensen opencv is abit messy to deal with. I created a bash script that works with my personal development environment. Feel free to fork.

@keisukefukuda
Copy link
Member

Can one of the admins verify this patch?

@keisukefukuda
Copy link
Member

ChainerMN support on k8s is now ongoing. Please refer to https://chainer.org/general/2018/05/10/chainermn-on-kubernetes.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants