@daocloud-proto/hydra 0.0.0-dev-5da66a4a → 0.0.0-dev-eab07a7c
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.
|
@@ -119,9 +119,9 @@ export class AgentCommunicationService {
|
|
|
119
119
|
return fm.fetchReq<UsageReportRequest, UsageReportResponse>(`/hydra.management_api.agent.v1alpha1.AgentCommunicationService/UsageReport`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
120
120
|
}
|
|
121
121
|
static ReportFineTuneMetrics(req: ReportFineTuneMetricsRequest, initReq?: fm.InitReq): Promise<ReportFineTuneMetricsResponse> {
|
|
122
|
-
return fm.fetchReq<ReportFineTuneMetricsRequest, ReportFineTuneMetricsResponse>(`/apis/hydra.io/v1alpha1/agent/
|
|
122
|
+
return fm.fetchReq<ReportFineTuneMetricsRequest, ReportFineTuneMetricsResponse>(`/apis/hydra.io/v1alpha1/agent/finetune/finetunejob-metrics:report`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
123
123
|
}
|
|
124
124
|
static ReportEvalMetrics(req: ReportEvalMetricsRequest, initReq?: fm.InitReq): Promise<ReportEvalMetricsResponse> {
|
|
125
|
-
return fm.fetchReq<ReportEvalMetricsRequest, ReportEvalMetricsResponse>(`/apis/hydra.io/v1alpha1/agent/evaljob-metrics:report`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
125
|
+
return fm.fetchReq<ReportEvalMetricsRequest, ReportEvalMetricsResponse>(`/apis/hydra.io/v1alpha1/agent/finetune/evaljob-metrics:report`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
126
126
|
}
|
|
127
127
|
}
|
|
@@ -148,6 +148,7 @@ export type ResourceConfig = BaseResourceConfig
|
|
|
148
148
|
export type FineTuneConfig = {
|
|
149
149
|
name?: string
|
|
150
150
|
cluster?: string
|
|
151
|
+
namespace?: string
|
|
151
152
|
stage?: TrainingStage
|
|
152
153
|
finetuningType?: FineTuningType
|
|
153
154
|
model?: ModelConfig
|
|
@@ -163,6 +164,7 @@ export type FineTuneConfig = {
|
|
|
163
164
|
export type CreateWSFineTuneConfigRequest = {
|
|
164
165
|
workspace?: number
|
|
165
166
|
cluster?: string
|
|
167
|
+
namespace?: string
|
|
166
168
|
name?: string
|
|
167
169
|
stage?: TrainingStage
|
|
168
170
|
finetuningType?: FineTuningType
|
|
@@ -177,6 +179,7 @@ export type CreateWSFineTuneConfigRequest = {
|
|
|
177
179
|
export type UpdateWSFineTuneConfigRequest = {
|
|
178
180
|
workspace?: number
|
|
179
181
|
cluster?: string
|
|
182
|
+
namespace?: string
|
|
180
183
|
name?: string
|
|
181
184
|
stage?: TrainingStage
|
|
182
185
|
finetuningType?: FineTuningType
|