Skip to content

KeitetsuWorks/jetson-chainer-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chainer Docker Image for NVIDIA Jetson

This repository contains the Dockerfile for building Chainer for NVIDIA Jetson.

Supported Version

  • Chainer v7.7.0
  • CuPy v7.8.0
  • ChainerCV v0.13.1

Docker Default Runtime

The following instructions are quoted from dusty-nv/jetson-containers.

To enable access to the CUDA compiler (nvcc) during docker build operations, add "default-runtime": "nvidia" to your /etc/docker/daemon.json configuration file before attempting to build the containers:

{
    "runtimes": {
        "nvidia": {
            "path": "nvidia-container-runtime",
            "runtimeArgs": []
        }
    },

    "default-runtime": "nvidia"
}

You will then want to restart the Docker service or reboot your system before proceeding.

$ sudo service docker restart

Building the Docker Image

To build the docker image from a Jetson device running JetPack 4.4, first clone this repo:

$ git clone https://github.com/KeitetsuWorks/jetson-chainer-docker.git
$ cd jetson-chainer-docker/build
$ ./build.sh

Running the Container

$ cd jetson-chainer-docker/run
$ ./run.sh

License

  • MIT