{"id":20632672,"url":"https://github.com/acm-uiuc/nvdocker","last_synced_at":"2025-03-08T23:05:37.368Z","repository":{"id":57447390,"uuid":"119562517","full_name":"acm-uiuc/nvdocker","owner":"acm-uiuc","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-24T16:53:46.000Z","size":29,"stargazers_count":1,"open_issues_count":14,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-17T20:41:41.405Z","etag":null,"topics":["gpu-cluster"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acm-uiuc.png","metadata":{"files":{"readme":"README.rst","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":"2018-01-30T16:25:56.000Z","updated_at":"2023-02-09T06:19:47.000Z","dependencies_parsed_at":"2022-09-03T23:40:50.340Z","dependency_job_id":null,"html_url":"https://github.com/acm-uiuc/nvdocker","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acm-uiuc%2Fnvdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acm-uiuc%2Fnvdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acm-uiuc%2Fnvdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acm-uiuc%2Fnvdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acm-uiuc","download_url":"https://codeload.github.com/acm-uiuc/nvdocker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242619127,"owners_count":20159003,"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":["gpu-cluster"],"created_at":"2024-11-16T14:17:00.074Z","updated_at":"2025-03-08T23:05:37.344Z","avatar_url":"https://github.com/acm-uiuc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"nvdocker\n========\n\nnvdocker is library built on top of the docker-py python sdk to build\nand run docker containers using nvidia-docker.\n\nTargets nvidia-docker2\n\nInstallation\n------------\n\n-  Install nvidia-docker\n\n    https://github.com/NVIDIA/nvidia-docker#quickstart\n\n-  Install nvdocker\n\n::\n\n    pip install nvdocker\n\nUsage\n-----\n\nThese variables are already set in NVIDIA's `official CUDA\nimages \u003chttps://hub.docker.com/r/nvidia/cuda/\u003e`__.\n\n``visible_devices``\n~~~~~~~~~~~~~~~~~~~\n\nThis variable controls which GPUs will be made accessible inside the\ncontainer.\n\n-  Possible values:\n\n   -  ``0,1,2``, ``GPU-fef8089b`` …: a comma-separated list of GPU\n      UUID(s) or index(es),\n   -  ``all``: all GPUs will be accessible, this is the default value in\n      our container images,\n   -  ``none``: no GPU will be accessible, but driver capabilities will\n      be enabled.\n   -  ``void`` or *empty* or *unset*: ``nvidia-container-runtime`` will\n      have the same behavior as ``runc``.\n\n``driver_capabilites``\n~~~~~~~~~~~~~~~~~~~~~~\n\nThis option controls which driver libraries/binaries will be mounted\ninside the container.\n\n-  Possible values\n\n   -  ``compute,video,graphics,utility`` …: a comma-separated list of\n      driver features the container needs,\n   -  ``all``: enable all available driver capabilities.\n   -  *empty* or *unset*: use default driver capability: ``utility``.\n\n-  Supported driver capabilities\n\n   -  ``compute``: required for CUDA and OpenCL applications,\n   -  ``compat32``: required for running 32-bit applications,\n   -  ``graphics``: required for running OpenGL and Vulkan applications,\n   -  ``utility``: required for using ``nvidia-smi`` and NVML,\n   -  ``video``: required for using the Video Codec SDK.\n\n``require``\n~~~~~~~~~~~~~\n\nA logical expression to define constraints on the configurations\nsupported by the container.\n\n-  Supported constraints\n\n   -  ``cuda``: constraint on the CUDA driver version,\n   -  ``driver``: constraint on the driver version,\n   -  ``arch``: constraint on the compute architectures of the selected\n      GPUs.\n\nExpressions\n^^^^^^^^^^^\n\n| Multiple constraints can be expressed in a single environment\n  variable: space-separated constraints are ORed, comma-separated\n  constraints are ANDed.\n| Multiple environment variables of the form ``rew`` are ANDed together.\n\n\n``cuda``\n^^^^^^^^^^^^^^^^^^^^^^^\n\nThe version of the CUDA toolkit used by the container. If the version of the NVIDIA driver is insufficient to run this\nversion of CUDA, the container will not be started.\n\nPossible values\n'''''''''''''''\n\n-  ``cuda\u003e=7.5``, ``cuda\u003e=8.0``, ``cuda\u003e=9.0`` …: any valid CUDA version\n   in the form ``major.minor``.\n\n\n``cuda_vesion``\n~~~~~~~~~~~~~~~~\n\n| Similar to ``NVIDIA_REQUIRE_CUDA``, for legacy CUDA images.\n| In addition, if ``NVIDIA_REQUIRE_CUDA`` is not set,\n  ``NVIDIA_VISIBLE_DEVICES`` and ``NVIDIA_DRIVER_CAPABILITIES`` will\n  default to ``all``.\n\n``disable_require``\n^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nSingle switch to disable all the constraints of the form\n\nCopyright and License\n---------------------\n\nThis project is released under the `UIUC/NCSA\nLicense \u003chttps://github.com/acm-uiuc/nvdocker/blob/masterLICENSE\u003e`__.\n\n\n``docker-py`` is licensed under the `Apache License\n2.0 \u003chttps://github.com/docker/docker-py/blob/master/LICENSE\u003e`__.\n\n\nnvidia-docker and nvidia-container-runtime are licensed under the `BSD\n3-clause\nlicense \u003chttps://github.com/NVIDIA/nvidia-container-runtime/blob/master/LICENSE\u003e`__.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facm-uiuc%2Fnvdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facm-uiuc%2Fnvdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facm-uiuc%2Fnvdocker/lists"}