{"id":20470637,"url":"https://github.com/devops-ws/gpu-guide","last_synced_at":"2026-03-09T13:34:41.393Z","repository":{"id":133664761,"uuid":"595078165","full_name":"devops-ws/gpu-guide","owner":"devops-ws","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-25T03:35:58.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T02:17:15.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jenkins-zh.cn","language":null,"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/devops-ws.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}},"created_at":"2023-01-30T10:52:30.000Z","updated_at":"2023-01-30T10:52:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"94e27b26-d0db-488c-b2af-4daba8ea04b3","html_url":"https://github.com/devops-ws/gpu-guide","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/devops-ws%2Fgpu-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-ws%2Fgpu-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-ws%2Fgpu-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-ws%2Fgpu-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devops-ws","download_url":"https://codeload.github.com/devops-ws/gpu-guide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242034171,"owners_count":20061079,"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":[],"created_at":"2024-11-15T14:13:37.280Z","updated_at":"2026-03-09T13:34:41.337Z","avatar_url":"https://github.com/devops-ws.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# gpu-guide\n\n安装 `hd` 工具：`curl https://gitee.com/linuxsuren/tools/raw/master/install-zh.sh|bash`\n\n## 安装 Toolkit\n```shell\nhd i nvidia-container-toolkit\n```\n\n## 安装 NVIDIA 容器运行时\n```shell\nhd i nvidia-docker2\n```\n\n## 安装 GPU Operator\n```shell\nhelm repo add nvidia https://nvidia.github.io/gpu-operator\nhelm repo update\nhelm install gpu-operator nvidia/gpu-operator -n gpu-operator-resources --set toolkit.version=1.6.0-centos7\n```\n\n## 测试\n```shell\ncat \u003c\u003cEOF | kubectl apply -f -\napiVersion: v1\nkind: Pod\nmetadata:\n   name: dcgmproftester\nspec:\n   restartPolicy: OnFailure\n   containers:\n   - name: dcgmproftester\n     image: nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda10.2\n     resources:\n      limits:\n         nvidia.com/gpu: 1\nEOF\n```\n\n## FAQ\n* `version `GLIBC_2.27' not found`\n  * 部分驱动有问题，可以通过指定驱动版本解决。详情参考[这里](https://github.com/NVIDIA/gpu-operator/issues/72).\n\n## 参考\n* https://github.com/kubesphere/website/blob/4a98ae47cb26307899936a26c972dcb30ebd126d/content/zh/blogs/GPU-Operator.md\n* https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#supported-platforms\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-ws%2Fgpu-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevops-ws%2Fgpu-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-ws%2Fgpu-guide/lists"}