|
|
|
@@ -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, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}) |
|
|
|
|