diff --git a/routers/repo/grampus.go b/routers/repo/grampus.go index b204d20da..2ac0287d6 100755 --- a/routers/repo/grampus.go +++ b/routers/repo/grampus.go @@ -229,13 +229,6 @@ func GrampusTrainJobGpuCreate(ctx *context.Context, form auth.CreateGrampusTrain return } - errStr := checkSpecialPool(ctx, "GPU") - if errStr != "" { - grampusTrainJobNewDataPrepare(ctx, grampus.ProcessorTypeGPU) - ctx.RenderWithErr(errStr, tplGrampusTrainJobGPUNew, &form) - return - } - //check count limit count, err := models.GetGrampusCountByUserID(ctx.User.ID, string(models.JobTypeTrain), models.GPUResource) if err != nil { @@ -438,13 +431,6 @@ func GrampusTrainJobNpuCreate(ctx *context.Context, form auth.CreateGrampusTrain return } - errStr := checkSpecialPool(ctx, "NPU") - if errStr != "" { - grampusTrainJobNewDataPrepare(ctx, grampus.ProcessorTypeNPU) - ctx.RenderWithErr(errStr, tplGrampusTrainJobGPUNew, &form) - return - } - //check count limit count, err := models.GetGrampusCountByUserID(ctx.User.ID, string(models.JobTypeTrain), models.NPUResource) if err != nil {