{"id":24453067,"url":"https://github.com/muhac/jupyter-pytorch-docker","last_synced_at":"2025-10-01T15:31:10.187Z","repository":{"id":192062425,"uuid":"686140751","full_name":"muhac/jupyter-pytorch-docker","owner":"muhac","description":"JupyterLab for AI in Docker! Anaconda and PyTorch GPU supported.","archived":false,"fork":false,"pushed_at":"2025-01-13T08:56:08.000Z","size":65,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T09:41:13.402Z","etag":null,"topics":["conda-environment","cuda","docker","jupyterlab","pytorch"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/muhac/jupyter-pytorch","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muhac.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-01T21:08:42.000Z","updated_at":"2025-01-10T05:07:06.000Z","dependencies_parsed_at":"2023-12-05T16:08:08.963Z","dependency_job_id":"3afb0094-f55e-4148-9a27-50a79256d319","html_url":"https://github.com/muhac/jupyter-pytorch-docker","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"155b7f84de01134c3cc91ba52cd628d1e5f05cc9"},"previous_names":["muhac/conda-cuda","muhac/docker-jupyter-pytorch-gpu","muhac/docker-jupyter-pytorch","muhac/jupyter-pytorch-docker"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhac%2Fjupyter-pytorch-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhac%2Fjupyter-pytorch-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhac%2Fjupyter-pytorch-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhac%2Fjupyter-pytorch-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muhac","download_url":"https://codeload.github.com/muhac/jupyter-pytorch-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234878692,"owners_count":18900684,"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":["conda-environment","cuda","docker","jupyterlab","pytorch"],"created_at":"2025-01-21T01:18:19.380Z","updated_at":"2025-10-01T15:31:09.860Z","avatar_url":"https://github.com/muhac.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JupyterLab Docker Image with PyTorch GPU\n\nJupyterLab for AI in Docker! `conda` installed. By default, the JupyterLab server runs on an Anaconda environment with PyTorch and some other commonly used libraries installed.\n\nThis docker configuration is Ubuntu 22.04 LTS, CUDA version 12.4, cuDNN 9. You may change the base system and the CUDA version listed here: [nvidia/cuda | DockerHub](https://hub.docker.com/r/nvidia/cuda/tags?page=1).\n\nCUDA Docker environment is supported by [Ubuntu nvidia cuda toolkit](https://packages.ubuntu.com/jammy/amd64/nvidia-cuda-toolkit). Instruction: [CUDA and cuDNN Install | Pop!_OS](https://support.system76.com/articles/cuda/). It should work on Windows as well, with WSL.\n\n## Available Tags\n\n- `latest`: Most recent build directly from the latest `main` branch.\n- `v2.x.x`: JupyterLab installed with PyTorch GPU version `2.x.x`.\n- Branch names: Snapshots of the project environment; refer to the branch README for more information.\n\nFull list are available on [muhac/jupyter-pytorch | DockerHub](https://hub.docker.com/r/muhac/jupyter-pytorch).\n\n## Install \u0026 Usage\n\nThe image automatically runs a JupyterLab server on port `80`. Working directory in the container: `/root/projects`.\n\n```bash\nSERVER_PORT=${SERVER_PORT:-80}\nPROJECT_DIR=${PROJECT_DIR:-$(pwd)}\nTIME_ZONE=${TIME_ZONE:-America/Toronto}\n\ndocker run -d                      \\\n    --name jupyter-pytorch         \\\n    --restart unless-stopped       \\\n    --ipc=host                     \\\n    --gpus all                     \\\n    --env TZ=$TIME_ZONE            \\\n    -p $SERVER_PORT:80             \\\n    -v $PROJECT_DIR:/root/projects \\\n    muhac/jupyter-pytorch:latest\n```\n\nYou can use [this notebook](JupyterLabConfig/notebooks/PyTorchGPU.ipynb) to check your PyTorch GPU environment.\n\nIt is also possible to create your own conda environment and change `/root/.bashrc` to use a different one when starting JupyterLab. If you want to do this, make sure you keep all related files synced in the host system to prevent loss after pulling a new image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhac%2Fjupyter-pytorch-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhac%2Fjupyter-pytorch-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhac%2Fjupyter-pytorch-docker/lists"}