@daocloud-proto/hydra 0.18.0-dev-5 → 0.18.0-dev-7

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.
@@ -42,6 +42,20 @@ export type ListGPUTypesResponse = {
42
42
  export type GPUType = {
43
43
  gpuName?: string
44
44
  gpuType?: string
45
+ displayName?: string
46
+ provider?: string
47
+ resources?: GPUResourceSchema[]
48
+ }
49
+
50
+ export type GPUResourceSchema = {
51
+ key?: string
52
+ displayName?: string
53
+ displayNameZh?: string
54
+ semanticType?: string
55
+ minimum?: string
56
+ maximum?: string
57
+ description?: string
58
+ descriptionZh?: string
45
59
  }
46
60
 
47
61
  export class Management {
@@ -211,6 +211,7 @@ export type DeployTemplateResourcesRequirements = {
211
211
  gpuCount?: number
212
212
  perGpuMemory?: number
213
213
  gpuCores?: number
214
+ gpuResourceValues?: {[key: string]: string}
214
215
  }
215
216
 
216
217
  export type DeployTemplate = {
@@ -147,6 +147,7 @@ export type ConfigMapMountConfig = {
147
147
  gpuType?: string
148
148
  gpuCount?: number
149
149
  perGpuMemory?: number
150
+ gpuResourceValues?: {[key: string]: string}
150
151
  }
151
152
 
152
153
  export type ResourceConfig = BaseResourceConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.18.0-dev-5",
3
+ "version": "v0.18.0-dev-7",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"