HUB
Sign inSign up
pycuda logo

activeeon/pycuda

By activeeon

•Updated over 8 years ago

A Dockerfile to build a basic PyCUDA Docker image.

Image
0

504

activeeon/pycuda repository overview

⁠Dockerfile

FROM ubuntu:16.04

RUN apt-get update

# To avoid selection of keyboard during install ENV DEBIAN_FRONTEND noninteractive

RUN apt-get install -y python3-pycuda

# python3 as default command RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10

RUN apt-get install -y python3-pip python3-tk RUN pip3 install py4j matplotlib

⁠To run a docker container

docker run --device=/dev/nvidiactl --device=/dev/nvidia-uvm --device=/dev/nvidia0 ...

Tag summary

Content type

Image

Digest

Size

1.4 GB

Last updated

over 8 years ago

docker pull activeeon/pycuda