@daocloud-proto/infery 0.0.0-dev-71eb8854 → 0.0.0-dev-957b9c3c

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.
@@ -35,13 +35,17 @@ export enum InferenceEngine {
35
35
  INFERENCE_ENGINE_SGLANG = "INFERENCE_ENGINE_SGLANG",
36
36
  }
37
37
 
38
- export type ParallelSpec = {
38
+
39
+ type BaseParallelSpec = {
39
40
  tp?: number
40
41
  dp?: number
41
42
  ep?: boolean
42
43
  gpuPerNode?: number
43
44
  }
44
45
 
46
+ export type ParallelSpec = BaseParallelSpec
47
+ & OneOf<{ pp: number }>
48
+
45
49
  export type RoleSpec = {
46
50
  replicas?: number
47
51
  nodes?: number
@@ -39,12 +39,10 @@ export enum RetryPolicy {
39
39
 
40
40
  export enum TaskStatus {
41
41
  TASK_STATUS_UNSPECIFIED = "TASK_STATUS_UNSPECIFIED",
42
- TASK_STATUS_PENDING = "TASK_STATUS_PENDING",
43
42
  TASK_STATUS_RUNNING = "TASK_STATUS_RUNNING",
44
43
  TASK_STATUS_PAUSED = "TASK_STATUS_PAUSED",
45
44
  TASK_STATUS_COMPLETED = "TASK_STATUS_COMPLETED",
46
45
  TASK_STATUS_FAILED = "TASK_STATUS_FAILED",
47
- TASK_STATUS_STOPPED = "TASK_STATUS_STOPPED",
48
46
  }
49
47
 
50
48
  export enum ResultStatus {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/infery",
3
- "version": "v0.0.0-dev-71eb8854",
3
+ "version": "v0.0.0-dev-957b9c3c",
4
4
  "description": "Infery frontend protobuf SDK",
5
5
  "license": "ISC"
6
6
  }