{"id":18864667,"url":"https://github.com/yuhui-zh15/gpu-smart","last_synced_at":"2025-06-22T07:38:27.285Z","repository":{"id":68843044,"uuid":"145769109","full_name":"yuhui-zh15/GPU-Smart","owner":"yuhui-zh15","description":"Interactive Automatic GPU Manager","archived":false,"fork":false,"pushed_at":"2018-08-23T07:18:11.000Z","size":27,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T20:12:04.843Z","etag":null,"topics":["cuda","cudnn","deep-learning","gpu","manager","neural-network","nvidia","pytorch","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuhui-zh15.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":"2018-08-22T22:22:11.000Z","updated_at":"2024-01-03T08:25:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"2bd3bb8f-2c26-4704-8c5e-ecf6692f4ef7","html_url":"https://github.com/yuhui-zh15/GPU-Smart","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/yuhui-zh15/GPU-Smart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhui-zh15%2FGPU-Smart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhui-zh15%2FGPU-Smart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhui-zh15%2FGPU-Smart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhui-zh15%2FGPU-Smart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuhui-zh15","download_url":"https://codeload.github.com/yuhui-zh15/GPU-Smart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhui-zh15%2FGPU-Smart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261255901,"owners_count":23131479,"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","cudnn","deep-learning","gpu","manager","neural-network","nvidia","pytorch","tensorflow"],"created_at":"2024-11-08T04:43:41.157Z","updated_at":"2025-06-22T07:38:22.273Z","avatar_url":"https://github.com/yuhui-zh15.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPU-Smart: Interactive Automatic GPU Manager\n\n###### Author: Yuhui Zhang, yuhui-zh15@mails.tsinghua.edu.cn, www.yuhui.ac.cn, Tsinghua University\n\n## Version 1.1\n\n### Usage\n\n`python3 main.py`\n\n### Requirements\n\ngpustat==0.4.1\n\n### Advantages:\n\n- [x] Interactive and easy to use\n- [x] Simply add bash command into your waiting lists\n- [x] Automatically detect and select idle GPU to run command in your waiting lists\n- [x] No need to modify any part of your code\n- [x] Clearly show waiting lists and running history\n- [x] Concisely show GPU status: memory, temperature, usage, etc.\n- [x] Allow manually set number of GPUs reserved for others\n\n### Menu\n```\nWelcome to Smart GPU Queue\n--------------------------\n[1] New Command\n[2] Running History\n[3] Waiting List\n[4] GPU Status\n[5] Reserve Number\n--------------------------\n```\n\n### New Command\n```\nPlease input command\n\u003cYour Command Here\u003e\npython idle.py\n```\n\n### Running History\n```\n\u003cTask ID\u003e{GPU ID}{Enqueue Time-\u003eDequeue Time}: Command\n[0]{GPU: 0}(Thu Aug 23 08:10:54 2018-\u003eThu Aug 23 08:11:56 2018): python idle.py\n[1]{GPU: 1}(Thu Aug 23 08:10:58 2018-\u003eThu Aug 23 08:12:59 2018): python idle.py\n[2]{GPU: 2}(Thu Aug 23 08:11:02 2018-\u003eThu Aug 23 08:14:01 2018): python idle.py\n[3]{GPU: 3}(Thu Aug 23 08:11:06 2018-\u003eThu Aug 23 08:15:03 2018): python idle.py\n```\n\n### Waiting List\n```\n\u003cTask ID\u003e{Enqueue Time}: Command\n[0](Thu Aug 23 08:10:54 2018): python idle.py\n[1](Thu Aug 23 08:10:58 2018): python idle.py\n[2](Thu Aug 23 08:11:02 2018): python idle.py\n[3](Thu Aug 23 08:11:06 2018): python idle.py\n```\n\n### GPU Status\n```\n\u003cServer\u003e  Thu Aug 23 10:27:52 2018\n[0] Tesla K20c       | 43'C,   0 % |     0 /  4742 MB |\n[1] Tesla K20c       | 44'C,   0 % |     0 /  4742 MB |\n[2] Tesla K20c       | 43'C,   0 % |     0 /  4742 MB |\n[3] Tesla K20c       | 39'C,  96 % |     0 /  4742 MB |\n```\n\n### Reserve Number\n```\nCurrent Reserve Number: 0\nPlease input how many GPUs you want to reserve\n\u003cNumber Here\u003e\n2\nSet successfully\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhui-zh15%2Fgpu-smart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuhui-zh15%2Fgpu-smart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhui-zh15%2Fgpu-smart/lists"}