@daocloud-proto/hydra 0.18.0-dev-41 → 0.18.0-dev-43
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.
|
@@ -10,6 +10,7 @@ import * as GoogleProtobufEmpty from "../../../google/protobuf/empty.pb"
|
|
|
10
10
|
import * as GoogleProtobufTimestamp from "../../../google/protobuf/timestamp.pb"
|
|
11
11
|
import * as HydraManagement_apiModelV1alpha1Model_weights_volume from "../../model/v1alpha1/model_weights_volume.pb"
|
|
12
12
|
import * as HydraManagement_apiFinetuneV1alpha1Common from "./common.pb"
|
|
13
|
+
import * as HydraManagement_apiFinetuneV1alpha1Finetuneconfig from "./finetuneconfig.pb"
|
|
13
14
|
|
|
14
15
|
export enum ExportDevice {
|
|
15
16
|
cpu = "cpu",
|
|
@@ -35,6 +36,7 @@ export type ExportJob = {
|
|
|
35
36
|
pvcName?: string
|
|
36
37
|
storageSource?: HydraManagement_apiModelV1alpha1Model_weights_volume.StorageSourceType
|
|
37
38
|
exportMountPath?: string
|
|
39
|
+
resources?: HydraManagement_apiFinetuneV1alpha1Finetuneconfig.ResourceConfig
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
export type SaveExportJobRequest = {
|
|
@@ -52,6 +54,7 @@ export type SaveExportJobRequest = {
|
|
|
52
54
|
pvcNamespace?: string
|
|
53
55
|
pvcName?: string
|
|
54
56
|
storageSource?: HydraManagement_apiModelV1alpha1Model_weights_volume.StorageSourceType
|
|
57
|
+
resources?: HydraManagement_apiFinetuneV1alpha1Finetuneconfig.ResourceConfig
|
|
55
58
|
}
|
|
56
59
|
|
|
57
60
|
export type SingleExportJobRequest = {
|
|
@@ -355,7 +355,8 @@ export type UpdateWSModelServingReplicasRequest = {
|
|
|
355
355
|
replicas?: number
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
|
|
358
|
+
|
|
359
|
+
/* hydra modified */ export type BaseUpdateWSModelServingRuntimeRequest = {
|
|
359
360
|
workspace?: number
|
|
360
361
|
cluster?: string
|
|
361
362
|
namespace?: string
|
|
@@ -364,6 +365,10 @@ export type UpdateWSModelServingRuntimeRequest = {
|
|
|
364
365
|
resourceConfig?: ResourceConfig
|
|
365
366
|
}
|
|
366
367
|
|
|
368
|
+
export type UpdateWSModelServingRuntimeRequest = BaseUpdateWSModelServingRuntimeRequest
|
|
369
|
+
& OneOf<{ healthCheck: HealthCheckConfig }>
|
|
370
|
+
& OneOf<{ enableMetrics: boolean }>
|
|
371
|
+
|
|
367
372
|
export type ModelServingActionRequest = {
|
|
368
373
|
id?: string
|
|
369
374
|
action?: ModelServingActionRequestAction
|