Browse Source

提交代码

tags/v1.22.8.1^2
ychao_1983 3 years ago
parent
commit
809ddc4966
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/grampus.go

+ 1
- 1
routers/repo/grampus.go View File

@@ -472,7 +472,7 @@ func GrampusTrainJobNpuCreate(ctx *context.Context, form auth.CreateGrampusTrain
//todo: upload code (send to file_server todo this work?)
if err := obsMkdir(setting.CodePathPrefix + jobName + modelarts.OutputPath); err != nil {
log.Error("Failed to obsMkdir_output: %s (%v)", repo.FullName(), err)
grampusTrainJobNewDataPrepare(ctx, grampus.ProcessorTypeGPU)
grampusTrainJobNewDataPrepare(ctx, grampus.ProcessorTypeNPU)
ctx.RenderWithErr("Failed to obsMkdir_output", tplGrampusTrainJobNPUNew, &form)
return
}


Loading…
Cancel
Save