@neuracore/types 4.1.1 → 4.2.0

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.
@@ -186,6 +186,42 @@ export interface Dataset {
186
186
  };
187
187
  deleted: boolean;
188
188
  }
189
+ /**
190
+ * Configuration for model deployment.
191
+ *
192
+ * Attributes:
193
+ * machine_type: Type of machine to use for deployment.
194
+ * gpu_type: Type of GPU to use for deployment.
195
+ * gpu_count: Number of GPUs to use for deployment.
196
+ */
197
+ export interface DeploymentConfig {
198
+ machine_type?: string | null;
199
+ gpu_type?: GPUType | null;
200
+ gpu_count?: number | null;
201
+ }
202
+ /**
203
+ * Request model for deploying a model.
204
+ *
205
+ * Attributes:
206
+ * training_id: Identifier of the trained model to deploy.
207
+ * name: Optional name for the endpoint.
208
+ * ttl: Optional time-to-live in seconds for the endpoint.
209
+ * model_input_order: Specification of the model input data order.
210
+ * model_output_order: Specification of the model output data order.
211
+ * config: Deployment configuration parameters.
212
+ */
213
+ export interface DeploymentRequest {
214
+ training_id: string;
215
+ name?: string | null;
216
+ ttl?: number | null;
217
+ model_input_order: {
218
+ [k: string]: string[];
219
+ };
220
+ model_output_order: {
221
+ [k: string]: string[];
222
+ };
223
+ config?: DeploymentConfig;
224
+ }
189
225
  /**
190
226
  * Depth camera data subclass.
191
227
  *
@@ -893,6 +929,19 @@ export declare enum Type1 {
893
929
  export declare enum Type2 {
894
930
  Custom1DDataStats = "Custom1DDataStats"
895
931
  }
932
+ /**
933
+ * GPU types available for training.
934
+ */
935
+ export declare enum GPUType {
936
+ NVIDIA_H100_80GB = "NVIDIA_H100_80GB",
937
+ NVIDIA_A100_80GB = "NVIDIA_A100_80GB",
938
+ NVIDIA_TESLA_A100 = "NVIDIA_TESLA_A100",
939
+ NVIDIA_TESLA_V100 = "NVIDIA_TESLA_V100",
940
+ NVIDIA_TESLA_P100 = "NVIDIA_TESLA_P100",
941
+ NVIDIA_TESLA_T4 = "NVIDIA_TESLA_T4",
942
+ NVIDIA_TESLA_P4 = "NVIDIA_TESLA_P4",
943
+ NVIDIA_L4 = "NVIDIA_L4"
944
+ }
896
945
  export declare enum Type3 {
897
946
  DepthCameraData = "DepthCameraData"
898
947
  }
@@ -914,19 +963,6 @@ export declare enum MessageType {
914
963
  ICE_CANDIDATE = "ICE_CANDIDATE",
915
964
  OPEN_CONNECTION = "OPEN_CONNECTION"
916
965
  }
917
- /**
918
- * GPU types available for training.
919
- */
920
- export declare enum GPUType {
921
- NVIDIA_H100_80GB = "NVIDIA_H100_80GB",
922
- NVIDIA_A100_80GB = "NVIDIA_A100_80GB",
923
- NVIDIA_TESLA_A100 = "NVIDIA_TESLA_A100",
924
- NVIDIA_TESLA_V100 = "NVIDIA_TESLA_V100",
925
- NVIDIA_TESLA_P100 = "NVIDIA_TESLA_P100",
926
- NVIDIA_TESLA_T4 = "NVIDIA_TESLA_T4",
927
- NVIDIA_TESLA_P4 = "NVIDIA_TESLA_P4",
928
- NVIDIA_L4 = "NVIDIA_L4"
929
- }
930
966
  export declare enum Type6 {
931
967
  JointData = "JointData"
932
968
  }
@@ -6,7 +6,7 @@
6
6
  /* Do not modify it by hand - just update the pydantic models and then re-run the script
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.GPUType1 = exports.TrainingJobStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus = exports.Type16 = exports.Type15 = exports.Type14 = exports.PendingRecordingStatus = exports.RecordingStatus = exports.Type13 = exports.VideoFormat = exports.Type12 = exports.Type11 = exports.Type10 = exports.Type9 = exports.Type8 = exports.Type7 = exports.Type6 = exports.GPUType = exports.MessageType = exports.Type5 = exports.Type4 = exports.Type3 = exports.Type2 = exports.Type1 = exports.Type = exports.DataType = void 0;
9
+ exports.GPUType1 = exports.TrainingJobStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus = exports.Type16 = exports.Type15 = exports.Type14 = exports.PendingRecordingStatus = exports.RecordingStatus = exports.Type13 = exports.VideoFormat = exports.Type12 = exports.Type11 = exports.Type10 = exports.Type9 = exports.Type8 = exports.Type7 = exports.Type6 = exports.MessageType = exports.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.Type2 = exports.Type1 = exports.Type = exports.DataType = void 0;
10
10
  /**
11
11
  * Enumeration of supported data types in the Neuracore system.
12
12
  *
@@ -40,6 +40,20 @@ var Type2;
40
40
  (function (Type2) {
41
41
  Type2["Custom1DDataStats"] = "Custom1DDataStats";
42
42
  })(Type2 || (exports.Type2 = Type2 = {}));
43
+ /**
44
+ * GPU types available for training.
45
+ */
46
+ var GPUType;
47
+ (function (GPUType) {
48
+ GPUType["NVIDIA_H100_80GB"] = "NVIDIA_H100_80GB";
49
+ GPUType["NVIDIA_A100_80GB"] = "NVIDIA_A100_80GB";
50
+ GPUType["NVIDIA_TESLA_A100"] = "NVIDIA_TESLA_A100";
51
+ GPUType["NVIDIA_TESLA_V100"] = "NVIDIA_TESLA_V100";
52
+ GPUType["NVIDIA_TESLA_P100"] = "NVIDIA_TESLA_P100";
53
+ GPUType["NVIDIA_TESLA_T4"] = "NVIDIA_TESLA_T4";
54
+ GPUType["NVIDIA_TESLA_P4"] = "NVIDIA_TESLA_P4";
55
+ GPUType["NVIDIA_L4"] = "NVIDIA_L4";
56
+ })(GPUType || (exports.GPUType = GPUType = {}));
43
57
  var Type3;
44
58
  (function (Type3) {
45
59
  Type3["DepthCameraData"] = "DepthCameraData";
@@ -65,20 +79,6 @@ var MessageType;
65
79
  MessageType["ICE_CANDIDATE"] = "ICE_CANDIDATE";
66
80
  MessageType["OPEN_CONNECTION"] = "OPEN_CONNECTION";
67
81
  })(MessageType || (exports.MessageType = MessageType = {}));
68
- /**
69
- * GPU types available for training.
70
- */
71
- var GPUType;
72
- (function (GPUType) {
73
- GPUType["NVIDIA_H100_80GB"] = "NVIDIA_H100_80GB";
74
- GPUType["NVIDIA_A100_80GB"] = "NVIDIA_A100_80GB";
75
- GPUType["NVIDIA_TESLA_A100"] = "NVIDIA_TESLA_A100";
76
- GPUType["NVIDIA_TESLA_V100"] = "NVIDIA_TESLA_V100";
77
- GPUType["NVIDIA_TESLA_P100"] = "NVIDIA_TESLA_P100";
78
- GPUType["NVIDIA_TESLA_T4"] = "NVIDIA_TESLA_T4";
79
- GPUType["NVIDIA_TESLA_P4"] = "NVIDIA_TESLA_P4";
80
- GPUType["NVIDIA_L4"] = "NVIDIA_L4";
81
- })(GPUType || (exports.GPUType = GPUType = {}));
82
82
  var Type6;
83
83
  (function (Type6) {
84
84
  Type6["JointData"] = "JointData";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "description": "Shared TypeScript type definitions for Neuracore robotics platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",