You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

inferOption.go 886 B

12345678910111213141516171819202122
  1. package option
  2. type InferOption struct {
  3. TaskName string `json:"taskName"`
  4. TaskDesc string `json:"taskDesc"`
  5. ModelName string `json:"modelName"`
  6. ModelType string `json:"modelType"`
  7. AdapterId string `json:"adapterId"`
  8. AiClusterIds []string `json:"aiClusterIds"`
  9. ResourceType string `json:"resourceType"`
  10. ComputeCard string `json:"card"`
  11. Strategy string `json:"strategy"`
  12. StaticWeightMap map[string]int32 `json:"staticWeightMap,optional"`
  13. Params []string `json:"params,optional"`
  14. Envs []string `json:"envs,optional"`
  15. Cmd string `json:"cmd,optional"`
  16. Replica int32 `json:"replicas,optional"`
  17. }
  18. func (a InferOption) GetOptionType() string {
  19. return AI_INFER
  20. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.