{"id":13870131,"url":"https://github.com/pyhf/cuda-images","last_synced_at":"2025-07-15T20:31:28.372Z","repository":{"id":47249165,"uuid":"372719993","full_name":"pyhf/cuda-images","owner":"pyhf","description":"pyhf Docker images built on Nvidia Container Toolkit enabled base images","archived":false,"fork":false,"pushed_at":"2021-10-24T22:50:30.000Z","size":20,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-06T21:23:26.461Z","etag":null,"topics":["cuda","jax","nvidia","nvidia-cuda","nvidia-docker","pyhf"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/pyhf/cuda/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyhf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-01T06:10:56.000Z","updated_at":"2023-05-15T07:15:40.000Z","dependencies_parsed_at":"2022-09-10T11:40:32.124Z","dependency_job_id":null,"html_url":"https://github.com/pyhf/cuda-images","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyhf%2Fcuda-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyhf%2Fcuda-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyhf%2Fcuda-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyhf%2Fcuda-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyhf","download_url":"https://codeload.github.com/pyhf/cuda-images/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226068224,"owners_count":17568717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cuda","jax","nvidia","nvidia-cuda","nvidia-docker","pyhf"],"created_at":"2024-08-05T20:01:30.972Z","updated_at":"2024-11-23T16:31:10.362Z","avatar_url":"https://github.com/pyhf.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# `pyhf` NVIDIA CUDA enabled Docker images\n\n\n[`pyhf`](https://pyhf.readthedocs.io/) Docker images built on the [NVIDIA CUDA enabled images](https://github.com/NVIDIA/nvidia-docker) for runtime use with the the NVIDIA Container Toolkit.\n\n**These images are meant to be used as base images for bespoke user application images to build on.**\n\n[![Docker Images](https://github.com/pyhf/cuda-images/actions/workflows/docker.yml/badge.svg?branch=main)](https://github.com/pyhf/cuda-images/actions/workflows/docker.yml?query=branch%3Amain)\n[![Docker Pulls](https://img.shields.io/docker/pulls/pyhf/cuda.svg)](https://hub.docker.com/r/pyhf/cuda/)\n\n\n## Installation\n\n- Make sure that you have the [`nvidia-container-toolkit`](https://github.com/NVIDIA/nvidia-docker) installed on the host machine\n- Check the [list of available tags on Docker Hub](https://hub.docker.com/r/pyhf/cuda/tags?page=1) to find the tag you want\n- Use `docker pull` to pull down the image corresponding to the tag\n\nExample:\n\n```\ndocker pull pyhf/cuda:0.6.3-jax-cuda-11.1\n```\n\n## Use\n\nTo check that NVIDIA GPUS are being properly detected run\n\n```\ndocker run --rm --gpus all pyhf/cuda:0.6.3-jax-cuda-11.1 'nvidia-smi'\n```\n\nand check if the [`nvidia-smi`](https://developer.nvidia.com/nvidia-system-management-interface) output appears correctly.\n\nTo run (interactively) using GPUs on the host machine:\n\n```\ndocker run --rm -ti --gpus all pyhf/cuda:0.6.3-jax-cuda-11.1\n```\n\n## Tests\n\nTo verify things are working on your host machine you can run\n\n```\ndocker run --rm --gpus all -v $PWD:$PWD -w $PWD pyhf/cuda:0.6.3-jax-cuda-11.1 'bash tests/test_backend.sh jax'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyhf%2Fcuda-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyhf%2Fcuda-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyhf%2Fcuda-images/lists"}