@yuntijs/arcadia-bff-sdk 1.2.64 → 1.2.65
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/cjs/sdk.d.ts +83 -10
- package/dist/cjs/sdk.js +52 -4
- package/dist/esm/sdk.d.ts +83 -10
- package/dist/esm/sdk.js +4 -4
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -598,9 +598,11 @@ export type CreateSftInput = {
|
|
|
598
598
|
name: Scalars['String']['input'];
|
|
599
599
|
namespace: Scalars['String']['input'];
|
|
600
600
|
params?: InputMaybe<Scalars['String']['input']>;
|
|
601
|
+
resources: ResourcesInput;
|
|
601
602
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
602
603
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
603
604
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
605
|
+
type: Scalars['String']['input'];
|
|
604
606
|
};
|
|
605
607
|
export type CreateTuningDataSetInput = {
|
|
606
608
|
/** 训练数据集的名字 */
|
|
@@ -2477,10 +2479,10 @@ export type Sft = {
|
|
|
2477
2479
|
*/
|
|
2478
2480
|
creator?: Maybe<Scalars['String']['output']>;
|
|
2479
2481
|
/**
|
|
2480
|
-
* SFT
|
|
2481
|
-
*
|
|
2482
|
+
* SFT 微调任务所使用的数据集信息
|
|
2483
|
+
* 规则:必填,可为复数
|
|
2482
2484
|
*/
|
|
2483
|
-
datasets: Array<
|
|
2485
|
+
datasets: Array<SftDataset>;
|
|
2484
2486
|
/** 描述信息 */
|
|
2485
2487
|
description?: Maybe<Scalars['String']['output']>;
|
|
2486
2488
|
/** 展示名 */
|
|
@@ -2522,19 +2524,40 @@ export type Sft = {
|
|
|
2522
2524
|
phase?: Maybe<Scalars['String']['output']>;
|
|
2523
2525
|
/** 当前阶段产生的辅助信息 */
|
|
2524
2526
|
phaseMessage?: Maybe<Scalars['String']['output']>;
|
|
2527
|
+
/** SFT 微调所使用的资源 */
|
|
2528
|
+
resources: Resources;
|
|
2525
2529
|
/** SFT 微调过程中用到的serviceAccount, 默认是default */
|
|
2526
2530
|
serviceAccountName: Scalars['String']['output'];
|
|
2527
|
-
/**
|
|
2531
|
+
/**
|
|
2532
|
+
* SFT 微调状态
|
|
2533
|
+
* 规则:状态分为以下几种:
|
|
2534
|
+
* - "preparing":微调任务准备中
|
|
2535
|
+
* - "processing":微调任务正在进行中
|
|
2536
|
+
* - "closed":微调任务流程全部结束,已关闭
|
|
2537
|
+
* - "standby":微调完成,可供测试对话或导出
|
|
2538
|
+
* - "exporting": 微调后模型合并导出中
|
|
2539
|
+
* - "failed":微调失败
|
|
2540
|
+
* - "suspended": 微调任务被终止
|
|
2541
|
+
*/
|
|
2528
2542
|
status: Scalars['String']['output'];
|
|
2529
2543
|
/** SFT 微调阶段之间需要通过pvc传递数据 */
|
|
2530
2544
|
storage: PersistentVolumeClaimSpec;
|
|
2531
2545
|
/** SFT 微调过程是否暂停,true 表示已经暂停,false 表示没有暂停 */
|
|
2532
2546
|
suspend: Scalars['Boolean']['output'];
|
|
2547
|
+
/**
|
|
2548
|
+
* SFT 微调任务的类型:
|
|
2549
|
+
* 规则:为 {"full", "lora", "qlora"} 之一
|
|
2550
|
+
*/
|
|
2551
|
+
type: Scalars['String']['output'];
|
|
2533
2552
|
};
|
|
2534
2553
|
export type SftDataset = {
|
|
2535
2554
|
__typename?: 'SFTDataset';
|
|
2536
|
-
|
|
2537
|
-
|
|
2555
|
+
/** SFT 版本数据集 ID(用于查询) */
|
|
2556
|
+
id: Scalars['String']['output'];
|
|
2557
|
+
/** SFT 数据集来源名 */
|
|
2558
|
+
source: Scalars['String']['output'];
|
|
2559
|
+
/** SFT 数据集版本 */
|
|
2560
|
+
version: Scalars['String']['output'];
|
|
2538
2561
|
};
|
|
2539
2562
|
export type SftMetric = {
|
|
2540
2563
|
__typename?: 'SFTMetric';
|
|
@@ -3045,9 +3068,11 @@ export type UpdateSftInput = {
|
|
|
3045
3068
|
name: Scalars['String']['input'];
|
|
3046
3069
|
namespace: Scalars['String']['input'];
|
|
3047
3070
|
params?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3071
|
+
resources: ResourcesInput;
|
|
3048
3072
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
3049
3073
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
3050
3074
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3075
|
+
type: Scalars['String']['input'];
|
|
3051
3076
|
};
|
|
3052
3077
|
export type UpdateVersionedDatasetInput = {
|
|
3053
3078
|
/** 传递方式同label */
|
|
@@ -7557,7 +7582,7 @@ export type ListSftQuery = {
|
|
|
7557
7582
|
description?: string | null;
|
|
7558
7583
|
creationTimestamp?: any | null;
|
|
7559
7584
|
completeTimestamp?: any | null;
|
|
7560
|
-
|
|
7585
|
+
type: string;
|
|
7561
7586
|
serviceAccountName: string;
|
|
7562
7587
|
suspend: boolean;
|
|
7563
7588
|
status: string;
|
|
@@ -7601,6 +7626,12 @@ export type ListSftQuery = {
|
|
|
7601
7626
|
displayName?: string | null;
|
|
7602
7627
|
} | null;
|
|
7603
7628
|
};
|
|
7629
|
+
datasets: Array<{
|
|
7630
|
+
__typename?: 'SFTDataset';
|
|
7631
|
+
source: string;
|
|
7632
|
+
version: string;
|
|
7633
|
+
id: string;
|
|
7634
|
+
}>;
|
|
7604
7635
|
baseModel: {
|
|
7605
7636
|
__typename?: 'TypedObjectReference';
|
|
7606
7637
|
kind: string;
|
|
@@ -7619,6 +7650,12 @@ export type ListSftQuery = {
|
|
|
7619
7650
|
metricValidValues?: Array<string | null> | null;
|
|
7620
7651
|
metricDescription: string;
|
|
7621
7652
|
}>;
|
|
7653
|
+
resources: {
|
|
7654
|
+
__typename?: 'Resources';
|
|
7655
|
+
cpu?: string | null;
|
|
7656
|
+
memory?: string | null;
|
|
7657
|
+
nvidiaGPU?: string | null;
|
|
7658
|
+
};
|
|
7622
7659
|
} | {
|
|
7623
7660
|
__typename?: 'TuningDataSet';
|
|
7624
7661
|
} | {
|
|
@@ -7656,7 +7693,7 @@ export type GetSftQuery = {
|
|
|
7656
7693
|
description?: string | null;
|
|
7657
7694
|
creationTimestamp?: any | null;
|
|
7658
7695
|
completeTimestamp?: any | null;
|
|
7659
|
-
|
|
7696
|
+
type: string;
|
|
7660
7697
|
serviceAccountName: string;
|
|
7661
7698
|
suspend: boolean;
|
|
7662
7699
|
status: string;
|
|
@@ -7700,6 +7737,12 @@ export type GetSftQuery = {
|
|
|
7700
7737
|
displayName?: string | null;
|
|
7701
7738
|
} | null;
|
|
7702
7739
|
};
|
|
7740
|
+
datasets: Array<{
|
|
7741
|
+
__typename?: 'SFTDataset';
|
|
7742
|
+
source: string;
|
|
7743
|
+
version: string;
|
|
7744
|
+
id: string;
|
|
7745
|
+
}>;
|
|
7703
7746
|
baseModel: {
|
|
7704
7747
|
__typename?: 'TypedObjectReference';
|
|
7705
7748
|
kind: string;
|
|
@@ -7718,6 +7761,12 @@ export type GetSftQuery = {
|
|
|
7718
7761
|
metricValidValues?: Array<string | null> | null;
|
|
7719
7762
|
metricDescription: string;
|
|
7720
7763
|
}>;
|
|
7764
|
+
resources: {
|
|
7765
|
+
__typename?: 'Resources';
|
|
7766
|
+
cpu?: string | null;
|
|
7767
|
+
memory?: string | null;
|
|
7768
|
+
nvidiaGPU?: string | null;
|
|
7769
|
+
};
|
|
7721
7770
|
};
|
|
7722
7771
|
} | null;
|
|
7723
7772
|
};
|
|
@@ -7759,7 +7808,7 @@ export type CreateSftMutation = {
|
|
|
7759
7808
|
description?: string | null;
|
|
7760
7809
|
creationTimestamp?: any | null;
|
|
7761
7810
|
completeTimestamp?: any | null;
|
|
7762
|
-
|
|
7811
|
+
type: string;
|
|
7763
7812
|
serviceAccountName: string;
|
|
7764
7813
|
suspend: boolean;
|
|
7765
7814
|
status: string;
|
|
@@ -7803,6 +7852,12 @@ export type CreateSftMutation = {
|
|
|
7803
7852
|
displayName?: string | null;
|
|
7804
7853
|
} | null;
|
|
7805
7854
|
};
|
|
7855
|
+
datasets: Array<{
|
|
7856
|
+
__typename?: 'SFTDataset';
|
|
7857
|
+
source: string;
|
|
7858
|
+
version: string;
|
|
7859
|
+
id: string;
|
|
7860
|
+
}>;
|
|
7806
7861
|
baseModel: {
|
|
7807
7862
|
__typename?: 'TypedObjectReference';
|
|
7808
7863
|
kind: string;
|
|
@@ -7821,6 +7876,12 @@ export type CreateSftMutation = {
|
|
|
7821
7876
|
metricValidValues?: Array<string | null> | null;
|
|
7822
7877
|
metricDescription: string;
|
|
7823
7878
|
}>;
|
|
7879
|
+
resources: {
|
|
7880
|
+
__typename?: 'Resources';
|
|
7881
|
+
cpu?: string | null;
|
|
7882
|
+
memory?: string | null;
|
|
7883
|
+
nvidiaGPU?: string | null;
|
|
7884
|
+
};
|
|
7824
7885
|
};
|
|
7825
7886
|
} | null;
|
|
7826
7887
|
};
|
|
@@ -7842,7 +7903,7 @@ export type UpdateSftMutation = {
|
|
|
7842
7903
|
description?: string | null;
|
|
7843
7904
|
creationTimestamp?: any | null;
|
|
7844
7905
|
completeTimestamp?: any | null;
|
|
7845
|
-
|
|
7906
|
+
type: string;
|
|
7846
7907
|
serviceAccountName: string;
|
|
7847
7908
|
suspend: boolean;
|
|
7848
7909
|
status: string;
|
|
@@ -7886,6 +7947,12 @@ export type UpdateSftMutation = {
|
|
|
7886
7947
|
displayName?: string | null;
|
|
7887
7948
|
} | null;
|
|
7888
7949
|
};
|
|
7950
|
+
datasets: Array<{
|
|
7951
|
+
__typename?: 'SFTDataset';
|
|
7952
|
+
source: string;
|
|
7953
|
+
version: string;
|
|
7954
|
+
id: string;
|
|
7955
|
+
}>;
|
|
7889
7956
|
baseModel: {
|
|
7890
7957
|
__typename?: 'TypedObjectReference';
|
|
7891
7958
|
kind: string;
|
|
@@ -7904,6 +7971,12 @@ export type UpdateSftMutation = {
|
|
|
7904
7971
|
metricValidValues?: Array<string | null> | null;
|
|
7905
7972
|
metricDescription: string;
|
|
7906
7973
|
}>;
|
|
7974
|
+
resources: {
|
|
7975
|
+
__typename?: 'Resources';
|
|
7976
|
+
cpu?: string | null;
|
|
7977
|
+
memory?: string | null;
|
|
7978
|
+
nvidiaGPU?: string | null;
|
|
7979
|
+
};
|
|
7907
7980
|
};
|
|
7908
7981
|
} | null;
|
|
7909
7982
|
};
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -2409,6 +2409,7 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2409
2409
|
description
|
|
2410
2410
|
creationTimestamp
|
|
2411
2411
|
completeTimestamp
|
|
2412
|
+
type
|
|
2412
2413
|
storage {
|
|
2413
2414
|
accessModes
|
|
2414
2415
|
selector {
|
|
@@ -2441,7 +2442,13 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2441
2442
|
displayName
|
|
2442
2443
|
}
|
|
2443
2444
|
}
|
|
2444
|
-
datasets
|
|
2445
|
+
datasets {
|
|
2446
|
+
... on SFTDataset {
|
|
2447
|
+
source
|
|
2448
|
+
version
|
|
2449
|
+
id
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2445
2452
|
baseModel {
|
|
2446
2453
|
kind
|
|
2447
2454
|
name
|
|
@@ -2463,6 +2470,11 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2463
2470
|
metricValidValues
|
|
2464
2471
|
metricDescription
|
|
2465
2472
|
}
|
|
2473
|
+
resources {
|
|
2474
|
+
cpu
|
|
2475
|
+
memory
|
|
2476
|
+
nvidiaGPU
|
|
2477
|
+
}
|
|
2466
2478
|
}
|
|
2467
2479
|
}
|
|
2468
2480
|
}
|
|
@@ -2482,6 +2494,7 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2482
2494
|
description
|
|
2483
2495
|
creationTimestamp
|
|
2484
2496
|
completeTimestamp
|
|
2497
|
+
type
|
|
2485
2498
|
storage {
|
|
2486
2499
|
accessModes
|
|
2487
2500
|
selector {
|
|
@@ -2514,7 +2527,13 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2514
2527
|
displayName
|
|
2515
2528
|
}
|
|
2516
2529
|
}
|
|
2517
|
-
datasets
|
|
2530
|
+
datasets {
|
|
2531
|
+
... on SFTDataset {
|
|
2532
|
+
source
|
|
2533
|
+
version
|
|
2534
|
+
id
|
|
2535
|
+
}
|
|
2536
|
+
}
|
|
2518
2537
|
baseModel {
|
|
2519
2538
|
kind
|
|
2520
2539
|
name
|
|
@@ -2536,6 +2555,11 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2536
2555
|
metricValidValues
|
|
2537
2556
|
metricDescription
|
|
2538
2557
|
}
|
|
2558
|
+
resources {
|
|
2559
|
+
cpu
|
|
2560
|
+
memory
|
|
2561
|
+
nvidiaGPU
|
|
2562
|
+
}
|
|
2539
2563
|
}
|
|
2540
2564
|
}
|
|
2541
2565
|
}
|
|
@@ -2571,6 +2595,7 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2571
2595
|
description
|
|
2572
2596
|
creationTimestamp
|
|
2573
2597
|
completeTimestamp
|
|
2598
|
+
type
|
|
2574
2599
|
storage {
|
|
2575
2600
|
accessModes
|
|
2576
2601
|
selector {
|
|
@@ -2603,7 +2628,13 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2603
2628
|
displayName
|
|
2604
2629
|
}
|
|
2605
2630
|
}
|
|
2606
|
-
datasets
|
|
2631
|
+
datasets {
|
|
2632
|
+
... on SFTDataset {
|
|
2633
|
+
source
|
|
2634
|
+
version
|
|
2635
|
+
id
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2607
2638
|
baseModel {
|
|
2608
2639
|
kind
|
|
2609
2640
|
name
|
|
@@ -2625,6 +2656,11 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2625
2656
|
metricValidValues
|
|
2626
2657
|
metricDescription
|
|
2627
2658
|
}
|
|
2659
|
+
resources {
|
|
2660
|
+
cpu
|
|
2661
|
+
memory
|
|
2662
|
+
nvidiaGPU
|
|
2663
|
+
}
|
|
2628
2664
|
}
|
|
2629
2665
|
}
|
|
2630
2666
|
}
|
|
@@ -2642,6 +2678,7 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2642
2678
|
description
|
|
2643
2679
|
creationTimestamp
|
|
2644
2680
|
completeTimestamp
|
|
2681
|
+
type
|
|
2645
2682
|
storage {
|
|
2646
2683
|
accessModes
|
|
2647
2684
|
selector {
|
|
@@ -2674,7 +2711,13 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2674
2711
|
displayName
|
|
2675
2712
|
}
|
|
2676
2713
|
}
|
|
2677
|
-
datasets
|
|
2714
|
+
datasets {
|
|
2715
|
+
... on SFTDataset {
|
|
2716
|
+
source
|
|
2717
|
+
version
|
|
2718
|
+
id
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2678
2721
|
baseModel {
|
|
2679
2722
|
kind
|
|
2680
2723
|
name
|
|
@@ -2696,6 +2739,11 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2696
2739
|
metricValidValues
|
|
2697
2740
|
metricDescription
|
|
2698
2741
|
}
|
|
2742
|
+
resources {
|
|
2743
|
+
cpu
|
|
2744
|
+
memory
|
|
2745
|
+
nvidiaGPU
|
|
2746
|
+
}
|
|
2699
2747
|
}
|
|
2700
2748
|
}
|
|
2701
2749
|
}
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -598,9 +598,11 @@ export type CreateSftInput = {
|
|
|
598
598
|
name: Scalars['String']['input'];
|
|
599
599
|
namespace: Scalars['String']['input'];
|
|
600
600
|
params?: InputMaybe<Scalars['String']['input']>;
|
|
601
|
+
resources: ResourcesInput;
|
|
601
602
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
602
603
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
603
604
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
605
|
+
type: Scalars['String']['input'];
|
|
604
606
|
};
|
|
605
607
|
export type CreateTuningDataSetInput = {
|
|
606
608
|
/** 训练数据集的名字 */
|
|
@@ -2477,10 +2479,10 @@ export type Sft = {
|
|
|
2477
2479
|
*/
|
|
2478
2480
|
creator?: Maybe<Scalars['String']['output']>;
|
|
2479
2481
|
/**
|
|
2480
|
-
* SFT
|
|
2481
|
-
*
|
|
2482
|
+
* SFT 微调任务所使用的数据集信息
|
|
2483
|
+
* 规则:必填,可为复数
|
|
2482
2484
|
*/
|
|
2483
|
-
datasets: Array<
|
|
2485
|
+
datasets: Array<SftDataset>;
|
|
2484
2486
|
/** 描述信息 */
|
|
2485
2487
|
description?: Maybe<Scalars['String']['output']>;
|
|
2486
2488
|
/** 展示名 */
|
|
@@ -2522,19 +2524,40 @@ export type Sft = {
|
|
|
2522
2524
|
phase?: Maybe<Scalars['String']['output']>;
|
|
2523
2525
|
/** 当前阶段产生的辅助信息 */
|
|
2524
2526
|
phaseMessage?: Maybe<Scalars['String']['output']>;
|
|
2527
|
+
/** SFT 微调所使用的资源 */
|
|
2528
|
+
resources: Resources;
|
|
2525
2529
|
/** SFT 微调过程中用到的serviceAccount, 默认是default */
|
|
2526
2530
|
serviceAccountName: Scalars['String']['output'];
|
|
2527
|
-
/**
|
|
2531
|
+
/**
|
|
2532
|
+
* SFT 微调状态
|
|
2533
|
+
* 规则:状态分为以下几种:
|
|
2534
|
+
* - "preparing":微调任务准备中
|
|
2535
|
+
* - "processing":微调任务正在进行中
|
|
2536
|
+
* - "closed":微调任务流程全部结束,已关闭
|
|
2537
|
+
* - "standby":微调完成,可供测试对话或导出
|
|
2538
|
+
* - "exporting": 微调后模型合并导出中
|
|
2539
|
+
* - "failed":微调失败
|
|
2540
|
+
* - "suspended": 微调任务被终止
|
|
2541
|
+
*/
|
|
2528
2542
|
status: Scalars['String']['output'];
|
|
2529
2543
|
/** SFT 微调阶段之间需要通过pvc传递数据 */
|
|
2530
2544
|
storage: PersistentVolumeClaimSpec;
|
|
2531
2545
|
/** SFT 微调过程是否暂停,true 表示已经暂停,false 表示没有暂停 */
|
|
2532
2546
|
suspend: Scalars['Boolean']['output'];
|
|
2547
|
+
/**
|
|
2548
|
+
* SFT 微调任务的类型:
|
|
2549
|
+
* 规则:为 {"full", "lora", "qlora"} 之一
|
|
2550
|
+
*/
|
|
2551
|
+
type: Scalars['String']['output'];
|
|
2533
2552
|
};
|
|
2534
2553
|
export type SftDataset = {
|
|
2535
2554
|
__typename?: 'SFTDataset';
|
|
2536
|
-
|
|
2537
|
-
|
|
2555
|
+
/** SFT 版本数据集 ID(用于查询) */
|
|
2556
|
+
id: Scalars['String']['output'];
|
|
2557
|
+
/** SFT 数据集来源名 */
|
|
2558
|
+
source: Scalars['String']['output'];
|
|
2559
|
+
/** SFT 数据集版本 */
|
|
2560
|
+
version: Scalars['String']['output'];
|
|
2538
2561
|
};
|
|
2539
2562
|
export type SftMetric = {
|
|
2540
2563
|
__typename?: 'SFTMetric';
|
|
@@ -3045,9 +3068,11 @@ export type UpdateSftInput = {
|
|
|
3045
3068
|
name: Scalars['String']['input'];
|
|
3046
3069
|
namespace: Scalars['String']['input'];
|
|
3047
3070
|
params?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3071
|
+
resources: ResourcesInput;
|
|
3048
3072
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
3049
3073
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
3050
3074
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3075
|
+
type: Scalars['String']['input'];
|
|
3051
3076
|
};
|
|
3052
3077
|
export type UpdateVersionedDatasetInput = {
|
|
3053
3078
|
/** 传递方式同label */
|
|
@@ -7557,7 +7582,7 @@ export type ListSftQuery = {
|
|
|
7557
7582
|
description?: string | null;
|
|
7558
7583
|
creationTimestamp?: any | null;
|
|
7559
7584
|
completeTimestamp?: any | null;
|
|
7560
|
-
|
|
7585
|
+
type: string;
|
|
7561
7586
|
serviceAccountName: string;
|
|
7562
7587
|
suspend: boolean;
|
|
7563
7588
|
status: string;
|
|
@@ -7601,6 +7626,12 @@ export type ListSftQuery = {
|
|
|
7601
7626
|
displayName?: string | null;
|
|
7602
7627
|
} | null;
|
|
7603
7628
|
};
|
|
7629
|
+
datasets: Array<{
|
|
7630
|
+
__typename?: 'SFTDataset';
|
|
7631
|
+
source: string;
|
|
7632
|
+
version: string;
|
|
7633
|
+
id: string;
|
|
7634
|
+
}>;
|
|
7604
7635
|
baseModel: {
|
|
7605
7636
|
__typename?: 'TypedObjectReference';
|
|
7606
7637
|
kind: string;
|
|
@@ -7619,6 +7650,12 @@ export type ListSftQuery = {
|
|
|
7619
7650
|
metricValidValues?: Array<string | null> | null;
|
|
7620
7651
|
metricDescription: string;
|
|
7621
7652
|
}>;
|
|
7653
|
+
resources: {
|
|
7654
|
+
__typename?: 'Resources';
|
|
7655
|
+
cpu?: string | null;
|
|
7656
|
+
memory?: string | null;
|
|
7657
|
+
nvidiaGPU?: string | null;
|
|
7658
|
+
};
|
|
7622
7659
|
} | {
|
|
7623
7660
|
__typename?: 'TuningDataSet';
|
|
7624
7661
|
} | {
|
|
@@ -7656,7 +7693,7 @@ export type GetSftQuery = {
|
|
|
7656
7693
|
description?: string | null;
|
|
7657
7694
|
creationTimestamp?: any | null;
|
|
7658
7695
|
completeTimestamp?: any | null;
|
|
7659
|
-
|
|
7696
|
+
type: string;
|
|
7660
7697
|
serviceAccountName: string;
|
|
7661
7698
|
suspend: boolean;
|
|
7662
7699
|
status: string;
|
|
@@ -7700,6 +7737,12 @@ export type GetSftQuery = {
|
|
|
7700
7737
|
displayName?: string | null;
|
|
7701
7738
|
} | null;
|
|
7702
7739
|
};
|
|
7740
|
+
datasets: Array<{
|
|
7741
|
+
__typename?: 'SFTDataset';
|
|
7742
|
+
source: string;
|
|
7743
|
+
version: string;
|
|
7744
|
+
id: string;
|
|
7745
|
+
}>;
|
|
7703
7746
|
baseModel: {
|
|
7704
7747
|
__typename?: 'TypedObjectReference';
|
|
7705
7748
|
kind: string;
|
|
@@ -7718,6 +7761,12 @@ export type GetSftQuery = {
|
|
|
7718
7761
|
metricValidValues?: Array<string | null> | null;
|
|
7719
7762
|
metricDescription: string;
|
|
7720
7763
|
}>;
|
|
7764
|
+
resources: {
|
|
7765
|
+
__typename?: 'Resources';
|
|
7766
|
+
cpu?: string | null;
|
|
7767
|
+
memory?: string | null;
|
|
7768
|
+
nvidiaGPU?: string | null;
|
|
7769
|
+
};
|
|
7721
7770
|
};
|
|
7722
7771
|
} | null;
|
|
7723
7772
|
};
|
|
@@ -7759,7 +7808,7 @@ export type CreateSftMutation = {
|
|
|
7759
7808
|
description?: string | null;
|
|
7760
7809
|
creationTimestamp?: any | null;
|
|
7761
7810
|
completeTimestamp?: any | null;
|
|
7762
|
-
|
|
7811
|
+
type: string;
|
|
7763
7812
|
serviceAccountName: string;
|
|
7764
7813
|
suspend: boolean;
|
|
7765
7814
|
status: string;
|
|
@@ -7803,6 +7852,12 @@ export type CreateSftMutation = {
|
|
|
7803
7852
|
displayName?: string | null;
|
|
7804
7853
|
} | null;
|
|
7805
7854
|
};
|
|
7855
|
+
datasets: Array<{
|
|
7856
|
+
__typename?: 'SFTDataset';
|
|
7857
|
+
source: string;
|
|
7858
|
+
version: string;
|
|
7859
|
+
id: string;
|
|
7860
|
+
}>;
|
|
7806
7861
|
baseModel: {
|
|
7807
7862
|
__typename?: 'TypedObjectReference';
|
|
7808
7863
|
kind: string;
|
|
@@ -7821,6 +7876,12 @@ export type CreateSftMutation = {
|
|
|
7821
7876
|
metricValidValues?: Array<string | null> | null;
|
|
7822
7877
|
metricDescription: string;
|
|
7823
7878
|
}>;
|
|
7879
|
+
resources: {
|
|
7880
|
+
__typename?: 'Resources';
|
|
7881
|
+
cpu?: string | null;
|
|
7882
|
+
memory?: string | null;
|
|
7883
|
+
nvidiaGPU?: string | null;
|
|
7884
|
+
};
|
|
7824
7885
|
};
|
|
7825
7886
|
} | null;
|
|
7826
7887
|
};
|
|
@@ -7842,7 +7903,7 @@ export type UpdateSftMutation = {
|
|
|
7842
7903
|
description?: string | null;
|
|
7843
7904
|
creationTimestamp?: any | null;
|
|
7844
7905
|
completeTimestamp?: any | null;
|
|
7845
|
-
|
|
7906
|
+
type: string;
|
|
7846
7907
|
serviceAccountName: string;
|
|
7847
7908
|
suspend: boolean;
|
|
7848
7909
|
status: string;
|
|
@@ -7886,6 +7947,12 @@ export type UpdateSftMutation = {
|
|
|
7886
7947
|
displayName?: string | null;
|
|
7887
7948
|
} | null;
|
|
7888
7949
|
};
|
|
7950
|
+
datasets: Array<{
|
|
7951
|
+
__typename?: 'SFTDataset';
|
|
7952
|
+
source: string;
|
|
7953
|
+
version: string;
|
|
7954
|
+
id: string;
|
|
7955
|
+
}>;
|
|
7889
7956
|
baseModel: {
|
|
7890
7957
|
__typename?: 'TypedObjectReference';
|
|
7891
7958
|
kind: string;
|
|
@@ -7904,6 +7971,12 @@ export type UpdateSftMutation = {
|
|
|
7904
7971
|
metricValidValues?: Array<string | null> | null;
|
|
7905
7972
|
metricDescription: string;
|
|
7906
7973
|
}>;
|
|
7974
|
+
resources: {
|
|
7975
|
+
__typename?: 'Resources';
|
|
7976
|
+
cpu?: string | null;
|
|
7977
|
+
memory?: string | null;
|
|
7978
|
+
nvidiaGPU?: string | null;
|
|
7979
|
+
};
|
|
7907
7980
|
};
|
|
7908
7981
|
} | null;
|
|
7909
7982
|
};
|
package/dist/esm/sdk.js
CHANGED
|
@@ -253,11 +253,11 @@ export var UpdateContentDocument = gql(_templateObject95 || (_templateObject95 =
|
|
|
253
253
|
export var DeleteContentDocument = gql(_templateObject96 || (_templateObject96 = _taggedTemplateLiteral(["\n mutation deleteContent($contentIDs: [String!]) {\n TuningDataSet {\n deleteContent(contentIDs: $contentIDs)\n }\n}\n "])));
|
|
254
254
|
export var DeleteVersionAllContentDocument = gql(_templateObject97 || (_templateObject97 = _taggedTemplateLiteral(["\n mutation deleteVersionAllContent($id: String!) {\n TuningDataSet {\n deleteVersionAllContent(id: $id)\n }\n}\n "])));
|
|
255
255
|
export var LoadVersionFilesDocument = gql(_templateObject98 || (_templateObject98 = _taggedTemplateLiteral(["\n mutation loadVersionFiles($id: String!, $files: [String!]) {\n TuningDataSet {\n loadVersionFiles(id: $id, files: $files)\n }\n}\n "])));
|
|
256
|
-
export var ListSftDocument = gql(_templateObject99 || (_templateObject99 = _taggedTemplateLiteral(["\n query listSFT($input: ListCommonInput!) {\n SFT {\n listSFT(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on SFT {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n }\n }\n }\n }\n}\n "])));
|
|
257
|
-
export var GetSftDocument = gql(_templateObject100 || (_templateObject100 = _taggedTemplateLiteral(["\n query getSFT($name: String!, $namespace: String!) {\n SFT {\n getSFT(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n }\n }\n}\n "])));
|
|
256
|
+
export var ListSftDocument = gql(_templateObject99 || (_templateObject99 = _taggedTemplateLiteral(["\n query listSFT($input: ListCommonInput!) {\n SFT {\n listSFT(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on SFT {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n }\n }\n}\n "])));
|
|
257
|
+
export var GetSftDocument = gql(_templateObject100 || (_templateObject100 = _taggedTemplateLiteral(["\n query getSFT($name: String!, $namespace: String!) {\n SFT {\n getSFT(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n}\n "])));
|
|
258
258
|
export var ListSftMetricDocument = gql(_templateObject101 || (_templateObject101 = _taggedTemplateLiteral(["\n query listSFTMetric($kind: String!) {\n SFT {\n listSFTMetric(kind: $kind) {\n ... on SFTMetric {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n }\n }\n}\n "])));
|
|
259
|
-
export var CreateSftDocument = gql(_templateObject102 || (_templateObject102 = _taggedTemplateLiteral(["\n mutation createSFT($input: CreateSFTInput!) {\n SFT {\n createSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n }\n }\n}\n "])));
|
|
260
|
-
export var UpdateSftDocument = gql(_templateObject103 || (_templateObject103 = _taggedTemplateLiteral(["\n mutation updateSFT($input: UpdateSFTInput!) {\n SFT {\n updateSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n }\n }\n}\n "])));
|
|
259
|
+
export var CreateSftDocument = gql(_templateObject102 || (_templateObject102 = _taggedTemplateLiteral(["\n mutation createSFT($input: CreateSFTInput!) {\n SFT {\n createSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n}\n "])));
|
|
260
|
+
export var UpdateSftDocument = gql(_templateObject103 || (_templateObject103 = _taggedTemplateLiteral(["\n mutation updateSFT($input: UpdateSFTInput!) {\n SFT {\n updateSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n}\n "])));
|
|
261
261
|
export var DeleteSftDocument = gql(_templateObject104 || (_templateObject104 = _taggedTemplateLiteral(["\n mutation deleteSFT($input: DeleteCommonInput!) {\n SFT {\n deleteSFT(input: $input)\n }\n}\n "])));
|
|
262
262
|
export var ExportSftDocument = gql(_templateObject105 || (_templateObject105 = _taggedTemplateLiteral(["\n mutation exportSFT($name: String!, $namespace: String!) {\n SFT {\n exportSFT(name: $name, namespace: $namespace)\n }\n}\n "])));
|
|
263
263
|
export var CreateVersionedDatasetDocument = gql(_templateObject106 || (_templateObject106 = _taggedTemplateLiteral(["\n mutation createVersionedDataset($input: CreateVersionedDatasetInput!) {\n VersionedDataset {\n createVersionedDataset(input: $input) {\n name\n displayName\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n dataProcessStatus\n }\n }\n}\n "])));
|