Browse Source

make build

tags/v1.21.12.2^2
lewis 4 years ago
parent
commit
14a514340e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      routers/repo/cloudbrain.go

+ 2
- 1
routers/repo/cloudbrain.go View File

@@ -283,11 +283,12 @@ func CloudBrainRestart(ctx *context.Context) {
}
}

jobName := task.JobName
/*jobName := task.JobName
codePath := setting.JobPath + jobName + cloudbrain.CodeMountPath
err = cloudbrain.GenerateTask(ctx, jobName, image, cloudbrain.Command, task.Uuid, codePath, getMinioPath(jobName, cloudbrain.ModelMountPath+"/"),
getMinioPath(jobName, cloudbrain.BenchMarkMountPath+"/"), getMinioPath(jobName, cloudbrain.Snn4imagenetMountPath+"/"),
getMinioPath(jobName, cloudbrain.BrainScoreMountPath+"/"), jobType, gpuQueue, resourceSpecId)
*/
if err != nil {
ctx.RenderWithErr(err.Error(), tplCloudBrainIndex, nil)
return


Loading…
Cancel
Save