Browse Source

adjust modelarts resource

tags/v1.21.8^2
lewis 4 years ago
parent
commit
1d8d61b9ef
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      modules/modelarts/modelarts.go

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

@@ -15,14 +15,16 @@ const (
flavor = "modelarts.kat1.xlarge"
//profileID = "Python3-ascend910-arm"
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"

DataSetMountPath = "/home/ma-user/work"
NotebookEnv = "Python3"
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 {


Loading…
Cancel
Save