{"id":23826640,"url":"https://github.com/suvash/nixos-nvidia-cuda-python-docker-compose","last_synced_at":"2025-10-04T08:59:33.961Z","repository":{"id":42073889,"uuid":"393672085","full_name":"suvash/nixos-nvidia-cuda-python-docker-compose","owner":"suvash","description":"A step-by-step guide to setting up Nvidia GPUs with CUDA support running on Docker (and Compose) containers on NixOS host","archived":false,"fork":false,"pushed_at":"2025-03-12T18:34:07.000Z","size":71,"stargazers_count":46,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-07T09:36:55.215Z","etag":null,"topics":["deep-learning","docker-compose","jax","nixos","nvidia","nvidia-cuda","nvidia-docker","nvidia-smi","python","pytorch","tensorflow","triton"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suvash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-07T12:02:58.000Z","updated_at":"2025-07-22T13:41:34.000Z","dependencies_parsed_at":"2025-03-13T01:45:45.252Z","dependency_job_id":null,"html_url":"https://github.com/suvash/nixos-nvidia-cuda-python-docker-compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suvash/nixos-nvidia-cuda-python-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suvash%2Fnixos-nvidia-cuda-python-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suvash%2Fnixos-nvidia-cuda-python-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suvash%2Fnixos-nvidia-cuda-python-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suvash%2Fnixos-nvidia-cuda-python-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suvash","download_url":"https://codeload.github.com/suvash/nixos-nvidia-cuda-python-docker-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suvash%2Fnixos-nvidia-cuda-python-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278289501,"owners_count":25962356,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["deep-learning","docker-compose","jax","nixos","nvidia","nvidia-cuda","nvidia-docker","nvidia-smi","python","pytorch","tensorflow","triton"],"created_at":"2025-01-02T12:34:03.613Z","updated_at":"2025-10-04T08:59:33.926Z","avatar_url":"https://github.com/suvash.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker+Compose with CUDA (Nvidia container toolkit) + Jupyter \u0026 Python DL libraries on NixOS guide\n\n\u003e Guide updated to : CUDA 12.7 (NixOS host) | CUDA 12.6.3 (docker container) | Python 3.11.11 | PyTorch 2.6.0\n\nThis repository includes a step-by-step guide for :\n- running deep learning libraries(such as pytorch 2.1)\n- in docker containers\n- via docker-compose\n- with full CUDA support (container Cuda version: 12.6)\n- on NixOS hosts (Cuda Version: 12.7)\n\nThe primary target of the usage guide is for setting up deep learning projects on NixOS systems with Nvidia GPUs.\n\n## If you're on NixOS\n\nFollow the guide from step 01.\n\n- [Step 01 : Setup Nvidia driver on NixOS](./01-nixos-nvidia-setup.org)\n- [Step 02 : Setup Docker on NixOS with Nvidia container toolkit integration](./02-nixos-docker-nvidia-setup.org)\n\nThe following steps are not specific to NixOS. Continue along !\n\n## If you're not on NixOS, but have installed Docker + Nvidia container toolkit successfully, and pass the tests mentioned in step 02\n\nFollow the guide from step 03.\n\n- [Step 03 : Setup Docker Compose with GPU device access](./03-nvidia-docker-compose-setup.org)\n- [Step 04 : Prepare a base Python image with DL libraries](./04-base-image-with-python-and-required-libraries.org)\n- [Step 05 : Prepare a Compose project with base image, JupyterLab \u0026 libs](./05-docker-compose-project-base-image-jupyter-and-friends.org)\n\n# Just a heads up\n\nWhile most of the files (and project folders are provided), you might have to update a couple of files, specially towards the final step. So, taking the time to go through the documentation is definitely advised.\n\n\n# Contributions\n\nThis guide is definitely most well suited for the author's personal usage. However, contributions are most welcome.\n\nThere's a fair chance that this document might not be working (or simply, outdated) by the time you see this. Please feel free to open an issue in that case.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuvash%2Fnixos-nvidia-cuda-python-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuvash%2Fnixos-nvidia-cuda-python-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuvash%2Fnixos-nvidia-cuda-python-docker-compose/lists"}