Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3035/head
zouap 2 years ago
parent
commit
09d9d45495
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/aisafety.go

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

@@ -856,7 +856,7 @@ func createForGPU(ctx *context.Context, jobName string) {
ckptUrl := setting.Attachment.Minio.RealPath + TrainUrl + CkptName ckptUrl := setting.Attachment.Minio.RealPath + TrainUrl + CkptName
log.Info("ckpt url:" + ckptUrl) log.Info("ckpt url:" + ckptUrl)
spec, err := resource.GetAndCheckSpec(ctx.User.ID, specId, models.FindSpecsOptions{ spec, err := resource.GetAndCheckSpec(ctx.User.ID, specId, models.FindSpecsOptions{
JobType: models.JobTypeBenchmark,
JobType: models.JobTypeTrain,
ComputeResource: models.GPU, ComputeResource: models.GPU,
Cluster: models.OpenICluster, Cluster: models.OpenICluster,
AiCenterCode: models.AICenterOfCloudBrainOne}) AiCenterCode: models.AICenterOfCloudBrainOne})


Loading…
Cancel
Save