Sign inSign up

cemizm/sci-gpu

By cemizm

•Updated over 6 years ago

Data science images with GPU/Cuda support

Image
0

692

cemizm/sci-gpu repository overview

⁠Data Science GPU Images

Many scientific tools and frameworks for machine learning support the use of GPUs to increase performance for certain operations and thus reduce waiting time. Thanks to the Nvidia Docker plugin⁠, Docker containers can also benefit from this. But besides the installed Docker plugin, it is also necessary that the images contain the Cuda runtime environment⁠. This can either be installed later into the desired image or the image can be based on the Cuda image⁠ provided by Nvidia. The aim of this repository is to create various images for the most common scientific tools and frameworks based on the Nvidia Cuda Image. These can then be used as they are or as a basis for your own images.

⁠Quickstart

To use the images provided here, you can either run them in the interactive mode or use them as a base image for your images.

⁠Interactive mode
docker run -it --rm cemizm/sci-gpu:tensorflow /bin/bash
⁠Image
FROM cemizm/sci-gpu:tensorflow

COPY requirements.txt requirements.txt

RUN pip install -r requirements.txt

COPY . .

CMD python train.py

⁠Base Image

The base image is the base for all images in this repository. Its based on the nvidia/cuda image and installs all common system packages for the following images.

Dockerfile⁠

docker pull cemizm/sci-gpu:base
⁠System packages

⁠Scipy Image

Extends the Base Image with python and pip environment and installs a bunch of pip packages for data science.

Dockerfile⁠

docker pull cemizm/sci-gpu:scipy
⁠Packages

⁠Tensorflow

Adds Keras and Tensorflow GPU Backend to the image.

Dockerfile⁠

docker pull cemizm/sci-gpu:tensorflow
⁠Packages

⁠PyTorch

Adds pytorch with gpu support to the image.

Dockerfile⁠

docker pull cemizm/sci-gpu:pytorch
⁠Packages

⁠Jupyter Lab with tensorflow

Adds jupyter lab to the tensorflow image

Dockerfile⁠

docker pull cemizm/sci-gpu:jupyter-tensorflow
⁠Packages

Tag summary

Content type

Image

Digest

Size

2.8 GB

Last updated

over 6 years ago

docker pull cemizm/sci-gpu:tensorflow