Giter Club home page Giter Club logo

cuda-images's Introduction

pyhf NVIDIA CUDA enabled Docker images

pyhf Docker images built on the NVIDIA CUDA enabled images for runtime use with the the NVIDIA Container Toolkit.

These images are meant to be used as base images for bespoke user application images to build on.

Docker Images Docker Pulls

Installation

Example:

docker pull pyhf/cuda:0.6.3-jax-cuda-11.1

Use

To check that NVIDIA GPUS are being properly detected run

docker run --rm --gpus all pyhf/cuda:0.6.3-jax-cuda-11.1 'nvidia-smi'

and check if the nvidia-smi output appears correctly.

To run (interactively) using GPUs on the host machine:

docker run --rm -ti --gpus all pyhf/cuda:0.6.3-jax-cuda-11.1

Tests

To verify things are working on your host machine you can run

docker run --rm --gpus all -v $PWD:$PWD -w $PWD pyhf/cuda:0.6.3-jax-cuda-11.1 'bash tests/test_backend.sh jax'

cuda-images's People

Contributors

matthewfeickert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cuda-images's Issues

Reduce image size with multi-stage builds

It may be possible to reduce the image sizes with multi-stage builds, though this might take lots of effort.

Some things that might be worth reading after a Google search on "NVIDIA multi stage build" are:

I'm not sure if mutli-stage builds help much though for Python projects. I think you would normally use the devel tagged nvidia/cuda images to build software and then once it is build copy it out in a secondary stage to a runtime tagged nvidia/cuda image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.