| @@ -15,14 +15,16 @@ const ( | |||||
| flavor = "modelarts.kat1.xlarge" | flavor = "modelarts.kat1.xlarge" | ||||
| //profileID = "Python3-ascend910-arm" | //profileID = "Python3-ascend910-arm" | ||||
| profileID = "efa847c0-7359-11eb-b34f-0255ac100057" | profileID = "efa847c0-7359-11eb-b34f-0255ac100057" | ||||
| poolID = "pool1328035d" | |||||
| poolName = "train-private-1" | |||||
| //poolID = "pool1328035d" | |||||
| //poolName = "train-private-1" | |||||
| poolID = "pool35eafa8f" | |||||
| poolName = "train-private-0703" | |||||
| poolType = "USER_DEFINED" | poolType = "USER_DEFINED" | ||||
| DataSetMountPath = "/home/ma-user/work" | DataSetMountPath = "/home/ma-user/work" | ||||
| NotebookEnv = "Python3" | NotebookEnv = "Python3" | ||||
| NotebookType = "Ascend" | NotebookType = "Ascend" | ||||
| FlavorInfo = "Ascend: 1*Ascend 910 CPU: 24 核 96GiB (modelarts.kat1.xlarge)" | |||||
| FlavorInfo = "Ascend: 1*Ascend 910 CPU: 24 核 256GiB (modelarts.kat1.xlarge)" | |||||
| ) | ) | ||||
| func GenerateTask(ctx *context.Context, jobName, uuid, description string) error { | func GenerateTask(ctx *context.Context, jobName, uuid, description string) error { | ||||