mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-06 22:01:55 +00:00
update
This commit is contained in:
parent
5f8766cd62
commit
6c1c93b362
@ -271,7 +271,7 @@ func (scheduler *SchedulerFair) Start() {
|
||||
}
|
||||
pool := InstanceOfResourcePool()
|
||||
/* Make sure resource it enough */
|
||||
if len(scheduler.schedulingJobs) == 0 || (numberGPUtmp*10+(scheduler.allocatingGPU)*13 <= (pool.TotalGPU-pool.UsingGPU)*10) {
|
||||
if len(scheduler.schedulingJobs) == 0 || (numberGPUtmp*10+(scheduler.allocatingGPU)*10 <= (pool.TotalGPU-pool.UsingGPU)*10) {
|
||||
flag = true
|
||||
|
||||
log.Info("Before, ", scheduler.queuesQuota[bestQueue])
|
||||
|
Loading…
Reference in New Issue
Block a user