@daocloud-proto/baize 0.129.0 → 0.129.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,12 +50,26 @@ export enum JobRole {
50
50
  MPI_WORKER = "MPI_WORKER",
51
51
  }
52
52
 
53
+ export enum PreflightConfigCheck {
54
+ CHECK_UNSPECIFIED = "CHECK_UNSPECIFIED",
55
+ CHECK_GPU = "CHECK_GPU",
56
+ CHECK_STORAGE = "CHECK_STORAGE",
57
+ CHECK_NODE_CHECK = "CHECK_NODE_CHECK",
58
+ }
59
+
53
60
  export type CommonConfig = {
54
61
  queueType?: QueueType
55
62
  taskQueue?: string
56
63
  description?: string
57
64
  }
58
65
 
66
+ export type PreflightConfig = {
67
+ enabled?: boolean
68
+ checks?: PreflightConfigCheck[]
69
+ nodeCheckIbHcas?: string[]
70
+ nodeCheckBusbwThresholdGbps?: string
71
+ }
72
+
59
73
  export type JobCreationBaseConfig = {
60
74
  image?: string
61
75
  imagePullSecret?: string
@@ -68,7 +82,7 @@ export type JobCreationBaseConfig = {
68
82
  shmSize?: number
69
83
  noOverrideEnvPath?: boolean
70
84
  imageConfig?: BaizeManagement_apiImageV1alpha1Image.ImageConfig
71
- preflight?: boolean
85
+ preflight?: PreflightConfig
72
86
  placement?: PlacementPolicy
73
87
  }
74
88
 
@@ -50,12 +50,26 @@ export enum JobRole {
50
50
  MPI_WORKER = "MPI_WORKER",
51
51
  }
52
52
 
53
+ export enum PreflightConfigCheck {
54
+ CHECK_UNSPECIFIED = "CHECK_UNSPECIFIED",
55
+ CHECK_GPU = "CHECK_GPU",
56
+ CHECK_STORAGE = "CHECK_STORAGE",
57
+ CHECK_NODE_CHECK = "CHECK_NODE_CHECK",
58
+ }
59
+
53
60
  export type CommonConfig = {
54
61
  queueType?: QueueType
55
62
  taskQueue?: string
56
63
  description?: string
57
64
  }
58
65
 
66
+ export type PreflightConfig = {
67
+ enabled?: boolean
68
+ checks?: PreflightConfigCheck[]
69
+ nodeCheckIbHcas?: string[]
70
+ nodeCheckBusbwThresholdGbps?: string
71
+ }
72
+
59
73
  export type JobCreationBaseConfig = {
60
74
  image?: string
61
75
  imagePullSecret?: string
@@ -68,7 +82,7 @@ export type JobCreationBaseConfig = {
68
82
  shmSize?: number
69
83
  noOverrideEnvPath?: boolean
70
84
  imageConfig?: BaizeManagement_apiImageV1alpha1Image.ImageConfig
71
- preflight?: boolean
85
+ preflight?: PreflightConfig
72
86
  placement?: PlacementPolicy
73
87
  }
74
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/baize",
3
- "version": "v0.129.0",
3
+ "version": "v0.129.1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"