|
|
@@ -50,33 +50,33 @@ type CreateFileNotebookJobOption struct { |
|
|
|
} |
|
|
|
|
|
|
|
type Cloudbrain struct { |
|
|
|
ID int64 `json:"id"` |
|
|
|
JobID string `json:"job_id"` |
|
|
|
JobType string `json:"job_type"` |
|
|
|
Type int `json:"type"` |
|
|
|
DisplayJobName string `json:"display_job_name"` |
|
|
|
Status string `json:"status"` |
|
|
|
CreatedUnix int64 `json:"created_unix"` |
|
|
|
RepoID int64 `json:"repo_id"` |
|
|
|
Duration int64 `json:"duration"` //运行时长 单位秒 |
|
|
|
TrainJobDuration string `json:"train_job_duration"` |
|
|
|
ImageID string `json:"image_id"` //grampus image_id |
|
|
|
Image string `json:"image"` |
|
|
|
Uuid string `json:"uuid"` //数据集id |
|
|
|
DatasetName string `json:"dataset_name"` |
|
|
|
ComputeResource string `json:"compute_resource"` //计算资源,例如npu |
|
|
|
AiCenter string `json:"ai_center"` //grampus ai center: center_id+center_name |
|
|
|
BranchName string `json:"branch_name"` //分支名称 |
|
|
|
Parameters string `json:"parameters"` //传给modelarts的param参数 |
|
|
|
BootFile string `json:"boot_file"` //启动文件 |
|
|
|
Description string `json:"description"` //描述 |
|
|
|
ModelName string `json:"model_name"` //模型名称 |
|
|
|
ModelVersion string `json:"model_version"` //模型版本 |
|
|
|
CkptName string `json:"ckpt_name"` //权重文件名称 |
|
|
|
StartTime int64 `json:"start_time"` |
|
|
|
EndTime int64 `json:"end_time"` |
|
|
|
|
|
|
|
Spec *SpecificationShow `json:"spec"` |
|
|
|
ID int64 `json:"id"` |
|
|
|
JobID string `json:"job_id"` |
|
|
|
JobType string `json:"job_type"` |
|
|
|
Type int `json:"type"` |
|
|
|
DisplayJobName string `json:"display_job_name"` |
|
|
|
Status string `json:"status"` |
|
|
|
CreatedUnix int64 `json:"created_unix"` |
|
|
|
RepoID int64 `json:"repo_id"` |
|
|
|
Duration int64 `json:"duration"` //运行时长 单位秒 |
|
|
|
TrainJobDuration string `json:"train_job_duration"` |
|
|
|
ImageID string `json:"image_id"` //grampus image_id |
|
|
|
Image string `json:"image"` |
|
|
|
Uuid string `json:"uuid"` //数据集id |
|
|
|
DatasetName string `json:"dataset_name"` |
|
|
|
ComputeResource string `json:"compute_resource"` //计算资源,例如npu |
|
|
|
AiCenter string `json:"ai_center"` //grampus ai center: center_id+center_name |
|
|
|
BranchName string `json:"branch_name"` //分支名称 |
|
|
|
Parameters string `json:"parameters"` //传给modelarts的param参数 |
|
|
|
BootFile string `json:"boot_file"` //启动文件 |
|
|
|
Description string `json:"description"` //描述 |
|
|
|
ModelName string `json:"model_name"` //模型名称 |
|
|
|
ModelVersion string `json:"model_version"` //模型版本 |
|
|
|
CkptName string `json:"ckpt_name"` //权重文件名称 |
|
|
|
StartTime int64 `json:"start_time"` |
|
|
|
EndTime int64 `json:"end_time"` |
|
|
|
VersionName string `json:"version_name"` |
|
|
|
Spec *SpecificationShow `json:"spec"` |
|
|
|
} |
|
|
|
|
|
|
|
type SpecificationShow struct { |
|
|
|