|
|
|
@@ -1045,7 +1045,6 @@ type CreateUserImageTrainJobParams struct { |
|
|
|
Description string `json:"job_desc"` |
|
|
|
Config UserImageConfig `json:"config"` |
|
|
|
WorkspaceID string `json:"workspace_id"` |
|
|
|
DataMount Nfs `json:"volumes"` |
|
|
|
} |
|
|
|
|
|
|
|
type UserImageConfig struct { |
|
|
|
@@ -1061,6 +1060,7 @@ type UserImageConfig struct { |
|
|
|
CreateVersion bool `json:"create_version"` |
|
|
|
Flavor Flavor `json:"flavor"` |
|
|
|
PoolID string `json:"pool_id"` |
|
|
|
DataMount Volumes `json:"volumes"` |
|
|
|
} |
|
|
|
|
|
|
|
type CreateTrainJobParams struct { |
|
|
|
@@ -1068,7 +1068,6 @@ type CreateTrainJobParams struct { |
|
|
|
Description string `json:"job_desc"` |
|
|
|
Config Config `json:"config"` |
|
|
|
WorkspaceID string `json:"workspace_id"` |
|
|
|
DataMount Nfs `json:"volumes"` |
|
|
|
} |
|
|
|
|
|
|
|
type Config struct { |
|
|
|
@@ -1082,9 +1081,10 @@ type Config struct { |
|
|
|
LogUrl string `json:"log_url"` |
|
|
|
//UserImageUrl string `json:"user_image_url"` |
|
|
|
//UserCommand string `json:"user_command"` |
|
|
|
CreateVersion bool `json:"create_version"` |
|
|
|
Flavor Flavor `json:"flavor"` |
|
|
|
PoolID string `json:"pool_id"` |
|
|
|
CreateVersion bool `json:"create_version"` |
|
|
|
Flavor Flavor `json:"flavor"` |
|
|
|
PoolID string `json:"pool_id"` |
|
|
|
DataMount Volumes `json:"volumes"` |
|
|
|
} |
|
|
|
type CreateInferenceJobParams struct { |
|
|
|
JobName string `json:"job_name"` |
|
|
|
|