mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 08:16:43 +00:00
bugfix
This commit is contained in:
10
src/util.go
10
src/util.go
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user