Browse Source

add

tags/v1.22.12.1^2
Gitea 3 years ago
parent
commit
a32a705b0b
1 changed files with 3 additions and 19 deletions
  1. +3
    -19
      modules/modelarts/modelarts.go

+ 3
- 19
modules/modelarts/modelarts.go View File

@@ -67,11 +67,9 @@ const (
ConfigTypeCustom = "custom"
TotalVersionCount = 1

NfsID = "c6a73891-6a19-4a6a-a2e8-0d6baa72a7c5"
NfsSourcePath = "192.168.0.30:/"
NfsDestPath = "/cache/sfs"
HostSourcePath = "/mnt/sfs_turbo/data"
HostDestPath = "/cache/host"
NfsID = "c6a73891-6a19-4a6a-a2e8-0d6baa72a7c5"
NfsSourcePath = "192.168.0.30:/"
NfsDestPath = "/cache/sfs"
)

var (
@@ -388,13 +386,6 @@ func GenerateTrainJob(ctx *context.Context, req *GenerateTrainJobReq) (jobId str
ReadOnly: false,
},
},
{
HostPath: models.HostPath{
SourcePath: HostSourcePath,
DestPath: HostDestPath,
ReadOnly: false,
},
},
},
},
})
@@ -425,13 +416,6 @@ func GenerateTrainJob(ctx *context.Context, req *GenerateTrainJobReq) (jobId str
ReadOnly: false,
},
},
{
HostPath: models.HostPath{
SourcePath: HostSourcePath,
DestPath: HostDestPath,
ReadOnly: false,
},
},
},
},
})


Loading…
Cancel
Save