@camstack/types 1.2.336 → 1.2.338
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.
- package/dist/audio/audio-chunk-format.d.ts +1 -1
- package/dist/automation/recipe.d.ts +3 -3
- package/dist/capabilities/accessories.cap.d.ts +4 -4
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
- package/dist/capabilities/addon-pages.cap.d.ts +3 -3
- package/dist/capabilities/addon-routes.cap.d.ts +8 -8
- package/dist/capabilities/addon-settings.cap.d.ts +9 -9
- package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
- package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
- package/dist/capabilities/addons.cap.d.ts +87 -87
- package/dist/capabilities/admin-ui.cap.d.ts +3 -3
- package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
- package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
- package/dist/capabilities/alerts.cap.d.ts +18 -18
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
- package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
- package/dist/capabilities/audio-codec.cap.d.ts +4 -4
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
- package/dist/capabilities/auth-provider.cap.d.ts +4 -4
- package/dist/capabilities/automation-control.cap.d.ts +5 -5
- package/dist/capabilities/backup.cap.d.ts +18 -18
- package/dist/capabilities/battery.cap.d.ts +15 -15
- package/dist/capabilities/binary.cap.d.ts +5 -5
- package/dist/capabilities/brightness.cap.d.ts +5 -5
- package/dist/capabilities/broker.cap.d.ts +21 -21
- package/dist/capabilities/button.cap.d.ts +3 -3
- package/dist/capabilities/calendar-source.cap.d.ts +3 -3
- package/dist/capabilities/calendars.cap.d.ts +5 -5
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
- package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +37 -37
- package/dist/capabilities/capability-definition.d.ts +10 -10
- package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +37 -37
- package/dist/capabilities/color.cap.d.ts +9 -9
- package/dist/capabilities/composer.cap.d.ts +16 -16
- package/dist/capabilities/connection-test.cap.d.ts +3 -3
- package/dist/capabilities/connectivity.cap.d.ts +5 -5
- package/dist/capabilities/consumables.cap.d.ts +21 -21
- package/dist/capabilities/contact.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +16 -16
- package/dist/capabilities/core-blocks.cap.d.ts +115 -115
- package/dist/capabilities/cover.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
- package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
- package/dist/capabilities/day-night.cap.d.ts +24 -24
- package/dist/capabilities/decoder.cap.d.ts +4 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
- package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
- package/dist/capabilities/device-adoption.cap.d.ts +4 -4
- package/dist/capabilities/device-discovery.cap.d.ts +7 -7
- package/dist/capabilities/device-export.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +22 -22
- package/dist/capabilities/device-manager.cap.d.ts +113 -113
- package/dist/capabilities/device-ops.cap.d.ts +7 -7
- package/dist/capabilities/device-provider.cap.d.ts +3 -3
- package/dist/capabilities/device-state.cap.d.ts +24 -24
- package/dist/capabilities/device-status.cap.d.ts +5 -5
- package/dist/capabilities/doorbell.cap.d.ts +7 -7
- package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
- package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
- package/dist/capabilities/event-emitter.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +7 -7
- package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
- package/dist/capabilities/fan-control.cap.d.ts +10 -10
- package/dist/capabilities/feature-probe.cap.d.ts +5 -5
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
- package/dist/capabilities/flood.cap.d.ts +5 -5
- package/dist/capabilities/gas.cap.d.ts +5 -5
- package/dist/capabilities/hub-address.d.ts +1 -1
- package/dist/capabilities/humidifier.cap.d.ts +5 -5
- package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
- package/dist/capabilities/image-settings.cap.d.ts +48 -48
- package/dist/capabilities/image.cap.d.ts +5 -5
- package/dist/capabilities/integrations.cap.d.ts +12 -12
- package/dist/capabilities/intercom.cap.d.ts +11 -11
- package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
- package/dist/capabilities/keychain.cap.d.ts +27 -27
- package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
- package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
- package/dist/capabilities/llm-shared.d.ts +21 -21
- package/dist/capabilities/llm.cap.d.ts +109 -109
- package/dist/capabilities/load-contribution.cap.d.ts +12 -12
- package/dist/capabilities/local-network.cap.d.ts +119 -119
- package/dist/capabilities/lock-control.cap.d.ts +13 -13
- package/dist/capabilities/log-channels.cap.d.ts +5 -5
- package/dist/capabilities/log-destination.cap.d.ts +14 -14
- package/dist/capabilities/login-method.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +13 -13
- package/dist/capabilities/mesh-network.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
- package/dist/capabilities/model-convert.cap.d.ts +29 -29
- package/dist/capabilities/model-distributor.cap.d.ts +27 -27
- package/dist/capabilities/motion-detection.cap.d.ts +8 -8
- package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
- package/dist/capabilities/motion-zones.cap.d.ts +13 -13
- package/dist/capabilities/motion.cap.d.ts +7 -7
- package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
- package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
- package/dist/capabilities/navigation.cap.d.ts +56 -56
- package/dist/capabilities/network-access.cap.d.ts +4 -4
- package/dist/capabilities/network-link.cap.d.ts +16 -16
- package/dist/capabilities/network-quality.cap.d.ts +4 -4
- package/dist/capabilities/nodes.cap.d.ts +5 -5
- package/dist/capabilities/notification-output.cap.d.ts +121 -121
- package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
- package/dist/capabilities/notifier.cap.d.ts +8 -8
- package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
- package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
- package/dist/capabilities/osd-manager.cap.d.ts +261 -261
- package/dist/capabilities/osd.cap.d.ts +59 -59
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
- package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
- package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +285 -267
- package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +78 -66
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/presence.cap.d.ts +5 -5
- package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
- package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
- package/dist/capabilities/ptz.cap.d.ts +29 -29
- package/dist/capabilities/reboot.cap.d.ts +3 -3
- package/dist/capabilities/recording-archive.cap.d.ts +59 -59
- package/dist/capabilities/recording-export.cap.d.ts +37 -37
- package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
- package/dist/capabilities/recording-signal.cap.d.ts +6 -6
- package/dist/capabilities/recording.cap.d.ts +21 -21
- package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
- package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
- package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
- package/dist/capabilities/script-runner.cap.d.ts +5 -5
- package/dist/capabilities/server-management.cap.d.ts +70 -70
- package/dist/capabilities/settings-store.cap.d.ts +11 -11
- package/dist/capabilities/smoke.cap.d.ts +5 -5
- package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +53 -53
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
- package/dist/capabilities/storage-provider.cap.d.ts +25 -25
- package/dist/capabilities/storage.cap.d.ts +18 -18
- package/dist/capabilities/stream-broker.cap.d.ts +184 -184
- package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
- package/dist/capabilities/stream-params.cap.d.ts +36 -36
- package/dist/capabilities/stream-signals.cap.d.ts +4 -4
- package/dist/capabilities/switch.cap.d.ts +11 -11
- package/dist/capabilities/system.cap.d.ts +66 -66
- package/dist/capabilities/tamper.cap.d.ts +5 -5
- package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
- package/dist/capabilities/terminal-session.cap.d.ts +3 -3
- package/dist/capabilities/toast.cap.d.ts +6 -6
- package/dist/capabilities/training-provider.cap.d.ts +35 -35
- package/dist/capabilities/training.cap.d.ts +278 -278
- package/dist/capabilities/turn-provider.cap.d.ts +3 -3
- package/dist/capabilities/update.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +83 -83
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
- package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
- package/dist/capabilities/valve.cap.d.ts +17 -17
- package/dist/capabilities/vector-store.cap.d.ts +3 -3
- package/dist/capabilities/vibration.cap.d.ts +5 -5
- package/dist/capabilities/videoclips.cap.d.ts +53 -53
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
- package/dist/capabilities/water-heater.cap.d.ts +5 -5
- package/dist/capabilities/weather.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
- package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
- package/dist/capabilities/zone-rules.cap.d.ts +15 -15
- package/dist/capabilities/zones.cap.d.ts +4 -4
- package/dist/catalogs/event-taxonomy.d.ts +9 -9
- package/dist/catalogs/root-model-supply.d.ts +3 -3
- package/dist/composition/composable-caps.d.ts +6 -6
- package/dist/composition/composition-report.d.ts +75 -75
- package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
- package/dist/device/location-icon.d.ts +25 -25
- package/dist/device/site-zone.d.ts +12 -12
- package/dist/encode-profile.d.ts +22 -22
- package/dist/generated/addon-api.d.ts +176 -176
- package/dist/generated/capability-router-map.d.ts +171 -171
- package/dist/generated/extension-slots.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/i18n/event-kind-labels.d.ts +1 -1
- package/dist/i18n/state-labels.d.ts +1 -1
- package/dist/index.js +111 -2
- package/dist/index.mjs +111 -2
- package/dist/interfaces/addon-data-plane.d.ts +1 -1
- package/dist/interfaces/adoption-job.d.ts +10 -10
- package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
- package/dist/interfaces/camera-switches.d.ts +21 -21
- package/dist/interfaces/ops-log.d.ts +14 -14
- package/dist/interfaces/platform.d.ts +6 -1
- package/dist/interfaces/recording-config.d.ts +14 -14
- package/dist/interfaces/relocate.d.ts +88 -88
- package/dist/interfaces/server-analysis.d.ts +2 -2
- package/dist/interfaces/storage-location-declaration.d.ts +4 -4
- package/dist/interfaces/storage-location-mode.d.ts +4 -4
- package/dist/interfaces/storage-location.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +14 -14
- package/dist/lifecycle/job.d.ts +43 -43
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/media/media-owner-key.d.ts +2 -2
- package/dist/notification/alarm-membership.d.ts +2 -2
- package/dist/notification/alarm-profiles.d.ts +1 -1
- package/dist/notification/condition-taxonomy.d.ts +1 -1
- package/dist/notification/scope-picker-items.d.ts +1 -1
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/timelapse-rule.d.ts +4 -4
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +100 -78
- package/dist/pipeline/camera-sensors.d.ts +39 -39
- package/dist/pipeline/cluster-model-scope.d.ts +11 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
- package/dist/pipeline/native-lease.d.ts +4 -4
- package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
- package/dist/pipeline/provider-motion.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts +14 -14
- package/dist/training/trainer-contract.d.ts +19 -19
- package/dist/types/clip-model.d.ts +2 -2
- package/dist/types/labels.d.ts +4 -4
- package/dist/types/models.d.ts +42 -42
- package/dist/units/unit-table.d.ts +45 -45
- package/package.json +9 -2
|
@@ -23,16 +23,18 @@ export declare const TrainingDatasetVersionRowSchema: z.ZodObject<{
|
|
|
23
23
|
id: z.ZodString;
|
|
24
24
|
name: z.ZodString;
|
|
25
25
|
createdAt: z.ZodNumber;
|
|
26
|
-
completeOnly: z.ZodBoolean;
|
|
27
26
|
selection: z.ZodObject<{
|
|
28
27
|
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
29
28
|
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
30
29
|
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
31
30
|
}, z.core.$strip>;
|
|
32
31
|
layout: z.ZodEnum<{
|
|
33
|
-
frames: "frames";
|
|
34
32
|
crops: "crops";
|
|
33
|
+
frames: "frames";
|
|
35
34
|
}>;
|
|
35
|
+
completeOnly: z.ZodBoolean;
|
|
36
|
+
annotationHash: z.ZodString;
|
|
37
|
+
manifestSchema: z.ZodString;
|
|
36
38
|
stats: z.ZodObject<{
|
|
37
39
|
frames: z.ZodNumber;
|
|
38
40
|
completeFrames: z.ZodNumber;
|
|
@@ -44,9 +46,9 @@ export declare const TrainingDatasetVersionRowSchema: z.ZodObject<{
|
|
|
44
46
|
macroClass: z.ZodString;
|
|
45
47
|
deviceId: z.ZodNumber;
|
|
46
48
|
lighting: z.ZodEnum<{
|
|
47
|
-
unknown: "unknown";
|
|
48
49
|
day: "day";
|
|
49
50
|
night: "night";
|
|
51
|
+
unknown: "unknown";
|
|
50
52
|
}>;
|
|
51
53
|
subjects: z.ZodNumber;
|
|
52
54
|
frames: z.ZodNumber;
|
|
@@ -57,8 +59,6 @@ export declare const TrainingDatasetVersionRowSchema: z.ZodObject<{
|
|
|
57
59
|
completeFrames: z.ZodNumber;
|
|
58
60
|
}, z.core.$strip>>>;
|
|
59
61
|
}, z.core.$strip>;
|
|
60
|
-
annotationHash: z.ZodString;
|
|
61
|
-
manifestSchema: z.ZodString;
|
|
62
62
|
frameIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
63
63
|
}, z.core.$strip>;
|
|
64
64
|
export type TrainingDatasetVersionRow = z.infer<typeof TrainingDatasetVersionRowSchema>;
|
|
@@ -74,8 +74,8 @@ export declare const TrainingBaseModelSchema: z.ZodObject<{
|
|
|
74
74
|
}, z.core.$strip>;
|
|
75
75
|
export type TrainingBaseModel = z.infer<typeof TrainingBaseModelSchema>;
|
|
76
76
|
export declare const TrainingPresetSchema: z.ZodEnum<{
|
|
77
|
-
standard: "standard";
|
|
78
77
|
quick: "quick";
|
|
78
|
+
standard: "standard";
|
|
79
79
|
thorough: "thorough";
|
|
80
80
|
}>;
|
|
81
81
|
export type TrainingPreset = z.infer<typeof TrainingPresetSchema>;
|
|
@@ -86,8 +86,8 @@ export declare const TrainingJobRequestSchema: z.ZodObject<{
|
|
|
86
86
|
region: z.ZodString;
|
|
87
87
|
baseModelId: z.ZodString;
|
|
88
88
|
preset: z.ZodEnum<{
|
|
89
|
-
standard: "standard";
|
|
90
89
|
quick: "quick";
|
|
90
|
+
standard: "standard";
|
|
91
91
|
thorough: "thorough";
|
|
92
92
|
}>;
|
|
93
93
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -102,27 +102,27 @@ export declare const TrainingSplitPlanSchema: z.ZodObject<{
|
|
|
102
102
|
}, z.core.$strip>;
|
|
103
103
|
export type TrainingSplitPlan = z.infer<typeof TrainingSplitPlanSchema>;
|
|
104
104
|
export declare const TrainingRefusalReasonSchema: z.ZodEnum<{
|
|
105
|
-
"
|
|
106
|
-
"
|
|
105
|
+
"dataset-too-large": "dataset-too-large";
|
|
106
|
+
"job-already-running": "job-already-running";
|
|
107
|
+
"no-training-subjects": "no-training-subjects";
|
|
107
108
|
"provider-not-configured": "provider-not-configured";
|
|
108
109
|
"unknown-base-model": "unknown-base-model";
|
|
110
|
+
"unknown-dataset": "unknown-dataset";
|
|
109
111
|
"unknown-gpu": "unknown-gpu";
|
|
110
|
-
"
|
|
111
|
-
"no-training-subjects": "no-training-subjects";
|
|
112
|
-
"job-already-running": "job-already-running";
|
|
112
|
+
"unknown-provider": "unknown-provider";
|
|
113
113
|
}>;
|
|
114
114
|
export type TrainingRefusalReason = z.infer<typeof TrainingRefusalReasonSchema>;
|
|
115
115
|
export declare const TrainingJobPlanSchema: z.ZodObject<{
|
|
116
116
|
refusal: z.ZodNullable<z.ZodObject<{
|
|
117
117
|
reason: z.ZodEnum<{
|
|
118
|
-
"
|
|
119
|
-
"
|
|
118
|
+
"dataset-too-large": "dataset-too-large";
|
|
119
|
+
"job-already-running": "job-already-running";
|
|
120
|
+
"no-training-subjects": "no-training-subjects";
|
|
120
121
|
"provider-not-configured": "provider-not-configured";
|
|
121
122
|
"unknown-base-model": "unknown-base-model";
|
|
123
|
+
"unknown-dataset": "unknown-dataset";
|
|
122
124
|
"unknown-gpu": "unknown-gpu";
|
|
123
|
-
"
|
|
124
|
-
"no-training-subjects": "no-training-subjects";
|
|
125
|
-
"job-already-running": "job-already-running";
|
|
125
|
+
"unknown-provider": "unknown-provider";
|
|
126
126
|
}>;
|
|
127
127
|
detail: z.ZodString;
|
|
128
128
|
}, z.core.$strip>>;
|
|
@@ -156,33 +156,33 @@ export type TrainingJobPlan = z.infer<typeof TrainingJobPlanSchema>;
|
|
|
156
156
|
* result lives after the operator acted on it.
|
|
157
157
|
*/
|
|
158
158
|
export declare const TrainingJobStateSchema: z.ZodEnum<{
|
|
159
|
-
|
|
160
|
-
failed: "failed";
|
|
159
|
+
canary: "canary";
|
|
161
160
|
cancelled: "cancelled";
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
cancelling: "cancelling";
|
|
162
|
+
collecting: "collecting";
|
|
163
|
+
discarded: "discarded";
|
|
165
164
|
expired: "expired";
|
|
165
|
+
failed: "failed";
|
|
166
166
|
lost: "lost";
|
|
167
|
-
|
|
168
|
-
collecting: "collecting";
|
|
167
|
+
ready: "ready";
|
|
169
168
|
registered: "registered";
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
169
|
+
running: "running";
|
|
170
|
+
starting: "starting";
|
|
171
|
+
submitted: "submitted";
|
|
172
|
+
uploading: "uploading";
|
|
173
173
|
}>;
|
|
174
174
|
export type TrainingJobState = z.infer<typeof TrainingJobStateSchema>;
|
|
175
175
|
export declare const TrainingFailureReasonSchema: z.ZodEnum<{
|
|
176
176
|
"checksum-mismatch": "checksum-mismatch";
|
|
177
|
-
"fetch-failed": "fetch-failed";
|
|
178
177
|
"cost-cap": "cost-cap";
|
|
178
|
+
"fetch-failed": "fetch-failed";
|
|
179
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
180
|
+
"provider-error": "provider-error";
|
|
181
|
+
"result-invalid": "result-invalid";
|
|
179
182
|
"runtime-cap": "runtime-cap";
|
|
180
|
-
"upload-failed": "upload-failed";
|
|
181
183
|
"submit-failed": "submit-failed";
|
|
182
184
|
"trainer-failed": "trainer-failed";
|
|
183
|
-
"
|
|
184
|
-
"provider-error": "provider-error";
|
|
185
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
185
|
+
"upload-failed": "upload-failed";
|
|
186
186
|
}>;
|
|
187
187
|
export type TrainingFailureReason = z.infer<typeof TrainingFailureReasonSchema>;
|
|
188
188
|
export declare const TrainingProgressPointSchema: z.ZodObject<{
|
|
@@ -212,41 +212,41 @@ export declare const TrainingJobSchema: z.ZodObject<{
|
|
|
212
212
|
createdAt: z.ZodNumber;
|
|
213
213
|
updatedAt: z.ZodNumber;
|
|
214
214
|
state: z.ZodEnum<{
|
|
215
|
-
|
|
216
|
-
failed: "failed";
|
|
215
|
+
canary: "canary";
|
|
217
216
|
cancelled: "cancelled";
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
217
|
+
cancelling: "cancelling";
|
|
218
|
+
collecting: "collecting";
|
|
219
|
+
discarded: "discarded";
|
|
221
220
|
expired: "expired";
|
|
221
|
+
failed: "failed";
|
|
222
222
|
lost: "lost";
|
|
223
|
-
|
|
224
|
-
collecting: "collecting";
|
|
223
|
+
ready: "ready";
|
|
225
224
|
registered: "registered";
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
running: "running";
|
|
226
|
+
starting: "starting";
|
|
227
|
+
submitted: "submitted";
|
|
228
|
+
uploading: "uploading";
|
|
229
229
|
}>;
|
|
230
230
|
stage: z.ZodNullable<z.ZodEnum<{
|
|
231
|
+
eval: "eval";
|
|
232
|
+
export: "export";
|
|
231
233
|
package: "package";
|
|
234
|
+
prepare: "prepare";
|
|
232
235
|
replay: "replay";
|
|
233
236
|
train: "train";
|
|
234
|
-
export: "export";
|
|
235
|
-
prepare: "prepare";
|
|
236
|
-
eval: "eval";
|
|
237
237
|
}>>;
|
|
238
238
|
failure: z.ZodNullable<z.ZodObject<{
|
|
239
239
|
reason: z.ZodEnum<{
|
|
240
240
|
"checksum-mismatch": "checksum-mismatch";
|
|
241
|
-
"fetch-failed": "fetch-failed";
|
|
242
241
|
"cost-cap": "cost-cap";
|
|
242
|
+
"fetch-failed": "fetch-failed";
|
|
243
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
244
|
+
"provider-error": "provider-error";
|
|
245
|
+
"result-invalid": "result-invalid";
|
|
243
246
|
"runtime-cap": "runtime-cap";
|
|
244
|
-
"upload-failed": "upload-failed";
|
|
245
247
|
"submit-failed": "submit-failed";
|
|
246
248
|
"trainer-failed": "trainer-failed";
|
|
247
|
-
"
|
|
248
|
-
"provider-error": "provider-error";
|
|
249
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
249
|
+
"upload-failed": "upload-failed";
|
|
250
250
|
}>;
|
|
251
251
|
stage: z.ZodNullable<z.ZodString>;
|
|
252
252
|
detail: z.ZodString;
|
|
@@ -258,8 +258,8 @@ export declare const TrainingJobSchema: z.ZodObject<{
|
|
|
258
258
|
region: z.ZodString;
|
|
259
259
|
baseModelId: z.ZodString;
|
|
260
260
|
preset: z.ZodEnum<{
|
|
261
|
-
standard: "standard";
|
|
262
261
|
quick: "quick";
|
|
262
|
+
standard: "standard";
|
|
263
263
|
thorough: "thorough";
|
|
264
264
|
}>;
|
|
265
265
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -272,8 +272,8 @@ export declare const TrainingJobSchema: z.ZodObject<{
|
|
|
272
272
|
revision: z.ZodString;
|
|
273
273
|
}, z.core.$strip>;
|
|
274
274
|
datasetLayout: z.ZodEnum<{
|
|
275
|
-
frames: "frames";
|
|
276
275
|
crops: "crops";
|
|
276
|
+
frames: "frames";
|
|
277
277
|
}>;
|
|
278
278
|
dataset: z.ZodNullable<z.ZodObject<{
|
|
279
279
|
bytes: z.ZodNumber;
|
|
@@ -288,13 +288,13 @@ export declare const TrainingJobSchema: z.ZodObject<{
|
|
|
288
288
|
}, z.core.$strip>;
|
|
289
289
|
provider: z.ZodObject<{
|
|
290
290
|
state: z.ZodNullable<z.ZodEnum<{
|
|
291
|
-
running: "running";
|
|
292
|
-
failed: "failed";
|
|
293
291
|
cancelled: "cancelled";
|
|
292
|
+
failed: "failed";
|
|
293
|
+
lost: "lost";
|
|
294
294
|
pending: "pending";
|
|
295
|
-
|
|
295
|
+
running: "running";
|
|
296
296
|
starting: "starting";
|
|
297
|
-
|
|
297
|
+
succeeded: "succeeded";
|
|
298
298
|
}>>;
|
|
299
299
|
providerJobId: z.ZodNullable<z.ZodString>;
|
|
300
300
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -341,11 +341,11 @@ export declare const TrainingJobSchema: z.ZodObject<{
|
|
|
341
341
|
}, z.core.$strip>;
|
|
342
342
|
export type TrainingJob = z.infer<typeof TrainingJobSchema>;
|
|
343
343
|
export declare const trainingCapability: {
|
|
344
|
-
readonly name:
|
|
345
|
-
readonly scope:
|
|
346
|
-
readonly mode:
|
|
344
|
+
readonly name: 'training';
|
|
345
|
+
readonly scope: 'system';
|
|
346
|
+
readonly mode: 'singleton';
|
|
347
347
|
readonly mount: {
|
|
348
|
-
readonly kind:
|
|
348
|
+
readonly kind: 'hub-only';
|
|
349
349
|
};
|
|
350
350
|
readonly methods: {
|
|
351
351
|
/** Store a version once. `stored: false` = that id already exists (immutable). */
|
|
@@ -353,16 +353,18 @@ export declare const trainingCapability: {
|
|
|
353
353
|
id: z.ZodString;
|
|
354
354
|
name: z.ZodString;
|
|
355
355
|
createdAt: z.ZodNumber;
|
|
356
|
-
completeOnly: z.ZodBoolean;
|
|
357
356
|
selection: z.ZodObject<{
|
|
358
357
|
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
359
358
|
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
360
359
|
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
361
360
|
}, z.core.$strip>;
|
|
362
361
|
layout: z.ZodEnum<{
|
|
363
|
-
frames: "frames";
|
|
364
362
|
crops: "crops";
|
|
363
|
+
frames: "frames";
|
|
365
364
|
}>;
|
|
365
|
+
completeOnly: z.ZodBoolean;
|
|
366
|
+
annotationHash: z.ZodString;
|
|
367
|
+
manifestSchema: z.ZodString;
|
|
366
368
|
stats: z.ZodObject<{
|
|
367
369
|
frames: z.ZodNumber;
|
|
368
370
|
completeFrames: z.ZodNumber;
|
|
@@ -374,9 +376,9 @@ export declare const trainingCapability: {
|
|
|
374
376
|
macroClass: z.ZodString;
|
|
375
377
|
deviceId: z.ZodNumber;
|
|
376
378
|
lighting: z.ZodEnum<{
|
|
377
|
-
unknown: "unknown";
|
|
378
379
|
day: "day";
|
|
379
380
|
night: "night";
|
|
381
|
+
unknown: "unknown";
|
|
380
382
|
}>;
|
|
381
383
|
subjects: z.ZodNumber;
|
|
382
384
|
frames: z.ZodNumber;
|
|
@@ -387,8 +389,6 @@ export declare const trainingCapability: {
|
|
|
387
389
|
completeFrames: z.ZodNumber;
|
|
388
390
|
}, z.core.$strip>>>;
|
|
389
391
|
}, z.core.$strip>;
|
|
390
|
-
annotationHash: z.ZodString;
|
|
391
|
-
manifestSchema: z.ZodString;
|
|
392
392
|
frameIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
393
393
|
}, z.core.$strip>, z.ZodObject<{
|
|
394
394
|
stored: z.ZodBoolean;
|
|
@@ -399,16 +399,18 @@ export declare const trainingCapability: {
|
|
|
399
399
|
id: z.ZodString;
|
|
400
400
|
name: z.ZodString;
|
|
401
401
|
createdAt: z.ZodNumber;
|
|
402
|
-
completeOnly: z.ZodBoolean;
|
|
403
402
|
selection: z.ZodObject<{
|
|
404
403
|
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
405
404
|
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
406
405
|
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
407
406
|
}, z.core.$strip>;
|
|
408
407
|
layout: z.ZodEnum<{
|
|
409
|
-
frames: "frames";
|
|
410
408
|
crops: "crops";
|
|
409
|
+
frames: "frames";
|
|
411
410
|
}>;
|
|
411
|
+
completeOnly: z.ZodBoolean;
|
|
412
|
+
annotationHash: z.ZodString;
|
|
413
|
+
manifestSchema: z.ZodString;
|
|
412
414
|
stats: z.ZodObject<{
|
|
413
415
|
frames: z.ZodNumber;
|
|
414
416
|
completeFrames: z.ZodNumber;
|
|
@@ -420,9 +422,9 @@ export declare const trainingCapability: {
|
|
|
420
422
|
macroClass: z.ZodString;
|
|
421
423
|
deviceId: z.ZodNumber;
|
|
422
424
|
lighting: z.ZodEnum<{
|
|
423
|
-
unknown: "unknown";
|
|
424
425
|
day: "day";
|
|
425
426
|
night: "night";
|
|
427
|
+
unknown: "unknown";
|
|
426
428
|
}>;
|
|
427
429
|
subjects: z.ZodNumber;
|
|
428
430
|
frames: z.ZodNumber;
|
|
@@ -433,8 +435,6 @@ export declare const trainingCapability: {
|
|
|
433
435
|
completeFrames: z.ZodNumber;
|
|
434
436
|
}, z.core.$strip>>>;
|
|
435
437
|
}, z.core.$strip>;
|
|
436
|
-
annotationHash: z.ZodString;
|
|
437
|
-
manifestSchema: z.ZodString;
|
|
438
438
|
frameIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
439
439
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
440
440
|
/** Every version without its frame list, newest first. */
|
|
@@ -448,8 +448,8 @@ export declare const trainingCapability: {
|
|
|
448
448
|
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
449
449
|
}, z.core.$strip>;
|
|
450
450
|
layout: z.ZodEnum<{
|
|
451
|
-
frames: "frames";
|
|
452
451
|
crops: "crops";
|
|
452
|
+
frames: "frames";
|
|
453
453
|
}>;
|
|
454
454
|
completeOnly: z.ZodBoolean;
|
|
455
455
|
frameCount: z.ZodNumber;
|
|
@@ -466,9 +466,9 @@ export declare const trainingCapability: {
|
|
|
466
466
|
macroClass: z.ZodString;
|
|
467
467
|
deviceId: z.ZodNumber;
|
|
468
468
|
lighting: z.ZodEnum<{
|
|
469
|
-
unknown: "unknown";
|
|
470
469
|
day: "day";
|
|
471
470
|
night: "night";
|
|
471
|
+
unknown: "unknown";
|
|
472
472
|
}>;
|
|
473
473
|
subjects: z.ZodNumber;
|
|
474
474
|
frames: z.ZodNumber;
|
|
@@ -507,8 +507,8 @@ export declare const trainingCapability: {
|
|
|
507
507
|
region: z.ZodString;
|
|
508
508
|
baseModelId: z.ZodString;
|
|
509
509
|
preset: z.ZodEnum<{
|
|
510
|
-
standard: "standard";
|
|
511
510
|
quick: "quick";
|
|
511
|
+
standard: "standard";
|
|
512
512
|
thorough: "thorough";
|
|
513
513
|
}>;
|
|
514
514
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -516,14 +516,14 @@ export declare const trainingCapability: {
|
|
|
516
516
|
}, z.core.$strip>, z.ZodObject<{
|
|
517
517
|
refusal: z.ZodNullable<z.ZodObject<{
|
|
518
518
|
reason: z.ZodEnum<{
|
|
519
|
-
"
|
|
520
|
-
"
|
|
519
|
+
"dataset-too-large": "dataset-too-large";
|
|
520
|
+
"job-already-running": "job-already-running";
|
|
521
|
+
"no-training-subjects": "no-training-subjects";
|
|
521
522
|
"provider-not-configured": "provider-not-configured";
|
|
522
523
|
"unknown-base-model": "unknown-base-model";
|
|
524
|
+
"unknown-dataset": "unknown-dataset";
|
|
523
525
|
"unknown-gpu": "unknown-gpu";
|
|
524
|
-
"
|
|
525
|
-
"no-training-subjects": "no-training-subjects";
|
|
526
|
-
"job-already-running": "job-already-running";
|
|
526
|
+
"unknown-provider": "unknown-provider";
|
|
527
527
|
}>;
|
|
528
528
|
detail: z.ZodString;
|
|
529
529
|
}, z.core.$strip>>;
|
|
@@ -561,8 +561,8 @@ export declare const trainingCapability: {
|
|
|
561
561
|
region: z.ZodString;
|
|
562
562
|
baseModelId: z.ZodString;
|
|
563
563
|
preset: z.ZodEnum<{
|
|
564
|
-
standard: "standard";
|
|
565
564
|
quick: "quick";
|
|
565
|
+
standard: "standard";
|
|
566
566
|
thorough: "thorough";
|
|
567
567
|
}>;
|
|
568
568
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -580,41 +580,41 @@ export declare const trainingCapability: {
|
|
|
580
580
|
createdAt: z.ZodNumber;
|
|
581
581
|
updatedAt: z.ZodNumber;
|
|
582
582
|
state: z.ZodEnum<{
|
|
583
|
-
|
|
584
|
-
failed: "failed";
|
|
583
|
+
canary: "canary";
|
|
585
584
|
cancelled: "cancelled";
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
585
|
+
cancelling: "cancelling";
|
|
586
|
+
collecting: "collecting";
|
|
587
|
+
discarded: "discarded";
|
|
589
588
|
expired: "expired";
|
|
589
|
+
failed: "failed";
|
|
590
590
|
lost: "lost";
|
|
591
|
-
|
|
592
|
-
collecting: "collecting";
|
|
591
|
+
ready: "ready";
|
|
593
592
|
registered: "registered";
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
593
|
+
running: "running";
|
|
594
|
+
starting: "starting";
|
|
595
|
+
submitted: "submitted";
|
|
596
|
+
uploading: "uploading";
|
|
597
597
|
}>;
|
|
598
598
|
stage: z.ZodNullable<z.ZodEnum<{
|
|
599
|
+
eval: "eval";
|
|
600
|
+
export: "export";
|
|
599
601
|
package: "package";
|
|
602
|
+
prepare: "prepare";
|
|
600
603
|
replay: "replay";
|
|
601
604
|
train: "train";
|
|
602
|
-
export: "export";
|
|
603
|
-
prepare: "prepare";
|
|
604
|
-
eval: "eval";
|
|
605
605
|
}>>;
|
|
606
606
|
failure: z.ZodNullable<z.ZodObject<{
|
|
607
607
|
reason: z.ZodEnum<{
|
|
608
608
|
"checksum-mismatch": "checksum-mismatch";
|
|
609
|
-
"fetch-failed": "fetch-failed";
|
|
610
609
|
"cost-cap": "cost-cap";
|
|
610
|
+
"fetch-failed": "fetch-failed";
|
|
611
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
612
|
+
"provider-error": "provider-error";
|
|
613
|
+
"result-invalid": "result-invalid";
|
|
611
614
|
"runtime-cap": "runtime-cap";
|
|
612
|
-
"upload-failed": "upload-failed";
|
|
613
615
|
"submit-failed": "submit-failed";
|
|
614
616
|
"trainer-failed": "trainer-failed";
|
|
615
|
-
"
|
|
616
|
-
"provider-error": "provider-error";
|
|
617
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
617
|
+
"upload-failed": "upload-failed";
|
|
618
618
|
}>;
|
|
619
619
|
stage: z.ZodNullable<z.ZodString>;
|
|
620
620
|
detail: z.ZodString;
|
|
@@ -626,8 +626,8 @@ export declare const trainingCapability: {
|
|
|
626
626
|
region: z.ZodString;
|
|
627
627
|
baseModelId: z.ZodString;
|
|
628
628
|
preset: z.ZodEnum<{
|
|
629
|
-
standard: "standard";
|
|
630
629
|
quick: "quick";
|
|
630
|
+
standard: "standard";
|
|
631
631
|
thorough: "thorough";
|
|
632
632
|
}>;
|
|
633
633
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -640,8 +640,8 @@ export declare const trainingCapability: {
|
|
|
640
640
|
revision: z.ZodString;
|
|
641
641
|
}, z.core.$strip>;
|
|
642
642
|
datasetLayout: z.ZodEnum<{
|
|
643
|
-
frames: "frames";
|
|
644
643
|
crops: "crops";
|
|
644
|
+
frames: "frames";
|
|
645
645
|
}>;
|
|
646
646
|
dataset: z.ZodNullable<z.ZodObject<{
|
|
647
647
|
bytes: z.ZodNumber;
|
|
@@ -656,13 +656,13 @@ export declare const trainingCapability: {
|
|
|
656
656
|
}, z.core.$strip>;
|
|
657
657
|
provider: z.ZodObject<{
|
|
658
658
|
state: z.ZodNullable<z.ZodEnum<{
|
|
659
|
-
running: "running";
|
|
660
|
-
failed: "failed";
|
|
661
659
|
cancelled: "cancelled";
|
|
660
|
+
failed: "failed";
|
|
661
|
+
lost: "lost";
|
|
662
662
|
pending: "pending";
|
|
663
|
-
|
|
663
|
+
running: "running";
|
|
664
664
|
starting: "starting";
|
|
665
|
-
|
|
665
|
+
succeeded: "succeeded";
|
|
666
666
|
}>>;
|
|
667
667
|
providerJobId: z.ZodNullable<z.ZodString>;
|
|
668
668
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -710,14 +710,14 @@ export declare const trainingCapability: {
|
|
|
710
710
|
}, z.core.$strip>, z.ZodObject<{
|
|
711
711
|
kind: z.ZodLiteral<"refused">;
|
|
712
712
|
reason: z.ZodEnum<{
|
|
713
|
-
"
|
|
714
|
-
"
|
|
713
|
+
"dataset-too-large": "dataset-too-large";
|
|
714
|
+
"job-already-running": "job-already-running";
|
|
715
|
+
"no-training-subjects": "no-training-subjects";
|
|
715
716
|
"provider-not-configured": "provider-not-configured";
|
|
716
717
|
"unknown-base-model": "unknown-base-model";
|
|
718
|
+
"unknown-dataset": "unknown-dataset";
|
|
717
719
|
"unknown-gpu": "unknown-gpu";
|
|
718
|
-
"
|
|
719
|
-
"no-training-subjects": "no-training-subjects";
|
|
720
|
-
"job-already-running": "job-already-running";
|
|
720
|
+
"unknown-provider": "unknown-provider";
|
|
721
721
|
}>;
|
|
722
722
|
detail: z.ZodString;
|
|
723
723
|
}, z.core.$strip>], "kind">, "mutation">;
|
|
@@ -728,41 +728,41 @@ export declare const trainingCapability: {
|
|
|
728
728
|
createdAt: z.ZodNumber;
|
|
729
729
|
updatedAt: z.ZodNumber;
|
|
730
730
|
state: z.ZodEnum<{
|
|
731
|
-
|
|
732
|
-
failed: "failed";
|
|
731
|
+
canary: "canary";
|
|
733
732
|
cancelled: "cancelled";
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
733
|
+
cancelling: "cancelling";
|
|
734
|
+
collecting: "collecting";
|
|
735
|
+
discarded: "discarded";
|
|
737
736
|
expired: "expired";
|
|
737
|
+
failed: "failed";
|
|
738
738
|
lost: "lost";
|
|
739
|
-
|
|
740
|
-
collecting: "collecting";
|
|
739
|
+
ready: "ready";
|
|
741
740
|
registered: "registered";
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
741
|
+
running: "running";
|
|
742
|
+
starting: "starting";
|
|
743
|
+
submitted: "submitted";
|
|
744
|
+
uploading: "uploading";
|
|
745
745
|
}>;
|
|
746
746
|
stage: z.ZodNullable<z.ZodEnum<{
|
|
747
|
+
eval: "eval";
|
|
748
|
+
export: "export";
|
|
747
749
|
package: "package";
|
|
750
|
+
prepare: "prepare";
|
|
748
751
|
replay: "replay";
|
|
749
752
|
train: "train";
|
|
750
|
-
export: "export";
|
|
751
|
-
prepare: "prepare";
|
|
752
|
-
eval: "eval";
|
|
753
753
|
}>>;
|
|
754
754
|
failure: z.ZodNullable<z.ZodObject<{
|
|
755
755
|
reason: z.ZodEnum<{
|
|
756
756
|
"checksum-mismatch": "checksum-mismatch";
|
|
757
|
-
"fetch-failed": "fetch-failed";
|
|
758
757
|
"cost-cap": "cost-cap";
|
|
758
|
+
"fetch-failed": "fetch-failed";
|
|
759
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
760
|
+
"provider-error": "provider-error";
|
|
761
|
+
"result-invalid": "result-invalid";
|
|
759
762
|
"runtime-cap": "runtime-cap";
|
|
760
|
-
"upload-failed": "upload-failed";
|
|
761
763
|
"submit-failed": "submit-failed";
|
|
762
764
|
"trainer-failed": "trainer-failed";
|
|
763
|
-
"
|
|
764
|
-
"provider-error": "provider-error";
|
|
765
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
765
|
+
"upload-failed": "upload-failed";
|
|
766
766
|
}>;
|
|
767
767
|
stage: z.ZodNullable<z.ZodString>;
|
|
768
768
|
detail: z.ZodString;
|
|
@@ -774,8 +774,8 @@ export declare const trainingCapability: {
|
|
|
774
774
|
region: z.ZodString;
|
|
775
775
|
baseModelId: z.ZodString;
|
|
776
776
|
preset: z.ZodEnum<{
|
|
777
|
-
standard: "standard";
|
|
778
777
|
quick: "quick";
|
|
778
|
+
standard: "standard";
|
|
779
779
|
thorough: "thorough";
|
|
780
780
|
}>;
|
|
781
781
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -788,8 +788,8 @@ export declare const trainingCapability: {
|
|
|
788
788
|
revision: z.ZodString;
|
|
789
789
|
}, z.core.$strip>;
|
|
790
790
|
datasetLayout: z.ZodEnum<{
|
|
791
|
-
frames: "frames";
|
|
792
791
|
crops: "crops";
|
|
792
|
+
frames: "frames";
|
|
793
793
|
}>;
|
|
794
794
|
dataset: z.ZodNullable<z.ZodObject<{
|
|
795
795
|
bytes: z.ZodNumber;
|
|
@@ -804,13 +804,13 @@ export declare const trainingCapability: {
|
|
|
804
804
|
}, z.core.$strip>;
|
|
805
805
|
provider: z.ZodObject<{
|
|
806
806
|
state: z.ZodNullable<z.ZodEnum<{
|
|
807
|
-
running: "running";
|
|
808
|
-
failed: "failed";
|
|
809
807
|
cancelled: "cancelled";
|
|
808
|
+
failed: "failed";
|
|
809
|
+
lost: "lost";
|
|
810
810
|
pending: "pending";
|
|
811
|
-
|
|
811
|
+
running: "running";
|
|
812
812
|
starting: "starting";
|
|
813
|
-
|
|
813
|
+
succeeded: "succeeded";
|
|
814
814
|
}>>;
|
|
815
815
|
providerJobId: z.ZodNullable<z.ZodString>;
|
|
816
816
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -864,41 +864,41 @@ export declare const trainingCapability: {
|
|
|
864
864
|
createdAt: z.ZodNumber;
|
|
865
865
|
updatedAt: z.ZodNumber;
|
|
866
866
|
state: z.ZodEnum<{
|
|
867
|
-
|
|
868
|
-
failed: "failed";
|
|
867
|
+
canary: "canary";
|
|
869
868
|
cancelled: "cancelled";
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
869
|
+
cancelling: "cancelling";
|
|
870
|
+
collecting: "collecting";
|
|
871
|
+
discarded: "discarded";
|
|
873
872
|
expired: "expired";
|
|
873
|
+
failed: "failed";
|
|
874
874
|
lost: "lost";
|
|
875
|
-
|
|
876
|
-
collecting: "collecting";
|
|
875
|
+
ready: "ready";
|
|
877
876
|
registered: "registered";
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
877
|
+
running: "running";
|
|
878
|
+
starting: "starting";
|
|
879
|
+
submitted: "submitted";
|
|
880
|
+
uploading: "uploading";
|
|
881
881
|
}>;
|
|
882
882
|
stage: z.ZodNullable<z.ZodEnum<{
|
|
883
|
+
eval: "eval";
|
|
884
|
+
export: "export";
|
|
883
885
|
package: "package";
|
|
886
|
+
prepare: "prepare";
|
|
884
887
|
replay: "replay";
|
|
885
888
|
train: "train";
|
|
886
|
-
export: "export";
|
|
887
|
-
prepare: "prepare";
|
|
888
|
-
eval: "eval";
|
|
889
889
|
}>>;
|
|
890
890
|
failure: z.ZodNullable<z.ZodObject<{
|
|
891
891
|
reason: z.ZodEnum<{
|
|
892
892
|
"checksum-mismatch": "checksum-mismatch";
|
|
893
|
-
"fetch-failed": "fetch-failed";
|
|
894
893
|
"cost-cap": "cost-cap";
|
|
894
|
+
"fetch-failed": "fetch-failed";
|
|
895
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
896
|
+
"provider-error": "provider-error";
|
|
897
|
+
"result-invalid": "result-invalid";
|
|
895
898
|
"runtime-cap": "runtime-cap";
|
|
896
|
-
"upload-failed": "upload-failed";
|
|
897
899
|
"submit-failed": "submit-failed";
|
|
898
900
|
"trainer-failed": "trainer-failed";
|
|
899
|
-
"
|
|
900
|
-
"provider-error": "provider-error";
|
|
901
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
901
|
+
"upload-failed": "upload-failed";
|
|
902
902
|
}>;
|
|
903
903
|
stage: z.ZodNullable<z.ZodString>;
|
|
904
904
|
detail: z.ZodString;
|
|
@@ -910,8 +910,8 @@ export declare const trainingCapability: {
|
|
|
910
910
|
region: z.ZodString;
|
|
911
911
|
baseModelId: z.ZodString;
|
|
912
912
|
preset: z.ZodEnum<{
|
|
913
|
-
standard: "standard";
|
|
914
913
|
quick: "quick";
|
|
914
|
+
standard: "standard";
|
|
915
915
|
thorough: "thorough";
|
|
916
916
|
}>;
|
|
917
917
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -924,8 +924,8 @@ export declare const trainingCapability: {
|
|
|
924
924
|
revision: z.ZodString;
|
|
925
925
|
}, z.core.$strip>;
|
|
926
926
|
datasetLayout: z.ZodEnum<{
|
|
927
|
-
frames: "frames";
|
|
928
927
|
crops: "crops";
|
|
928
|
+
frames: "frames";
|
|
929
929
|
}>;
|
|
930
930
|
dataset: z.ZodNullable<z.ZodObject<{
|
|
931
931
|
bytes: z.ZodNumber;
|
|
@@ -940,13 +940,13 @@ export declare const trainingCapability: {
|
|
|
940
940
|
}, z.core.$strip>;
|
|
941
941
|
provider: z.ZodObject<{
|
|
942
942
|
state: z.ZodNullable<z.ZodEnum<{
|
|
943
|
-
running: "running";
|
|
944
|
-
failed: "failed";
|
|
945
943
|
cancelled: "cancelled";
|
|
944
|
+
failed: "failed";
|
|
945
|
+
lost: "lost";
|
|
946
946
|
pending: "pending";
|
|
947
|
-
|
|
947
|
+
running: "running";
|
|
948
948
|
starting: "starting";
|
|
949
|
-
|
|
949
|
+
succeeded: "succeeded";
|
|
950
950
|
}>>;
|
|
951
951
|
providerJobId: z.ZodNullable<z.ZodString>;
|
|
952
952
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1000,41 +1000,41 @@ export declare const trainingCapability: {
|
|
|
1000
1000
|
createdAt: z.ZodNumber;
|
|
1001
1001
|
updatedAt: z.ZodNumber;
|
|
1002
1002
|
state: z.ZodEnum<{
|
|
1003
|
-
|
|
1004
|
-
failed: "failed";
|
|
1003
|
+
canary: "canary";
|
|
1005
1004
|
cancelled: "cancelled";
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1005
|
+
cancelling: "cancelling";
|
|
1006
|
+
collecting: "collecting";
|
|
1007
|
+
discarded: "discarded";
|
|
1009
1008
|
expired: "expired";
|
|
1009
|
+
failed: "failed";
|
|
1010
1010
|
lost: "lost";
|
|
1011
|
-
|
|
1012
|
-
collecting: "collecting";
|
|
1011
|
+
ready: "ready";
|
|
1013
1012
|
registered: "registered";
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1013
|
+
running: "running";
|
|
1014
|
+
starting: "starting";
|
|
1015
|
+
submitted: "submitted";
|
|
1016
|
+
uploading: "uploading";
|
|
1017
1017
|
}>;
|
|
1018
1018
|
stage: z.ZodNullable<z.ZodEnum<{
|
|
1019
|
+
eval: "eval";
|
|
1020
|
+
export: "export";
|
|
1019
1021
|
package: "package";
|
|
1022
|
+
prepare: "prepare";
|
|
1020
1023
|
replay: "replay";
|
|
1021
1024
|
train: "train";
|
|
1022
|
-
export: "export";
|
|
1023
|
-
prepare: "prepare";
|
|
1024
|
-
eval: "eval";
|
|
1025
1025
|
}>>;
|
|
1026
1026
|
failure: z.ZodNullable<z.ZodObject<{
|
|
1027
1027
|
reason: z.ZodEnum<{
|
|
1028
1028
|
"checksum-mismatch": "checksum-mismatch";
|
|
1029
|
-
"fetch-failed": "fetch-failed";
|
|
1030
1029
|
"cost-cap": "cost-cap";
|
|
1030
|
+
"fetch-failed": "fetch-failed";
|
|
1031
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1032
|
+
"provider-error": "provider-error";
|
|
1033
|
+
"result-invalid": "result-invalid";
|
|
1031
1034
|
"runtime-cap": "runtime-cap";
|
|
1032
|
-
"upload-failed": "upload-failed";
|
|
1033
1035
|
"submit-failed": "submit-failed";
|
|
1034
1036
|
"trainer-failed": "trainer-failed";
|
|
1035
|
-
"
|
|
1036
|
-
"provider-error": "provider-error";
|
|
1037
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1037
|
+
"upload-failed": "upload-failed";
|
|
1038
1038
|
}>;
|
|
1039
1039
|
stage: z.ZodNullable<z.ZodString>;
|
|
1040
1040
|
detail: z.ZodString;
|
|
@@ -1046,8 +1046,8 @@ export declare const trainingCapability: {
|
|
|
1046
1046
|
region: z.ZodString;
|
|
1047
1047
|
baseModelId: z.ZodString;
|
|
1048
1048
|
preset: z.ZodEnum<{
|
|
1049
|
-
standard: "standard";
|
|
1050
1049
|
quick: "quick";
|
|
1050
|
+
standard: "standard";
|
|
1051
1051
|
thorough: "thorough";
|
|
1052
1052
|
}>;
|
|
1053
1053
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1060,8 +1060,8 @@ export declare const trainingCapability: {
|
|
|
1060
1060
|
revision: z.ZodString;
|
|
1061
1061
|
}, z.core.$strip>;
|
|
1062
1062
|
datasetLayout: z.ZodEnum<{
|
|
1063
|
-
frames: "frames";
|
|
1064
1063
|
crops: "crops";
|
|
1064
|
+
frames: "frames";
|
|
1065
1065
|
}>;
|
|
1066
1066
|
dataset: z.ZodNullable<z.ZodObject<{
|
|
1067
1067
|
bytes: z.ZodNumber;
|
|
@@ -1076,13 +1076,13 @@ export declare const trainingCapability: {
|
|
|
1076
1076
|
}, z.core.$strip>;
|
|
1077
1077
|
provider: z.ZodObject<{
|
|
1078
1078
|
state: z.ZodNullable<z.ZodEnum<{
|
|
1079
|
-
running: "running";
|
|
1080
|
-
failed: "failed";
|
|
1081
1079
|
cancelled: "cancelled";
|
|
1080
|
+
failed: "failed";
|
|
1081
|
+
lost: "lost";
|
|
1082
1082
|
pending: "pending";
|
|
1083
|
-
|
|
1083
|
+
running: "running";
|
|
1084
1084
|
starting: "starting";
|
|
1085
|
-
|
|
1085
|
+
succeeded: "succeeded";
|
|
1086
1086
|
}>>;
|
|
1087
1087
|
providerJobId: z.ZodNullable<z.ZodString>;
|
|
1088
1088
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1246,14 +1246,14 @@ export declare const trainingCapability: {
|
|
|
1246
1246
|
bytes: z.ZodNumber;
|
|
1247
1247
|
sha256: z.ZodString;
|
|
1248
1248
|
format: z.ZodEnum<{
|
|
1249
|
-
onnx: "onnx";
|
|
1250
1249
|
coreml: "coreml";
|
|
1250
|
+
onnx: "onnx";
|
|
1251
1251
|
openvino: "openvino";
|
|
1252
1252
|
pt: "pt";
|
|
1253
1253
|
}>;
|
|
1254
1254
|
variant: z.ZodEnum<{
|
|
1255
|
-
int8: "int8";
|
|
1256
1255
|
base: "base";
|
|
1256
|
+
int8: "int8";
|
|
1257
1257
|
}>;
|
|
1258
1258
|
}, z.core.$strip>>>;
|
|
1259
1259
|
bundle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1352,41 +1352,41 @@ export declare const trainingCapability: {
|
|
|
1352
1352
|
createdAt: z.ZodNumber;
|
|
1353
1353
|
updatedAt: z.ZodNumber;
|
|
1354
1354
|
state: z.ZodEnum<{
|
|
1355
|
-
|
|
1356
|
-
failed: "failed";
|
|
1355
|
+
canary: "canary";
|
|
1357
1356
|
cancelled: "cancelled";
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1357
|
+
cancelling: "cancelling";
|
|
1358
|
+
collecting: "collecting";
|
|
1359
|
+
discarded: "discarded";
|
|
1361
1360
|
expired: "expired";
|
|
1361
|
+
failed: "failed";
|
|
1362
1362
|
lost: "lost";
|
|
1363
|
-
|
|
1364
|
-
collecting: "collecting";
|
|
1363
|
+
ready: "ready";
|
|
1365
1364
|
registered: "registered";
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1365
|
+
running: "running";
|
|
1366
|
+
starting: "starting";
|
|
1367
|
+
submitted: "submitted";
|
|
1368
|
+
uploading: "uploading";
|
|
1369
1369
|
}>;
|
|
1370
1370
|
stage: z.ZodNullable<z.ZodEnum<{
|
|
1371
|
+
eval: "eval";
|
|
1372
|
+
export: "export";
|
|
1371
1373
|
package: "package";
|
|
1374
|
+
prepare: "prepare";
|
|
1372
1375
|
replay: "replay";
|
|
1373
1376
|
train: "train";
|
|
1374
|
-
export: "export";
|
|
1375
|
-
prepare: "prepare";
|
|
1376
|
-
eval: "eval";
|
|
1377
1377
|
}>>;
|
|
1378
1378
|
failure: z.ZodNullable<z.ZodObject<{
|
|
1379
1379
|
reason: z.ZodEnum<{
|
|
1380
1380
|
"checksum-mismatch": "checksum-mismatch";
|
|
1381
|
-
"fetch-failed": "fetch-failed";
|
|
1382
1381
|
"cost-cap": "cost-cap";
|
|
1382
|
+
"fetch-failed": "fetch-failed";
|
|
1383
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1384
|
+
"provider-error": "provider-error";
|
|
1385
|
+
"result-invalid": "result-invalid";
|
|
1383
1386
|
"runtime-cap": "runtime-cap";
|
|
1384
|
-
"upload-failed": "upload-failed";
|
|
1385
1387
|
"submit-failed": "submit-failed";
|
|
1386
1388
|
"trainer-failed": "trainer-failed";
|
|
1387
|
-
"
|
|
1388
|
-
"provider-error": "provider-error";
|
|
1389
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1389
|
+
"upload-failed": "upload-failed";
|
|
1390
1390
|
}>;
|
|
1391
1391
|
stage: z.ZodNullable<z.ZodString>;
|
|
1392
1392
|
detail: z.ZodString;
|
|
@@ -1398,8 +1398,8 @@ export declare const trainingCapability: {
|
|
|
1398
1398
|
region: z.ZodString;
|
|
1399
1399
|
baseModelId: z.ZodString;
|
|
1400
1400
|
preset: z.ZodEnum<{
|
|
1401
|
-
standard: "standard";
|
|
1402
1401
|
quick: "quick";
|
|
1402
|
+
standard: "standard";
|
|
1403
1403
|
thorough: "thorough";
|
|
1404
1404
|
}>;
|
|
1405
1405
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1412,8 +1412,8 @@ export declare const trainingCapability: {
|
|
|
1412
1412
|
revision: z.ZodString;
|
|
1413
1413
|
}, z.core.$strip>;
|
|
1414
1414
|
datasetLayout: z.ZodEnum<{
|
|
1415
|
-
frames: "frames";
|
|
1416
1415
|
crops: "crops";
|
|
1416
|
+
frames: "frames";
|
|
1417
1417
|
}>;
|
|
1418
1418
|
dataset: z.ZodNullable<z.ZodObject<{
|
|
1419
1419
|
bytes: z.ZodNumber;
|
|
@@ -1428,13 +1428,13 @@ export declare const trainingCapability: {
|
|
|
1428
1428
|
}, z.core.$strip>;
|
|
1429
1429
|
provider: z.ZodObject<{
|
|
1430
1430
|
state: z.ZodNullable<z.ZodEnum<{
|
|
1431
|
-
running: "running";
|
|
1432
|
-
failed: "failed";
|
|
1433
1431
|
cancelled: "cancelled";
|
|
1432
|
+
failed: "failed";
|
|
1433
|
+
lost: "lost";
|
|
1434
1434
|
pending: "pending";
|
|
1435
|
-
|
|
1435
|
+
running: "running";
|
|
1436
1436
|
starting: "starting";
|
|
1437
|
-
|
|
1437
|
+
succeeded: "succeeded";
|
|
1438
1438
|
}>>;
|
|
1439
1439
|
providerJobId: z.ZodNullable<z.ZodString>;
|
|
1440
1440
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1490,41 +1490,41 @@ export declare const trainingCapability: {
|
|
|
1490
1490
|
createdAt: z.ZodNumber;
|
|
1491
1491
|
updatedAt: z.ZodNumber;
|
|
1492
1492
|
state: z.ZodEnum<{
|
|
1493
|
-
|
|
1494
|
-
failed: "failed";
|
|
1493
|
+
canary: "canary";
|
|
1495
1494
|
cancelled: "cancelled";
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1495
|
+
cancelling: "cancelling";
|
|
1496
|
+
collecting: "collecting";
|
|
1497
|
+
discarded: "discarded";
|
|
1499
1498
|
expired: "expired";
|
|
1499
|
+
failed: "failed";
|
|
1500
1500
|
lost: "lost";
|
|
1501
|
-
|
|
1502
|
-
collecting: "collecting";
|
|
1501
|
+
ready: "ready";
|
|
1503
1502
|
registered: "registered";
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1503
|
+
running: "running";
|
|
1504
|
+
starting: "starting";
|
|
1505
|
+
submitted: "submitted";
|
|
1506
|
+
uploading: "uploading";
|
|
1507
1507
|
}>;
|
|
1508
1508
|
stage: z.ZodNullable<z.ZodEnum<{
|
|
1509
|
+
eval: "eval";
|
|
1510
|
+
export: "export";
|
|
1509
1511
|
package: "package";
|
|
1512
|
+
prepare: "prepare";
|
|
1510
1513
|
replay: "replay";
|
|
1511
1514
|
train: "train";
|
|
1512
|
-
export: "export";
|
|
1513
|
-
prepare: "prepare";
|
|
1514
|
-
eval: "eval";
|
|
1515
1515
|
}>>;
|
|
1516
1516
|
failure: z.ZodNullable<z.ZodObject<{
|
|
1517
1517
|
reason: z.ZodEnum<{
|
|
1518
1518
|
"checksum-mismatch": "checksum-mismatch";
|
|
1519
|
-
"fetch-failed": "fetch-failed";
|
|
1520
1519
|
"cost-cap": "cost-cap";
|
|
1520
|
+
"fetch-failed": "fetch-failed";
|
|
1521
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1522
|
+
"provider-error": "provider-error";
|
|
1523
|
+
"result-invalid": "result-invalid";
|
|
1521
1524
|
"runtime-cap": "runtime-cap";
|
|
1522
|
-
"upload-failed": "upload-failed";
|
|
1523
1525
|
"submit-failed": "submit-failed";
|
|
1524
1526
|
"trainer-failed": "trainer-failed";
|
|
1525
|
-
"
|
|
1526
|
-
"provider-error": "provider-error";
|
|
1527
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1527
|
+
"upload-failed": "upload-failed";
|
|
1528
1528
|
}>;
|
|
1529
1529
|
stage: z.ZodNullable<z.ZodString>;
|
|
1530
1530
|
detail: z.ZodString;
|
|
@@ -1536,8 +1536,8 @@ export declare const trainingCapability: {
|
|
|
1536
1536
|
region: z.ZodString;
|
|
1537
1537
|
baseModelId: z.ZodString;
|
|
1538
1538
|
preset: z.ZodEnum<{
|
|
1539
|
-
standard: "standard";
|
|
1540
1539
|
quick: "quick";
|
|
1540
|
+
standard: "standard";
|
|
1541
1541
|
thorough: "thorough";
|
|
1542
1542
|
}>;
|
|
1543
1543
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1550,8 +1550,8 @@ export declare const trainingCapability: {
|
|
|
1550
1550
|
revision: z.ZodString;
|
|
1551
1551
|
}, z.core.$strip>;
|
|
1552
1552
|
datasetLayout: z.ZodEnum<{
|
|
1553
|
-
frames: "frames";
|
|
1554
1553
|
crops: "crops";
|
|
1554
|
+
frames: "frames";
|
|
1555
1555
|
}>;
|
|
1556
1556
|
dataset: z.ZodNullable<z.ZodObject<{
|
|
1557
1557
|
bytes: z.ZodNumber;
|
|
@@ -1566,13 +1566,13 @@ export declare const trainingCapability: {
|
|
|
1566
1566
|
}, z.core.$strip>;
|
|
1567
1567
|
provider: z.ZodObject<{
|
|
1568
1568
|
state: z.ZodNullable<z.ZodEnum<{
|
|
1569
|
-
running: "running";
|
|
1570
|
-
failed: "failed";
|
|
1571
1569
|
cancelled: "cancelled";
|
|
1570
|
+
failed: "failed";
|
|
1571
|
+
lost: "lost";
|
|
1572
1572
|
pending: "pending";
|
|
1573
|
-
|
|
1573
|
+
running: "running";
|
|
1574
1574
|
starting: "starting";
|
|
1575
|
-
|
|
1575
|
+
succeeded: "succeeded";
|
|
1576
1576
|
}>>;
|
|
1577
1577
|
providerJobId: z.ZodNullable<z.ZodString>;
|
|
1578
1578
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1627,41 +1627,41 @@ export declare const trainingCapability: {
|
|
|
1627
1627
|
createdAt: z.ZodNumber;
|
|
1628
1628
|
updatedAt: z.ZodNumber;
|
|
1629
1629
|
state: z.ZodEnum<{
|
|
1630
|
-
|
|
1631
|
-
failed: "failed";
|
|
1630
|
+
canary: "canary";
|
|
1632
1631
|
cancelled: "cancelled";
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1632
|
+
cancelling: "cancelling";
|
|
1633
|
+
collecting: "collecting";
|
|
1634
|
+
discarded: "discarded";
|
|
1636
1635
|
expired: "expired";
|
|
1636
|
+
failed: "failed";
|
|
1637
1637
|
lost: "lost";
|
|
1638
|
-
|
|
1639
|
-
collecting: "collecting";
|
|
1638
|
+
ready: "ready";
|
|
1640
1639
|
registered: "registered";
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1640
|
+
running: "running";
|
|
1641
|
+
starting: "starting";
|
|
1642
|
+
submitted: "submitted";
|
|
1643
|
+
uploading: "uploading";
|
|
1644
1644
|
}>;
|
|
1645
1645
|
stage: z.ZodNullable<z.ZodEnum<{
|
|
1646
|
+
eval: "eval";
|
|
1647
|
+
export: "export";
|
|
1646
1648
|
package: "package";
|
|
1649
|
+
prepare: "prepare";
|
|
1647
1650
|
replay: "replay";
|
|
1648
1651
|
train: "train";
|
|
1649
|
-
export: "export";
|
|
1650
|
-
prepare: "prepare";
|
|
1651
|
-
eval: "eval";
|
|
1652
1652
|
}>>;
|
|
1653
1653
|
failure: z.ZodNullable<z.ZodObject<{
|
|
1654
1654
|
reason: z.ZodEnum<{
|
|
1655
1655
|
"checksum-mismatch": "checksum-mismatch";
|
|
1656
|
-
"fetch-failed": "fetch-failed";
|
|
1657
1656
|
"cost-cap": "cost-cap";
|
|
1657
|
+
"fetch-failed": "fetch-failed";
|
|
1658
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1659
|
+
"provider-error": "provider-error";
|
|
1660
|
+
"result-invalid": "result-invalid";
|
|
1658
1661
|
"runtime-cap": "runtime-cap";
|
|
1659
|
-
"upload-failed": "upload-failed";
|
|
1660
1662
|
"submit-failed": "submit-failed";
|
|
1661
1663
|
"trainer-failed": "trainer-failed";
|
|
1662
|
-
"
|
|
1663
|
-
"provider-error": "provider-error";
|
|
1664
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1664
|
+
"upload-failed": "upload-failed";
|
|
1665
1665
|
}>;
|
|
1666
1666
|
stage: z.ZodNullable<z.ZodString>;
|
|
1667
1667
|
detail: z.ZodString;
|
|
@@ -1673,8 +1673,8 @@ export declare const trainingCapability: {
|
|
|
1673
1673
|
region: z.ZodString;
|
|
1674
1674
|
baseModelId: z.ZodString;
|
|
1675
1675
|
preset: z.ZodEnum<{
|
|
1676
|
-
standard: "standard";
|
|
1677
1676
|
quick: "quick";
|
|
1677
|
+
standard: "standard";
|
|
1678
1678
|
thorough: "thorough";
|
|
1679
1679
|
}>;
|
|
1680
1680
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1687,8 +1687,8 @@ export declare const trainingCapability: {
|
|
|
1687
1687
|
revision: z.ZodString;
|
|
1688
1688
|
}, z.core.$strip>;
|
|
1689
1689
|
datasetLayout: z.ZodEnum<{
|
|
1690
|
-
frames: "frames";
|
|
1691
1690
|
crops: "crops";
|
|
1691
|
+
frames: "frames";
|
|
1692
1692
|
}>;
|
|
1693
1693
|
dataset: z.ZodNullable<z.ZodObject<{
|
|
1694
1694
|
bytes: z.ZodNumber;
|
|
@@ -1703,13 +1703,13 @@ export declare const trainingCapability: {
|
|
|
1703
1703
|
}, z.core.$strip>;
|
|
1704
1704
|
provider: z.ZodObject<{
|
|
1705
1705
|
state: z.ZodNullable<z.ZodEnum<{
|
|
1706
|
-
running: "running";
|
|
1707
|
-
failed: "failed";
|
|
1708
1706
|
cancelled: "cancelled";
|
|
1707
|
+
failed: "failed";
|
|
1708
|
+
lost: "lost";
|
|
1709
1709
|
pending: "pending";
|
|
1710
|
-
|
|
1710
|
+
running: "running";
|
|
1711
1711
|
starting: "starting";
|
|
1712
|
-
|
|
1712
|
+
succeeded: "succeeded";
|
|
1713
1713
|
}>>;
|
|
1714
1714
|
providerJobId: z.ZodNullable<z.ZodString>;
|
|
1715
1715
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1764,41 +1764,41 @@ export declare const trainingCapability: {
|
|
|
1764
1764
|
createdAt: z.ZodNumber;
|
|
1765
1765
|
updatedAt: z.ZodNumber;
|
|
1766
1766
|
state: z.ZodEnum<{
|
|
1767
|
-
|
|
1768
|
-
failed: "failed";
|
|
1767
|
+
canary: "canary";
|
|
1769
1768
|
cancelled: "cancelled";
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1769
|
+
cancelling: "cancelling";
|
|
1770
|
+
collecting: "collecting";
|
|
1771
|
+
discarded: "discarded";
|
|
1773
1772
|
expired: "expired";
|
|
1773
|
+
failed: "failed";
|
|
1774
1774
|
lost: "lost";
|
|
1775
|
-
|
|
1776
|
-
collecting: "collecting";
|
|
1775
|
+
ready: "ready";
|
|
1777
1776
|
registered: "registered";
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1777
|
+
running: "running";
|
|
1778
|
+
starting: "starting";
|
|
1779
|
+
submitted: "submitted";
|
|
1780
|
+
uploading: "uploading";
|
|
1781
1781
|
}>;
|
|
1782
1782
|
stage: z.ZodNullable<z.ZodEnum<{
|
|
1783
|
+
eval: "eval";
|
|
1784
|
+
export: "export";
|
|
1783
1785
|
package: "package";
|
|
1786
|
+
prepare: "prepare";
|
|
1784
1787
|
replay: "replay";
|
|
1785
1788
|
train: "train";
|
|
1786
|
-
export: "export";
|
|
1787
|
-
prepare: "prepare";
|
|
1788
|
-
eval: "eval";
|
|
1789
1789
|
}>>;
|
|
1790
1790
|
failure: z.ZodNullable<z.ZodObject<{
|
|
1791
1791
|
reason: z.ZodEnum<{
|
|
1792
1792
|
"checksum-mismatch": "checksum-mismatch";
|
|
1793
|
-
"fetch-failed": "fetch-failed";
|
|
1794
1793
|
"cost-cap": "cost-cap";
|
|
1794
|
+
"fetch-failed": "fetch-failed";
|
|
1795
|
+
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1796
|
+
"provider-error": "provider-error";
|
|
1797
|
+
"result-invalid": "result-invalid";
|
|
1795
1798
|
"runtime-cap": "runtime-cap";
|
|
1796
|
-
"upload-failed": "upload-failed";
|
|
1797
1799
|
"submit-failed": "submit-failed";
|
|
1798
1800
|
"trainer-failed": "trainer-failed";
|
|
1799
|
-
"
|
|
1800
|
-
"provider-error": "provider-error";
|
|
1801
|
-
"hub-restart-during-upload": "hub-restart-during-upload";
|
|
1801
|
+
"upload-failed": "upload-failed";
|
|
1802
1802
|
}>;
|
|
1803
1803
|
stage: z.ZodNullable<z.ZodString>;
|
|
1804
1804
|
detail: z.ZodString;
|
|
@@ -1810,8 +1810,8 @@ export declare const trainingCapability: {
|
|
|
1810
1810
|
region: z.ZodString;
|
|
1811
1811
|
baseModelId: z.ZodString;
|
|
1812
1812
|
preset: z.ZodEnum<{
|
|
1813
|
-
standard: "standard";
|
|
1814
1813
|
quick: "quick";
|
|
1814
|
+
standard: "standard";
|
|
1815
1815
|
thorough: "thorough";
|
|
1816
1816
|
}>;
|
|
1817
1817
|
freeze: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1824,8 +1824,8 @@ export declare const trainingCapability: {
|
|
|
1824
1824
|
revision: z.ZodString;
|
|
1825
1825
|
}, z.core.$strip>;
|
|
1826
1826
|
datasetLayout: z.ZodEnum<{
|
|
1827
|
-
frames: "frames";
|
|
1828
1827
|
crops: "crops";
|
|
1828
|
+
frames: "frames";
|
|
1829
1829
|
}>;
|
|
1830
1830
|
dataset: z.ZodNullable<z.ZodObject<{
|
|
1831
1831
|
bytes: z.ZodNumber;
|
|
@@ -1840,13 +1840,13 @@ export declare const trainingCapability: {
|
|
|
1840
1840
|
}, z.core.$strip>;
|
|
1841
1841
|
provider: z.ZodObject<{
|
|
1842
1842
|
state: z.ZodNullable<z.ZodEnum<{
|
|
1843
|
-
running: "running";
|
|
1844
|
-
failed: "failed";
|
|
1845
1843
|
cancelled: "cancelled";
|
|
1844
|
+
failed: "failed";
|
|
1845
|
+
lost: "lost";
|
|
1846
1846
|
pending: "pending";
|
|
1847
|
-
|
|
1847
|
+
running: "running";
|
|
1848
1848
|
starting: "starting";
|
|
1849
|
-
|
|
1849
|
+
succeeded: "succeeded";
|
|
1850
1850
|
}>>;
|
|
1851
1851
|
providerJobId: z.ZodNullable<z.ZodString>;
|
|
1852
1852
|
startedAt: z.ZodNullable<z.ZodNumber>;
|