1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00
This commit is contained in:
2019-07-30 15:35:29 +08:00
parent 4a060d1e51
commit 463b04d9d0
4 changed files with 13 additions and 10 deletions

View File

@@ -137,9 +137,13 @@ type Task struct {
}
type Group struct {
Name string `json:"name"`
Weight int `json:"weight"`
NumGPU int `json:"gpu_number"`
Name string `json:"name"`
Weight int `json:"weight"`
Reserved bool `json:"reserved"`
NumGPU int `json:"quota_gpu"`
MemoryGPU int `json:"quota_gpu_mem"`
CPU int `json:"quota_cpu"`
Memory int `json:"quota_mem"`
}
type MsgGroupCreate struct {