tccli 3.0.1296.1__py2.py3-none-any.whl → 3.0.1298.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/antiddos/v20200309/api.json +2 -2
- tccli/services/batch/v20170312/api.json +9 -8
- tccli/services/cbs/v20170312/api.json +1 -1
- tccli/services/ccc/ccc_client.py +230 -18
- tccli/services/ccc/v20200210/api.json +363 -0
- tccli/services/ccc/v20200210/examples.json +32 -0
- tccli/services/cls/cls_client.py +235 -23
- tccli/services/cls/v20201016/api.json +457 -3
- tccli/services/cls/v20201016/examples.json +32 -0
- tccli/services/cme/v20191029/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +97 -77
- tccli/services/dbbrain/v20191016/api.json +146 -6
- tccli/services/dbbrain/v20210527/api.json +156 -20
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +162 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dnspod/v20210323/api.json +105 -88
- tccli/services/dnspod/v20210323/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +2 -2
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +5 -5
- tccli/services/gs/gs_client.py +53 -0
- tccli/services/gs/v20191118/api.json +63 -0
- tccli/services/gs/v20191118/examples.json +9 -1
- tccli/services/hai/v20230812/api.json +16 -16
- tccli/services/iotcloud/v20210408/api.json +13 -17
- tccli/services/iotcloud/v20210408/examples.json +3 -3
- tccli/services/iotexplorer/v20190423/api.json +398 -341
- tccli/services/iotexplorer/v20190423/examples.json +50 -50
- tccli/services/iss/iss_client.py +411 -305
- tccli/services/iss/v20230517/api.json +236 -0
- tccli/services/iss/v20230517/examples.json +16 -0
- tccli/services/lighthouse/v20200324/api.json +3 -3
- tccli/services/live/v20180801/api.json +2 -2
- tccli/services/lke/v20231130/api.json +34 -1
- tccli/services/mps/v20190612/api.json +55 -53
- tccli/services/mps/v20190612/examples.json +40 -40
- tccli/services/mqtt/v20240516/api.json +56 -6
- tccli/services/mqtt/v20240516/examples.json +6 -6
- tccli/services/ocr/v20181119/api.json +73 -3
- tccli/services/partners/v20180321/api.json +10 -0
- tccli/services/rce/v20201103/api.json +0 -9
- tccli/services/rce/v20201103/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +36 -6
- tccli/services/teo/v20220901/api.json +48 -7
- tccli/services/teo/v20220901/examples.json +51 -15
- tccli/services/tione/tione_client.py +220 -8
- tccli/services/tione/v20211111/api.json +359 -0
- tccli/services/tione/v20211111/examples.json +32 -0
- tccli/services/tke/v20180525/api.json +2 -2
- tccli/services/trro/trro_client.py +269 -4
- tccli/services/trro/v20220325/api.json +504 -0
- tccli/services/trro/v20220325/examples.json +40 -0
- tccli/services/trtc/v20190722/api.json +10 -1
- tccli/services/vdb/v20230616/api.json +738 -15
- tccli/services/vdb/v20230616/examples.json +64 -0
- tccli/services/vdb/vdb_client.py +428 -4
- tccli/services/vod/v20180717/api.json +13 -4
- tccli/services/vod/v20180717/examples.json +4 -4
- tccli/services/vod/v20240718/api.json +985 -0
- tccli/services/vod/v20240718/examples.json +66 -0
- tccli/services/vod/vod_client.py +330 -12
- tccli/services/wedata/v20210820/api.json +453 -0
- tccli/services/wedata/v20210820/examples.json +22 -0
- tccli/services/wedata/wedata_client.py +114 -8
- tccli/services/weilingwith/v20230427/api.json +10 -10
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/RECORD +73 -73
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/license_files/LICENSE +0 -0
@@ -42,6 +42,13 @@
|
|
42
42
|
"output": "CreateTrainingModelResponse",
|
43
43
|
"status": "online"
|
44
44
|
},
|
45
|
+
"CreateTrainingTask": {
|
46
|
+
"document": "创建模型训练任务",
|
47
|
+
"input": "CreateTrainingTaskRequest",
|
48
|
+
"name": "创建模型训练任务",
|
49
|
+
"output": "CreateTrainingTaskResponse",
|
50
|
+
"status": "online"
|
51
|
+
},
|
45
52
|
"DeleteDataset": {
|
46
53
|
"document": "删除数据集",
|
47
54
|
"input": "DeleteDatasetRequest",
|
@@ -84,6 +91,13 @@
|
|
84
91
|
"output": "DeleteTrainingModelVersionResponse",
|
85
92
|
"status": "online"
|
86
93
|
},
|
94
|
+
"DeleteTrainingTask": {
|
95
|
+
"document": "删除训练任务",
|
96
|
+
"input": "DeleteTrainingTaskRequest",
|
97
|
+
"name": "删除训练任务",
|
98
|
+
"output": "DeleteTrainingTaskResponse",
|
99
|
+
"status": "online"
|
100
|
+
},
|
87
101
|
"DescribeBillingResourceGroup": {
|
88
102
|
"document": "查询资源组节点列表",
|
89
103
|
"input": "DescribeBillingResourceGroupRequest",
|
@@ -259,6 +273,13 @@
|
|
259
273
|
"output": "StartNotebookResponse",
|
260
274
|
"status": "online"
|
261
275
|
},
|
276
|
+
"StartTrainingTask": {
|
277
|
+
"document": "启动模型训练任务",
|
278
|
+
"input": "StartTrainingTaskRequest",
|
279
|
+
"name": "启动模型训练任务",
|
280
|
+
"output": "StartTrainingTaskResponse",
|
281
|
+
"status": "online"
|
282
|
+
},
|
262
283
|
"StopModelAccelerateTask": {
|
263
284
|
"document": "停止模型加速任务",
|
264
285
|
"input": "StopModelAccelerateTaskRequest",
|
@@ -272,6 +293,13 @@
|
|
272
293
|
"name": "停止Notebook",
|
273
294
|
"output": "StopNotebookResponse",
|
274
295
|
"status": "online"
|
296
|
+
},
|
297
|
+
"StopTrainingTask": {
|
298
|
+
"document": "停止模型训练任务",
|
299
|
+
"input": "StopTrainingTaskRequest",
|
300
|
+
"name": "停止模型训练任务",
|
301
|
+
"output": "StopTrainingTaskResponse",
|
302
|
+
"status": "online"
|
275
303
|
}
|
276
304
|
},
|
277
305
|
"metadata": {
|
@@ -1728,6 +1756,241 @@
|
|
1728
1756
|
],
|
1729
1757
|
"type": "object"
|
1730
1758
|
},
|
1759
|
+
"CreateTrainingTaskRequest": {
|
1760
|
+
"document": "CreateTrainingTask请求参数结构体",
|
1761
|
+
"members": [
|
1762
|
+
{
|
1763
|
+
"disabled": false,
|
1764
|
+
"document": "训练任务名称,不超过60个字符,仅支持中英文、数字、下划线\"_\"、短横\"-\",只能以中英文、数字开头",
|
1765
|
+
"example": "TaskName",
|
1766
|
+
"member": "string",
|
1767
|
+
"name": "Name",
|
1768
|
+
"required": true,
|
1769
|
+
"type": "string"
|
1770
|
+
},
|
1771
|
+
{
|
1772
|
+
"disabled": false,
|
1773
|
+
"document": "计费模式,eg:PREPAID 包年包月(资源组);\nPOSTPAID_BY_HOUR 按量计费",
|
1774
|
+
"example": "PREPAID",
|
1775
|
+
"member": "string",
|
1776
|
+
"name": "ChargeType",
|
1777
|
+
"required": true,
|
1778
|
+
"type": "string"
|
1779
|
+
},
|
1780
|
+
{
|
1781
|
+
"disabled": false,
|
1782
|
+
"document": "资源配置,需填写对应算力规格ID和节点数量,算力规格ID查询接口为DescribeBillingSpecsPrice,eg:[{\"Role\":\"WORKER\", \"InstanceType\": \"TI.S.MEDIUM.POST\", \"InstanceNum\": 1}]",
|
1783
|
+
"example": "[ { \"Role\": \"WORKER\", \"Cpu\": 1000, \"Memory\": 1024, \"GpuType\": \"\", \"Gpu\": 0, \"InstanceNum\": 1 } ]",
|
1784
|
+
"member": "ResourceConfigInfo",
|
1785
|
+
"name": "ResourceConfigInfos",
|
1786
|
+
"required": true,
|
1787
|
+
"type": "list"
|
1788
|
+
},
|
1789
|
+
{
|
1790
|
+
"disabled": false,
|
1791
|
+
"document": "训练框架名称,通过DescribeTrainingFrameworks接口查询,eg:SPARK、PYSPARK、TENSORFLOW、PYTORCH",
|
1792
|
+
"example": "TENSORFLOW",
|
1793
|
+
"member": "string",
|
1794
|
+
"name": "FrameworkName",
|
1795
|
+
"required": false,
|
1796
|
+
"type": "string"
|
1797
|
+
},
|
1798
|
+
{
|
1799
|
+
"disabled": false,
|
1800
|
+
"document": "训练框架版本,通过DescribeTrainingFrameworks接口查询,eg:1.15、1.9",
|
1801
|
+
"example": "1.15",
|
1802
|
+
"member": "string",
|
1803
|
+
"name": "FrameworkVersion",
|
1804
|
+
"required": false,
|
1805
|
+
"type": "string"
|
1806
|
+
},
|
1807
|
+
{
|
1808
|
+
"disabled": false,
|
1809
|
+
"document": "训练框架环境,通过DescribeTrainingFrameworks接口查询,eg:tf1.15-py3.7-cpu、torch1.9-py3.8-cuda11.1-gpu",
|
1810
|
+
"example": "tf1.15-py3.7-cpu",
|
1811
|
+
"member": "string",
|
1812
|
+
"name": "FrameworkEnvironment",
|
1813
|
+
"required": false,
|
1814
|
+
"type": "string"
|
1815
|
+
},
|
1816
|
+
{
|
1817
|
+
"disabled": false,
|
1818
|
+
"document": "预付费专用资源组ID,通过DescribeBillingResourceGroups接口查询",
|
1819
|
+
"example": "test",
|
1820
|
+
"member": "string",
|
1821
|
+
"name": "ResourceGroupId",
|
1822
|
+
"required": false,
|
1823
|
+
"type": "string"
|
1824
|
+
},
|
1825
|
+
{
|
1826
|
+
"disabled": false,
|
1827
|
+
"document": "标签配置",
|
1828
|
+
"example": "[ { \"TagKey\": \"test_key\", \"TagValue\": \"test_value\" } ]",
|
1829
|
+
"member": "Tag",
|
1830
|
+
"name": "Tags",
|
1831
|
+
"required": false,
|
1832
|
+
"type": "list"
|
1833
|
+
},
|
1834
|
+
{
|
1835
|
+
"disabled": false,
|
1836
|
+
"document": "自定义镜像信息",
|
1837
|
+
"example": "{ \"ImageType\": \"TCR\", \"ImageUrl\": \"tione-live.tencentcloudcr.com/llm_picture/llm_picture_image:v1\", \"RegistryRegion\": \"ap-shanghai\", \"RegistryId\": \"tcr-f40c5gin\" }",
|
1838
|
+
"member": "ImageInfo",
|
1839
|
+
"name": "ImageInfo",
|
1840
|
+
"required": false,
|
1841
|
+
"type": "object"
|
1842
|
+
},
|
1843
|
+
{
|
1844
|
+
"disabled": false,
|
1845
|
+
"document": "COS代码包路径",
|
1846
|
+
"example": "{ \"Bucket\": \"\", \"Region\": \"\", \"Paths\": [] }",
|
1847
|
+
"member": "CosPathInfo",
|
1848
|
+
"name": "CodePackagePath",
|
1849
|
+
"required": false,
|
1850
|
+
"type": "object"
|
1851
|
+
},
|
1852
|
+
{
|
1853
|
+
"disabled": false,
|
1854
|
+
"document": "任务的启动命令,按任务训练模式输入,如遇特殊字符导致配置失败,可使用EncodedStartCmdInfo参数",
|
1855
|
+
"example": "{\"StartCmd\":\"bash start.sh\"}",
|
1856
|
+
"member": "StartCmdInfo",
|
1857
|
+
"name": "StartCmdInfo",
|
1858
|
+
"required": false,
|
1859
|
+
"type": "object"
|
1860
|
+
},
|
1861
|
+
{
|
1862
|
+
"disabled": false,
|
1863
|
+
"document": "训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD",
|
1864
|
+
"example": "PS_WORKER",
|
1865
|
+
"member": "string",
|
1866
|
+
"name": "TrainingMode",
|
1867
|
+
"required": false,
|
1868
|
+
"type": "string"
|
1869
|
+
},
|
1870
|
+
{
|
1871
|
+
"disabled": false,
|
1872
|
+
"document": "数据配置,依赖DataSource字段,数量不超过10个",
|
1873
|
+
"example": "[ { \"DataSourceType\": \"CFS\", \"DataSourceUsage\": \"\", \"MappingPath\": \"/opt/ml/input/data/\", \"CFSSource\": { \"Id\": \"cfs-2v0cr9jr\", \"Path\": \"/\" } } ]",
|
1874
|
+
"member": "DataConfig",
|
1875
|
+
"name": "DataConfigs",
|
1876
|
+
"required": false,
|
1877
|
+
"type": "list"
|
1878
|
+
},
|
1879
|
+
{
|
1880
|
+
"disabled": false,
|
1881
|
+
"document": "VPC Id",
|
1882
|
+
"example": "vpc-xxxxx",
|
1883
|
+
"member": "string",
|
1884
|
+
"name": "VpcId",
|
1885
|
+
"required": false,
|
1886
|
+
"type": "string"
|
1887
|
+
},
|
1888
|
+
{
|
1889
|
+
"disabled": false,
|
1890
|
+
"document": "子网Id",
|
1891
|
+
"example": "subnet-xxxx",
|
1892
|
+
"member": "string",
|
1893
|
+
"name": "SubnetId",
|
1894
|
+
"required": false,
|
1895
|
+
"type": "string"
|
1896
|
+
},
|
1897
|
+
{
|
1898
|
+
"disabled": false,
|
1899
|
+
"document": "COS训练输出路径",
|
1900
|
+
"example": "{ \"Bucket\": \"\", \"Region\": \"\", \"Paths\": [] }",
|
1901
|
+
"member": "CosPathInfo",
|
1902
|
+
"name": "Output",
|
1903
|
+
"required": false,
|
1904
|
+
"type": "object"
|
1905
|
+
},
|
1906
|
+
{
|
1907
|
+
"disabled": false,
|
1908
|
+
"document": "CLS日志配置",
|
1909
|
+
"example": "{ \"LogsetId\": \"6c517622-a734-4d99-bfb8-1008c46d1108\", \"TopicId\": \"3cfb6994-e3e9-4085-a624-a654245de6c5\" }",
|
1910
|
+
"member": "LogConfig",
|
1911
|
+
"name": "LogConfig",
|
1912
|
+
"required": false,
|
1913
|
+
"type": "object"
|
1914
|
+
},
|
1915
|
+
{
|
1916
|
+
"disabled": false,
|
1917
|
+
"document": "调优参数,不超过2048个字符",
|
1918
|
+
"example": "{\"TrainMode\":\"DDP\"}",
|
1919
|
+
"member": "string",
|
1920
|
+
"name": "TuningParameters",
|
1921
|
+
"required": false,
|
1922
|
+
"type": "string"
|
1923
|
+
},
|
1924
|
+
{
|
1925
|
+
"disabled": false,
|
1926
|
+
"document": "是否上报日志",
|
1927
|
+
"example": "true",
|
1928
|
+
"member": "bool",
|
1929
|
+
"name": "LogEnable",
|
1930
|
+
"required": false,
|
1931
|
+
"type": "bool"
|
1932
|
+
},
|
1933
|
+
{
|
1934
|
+
"disabled": false,
|
1935
|
+
"document": "备注,不超过1024个字符",
|
1936
|
+
"example": "\"Remark\"",
|
1937
|
+
"member": "string",
|
1938
|
+
"name": "Remark",
|
1939
|
+
"required": false,
|
1940
|
+
"type": "string"
|
1941
|
+
},
|
1942
|
+
{
|
1943
|
+
"disabled": false,
|
1944
|
+
"document": "数据来源,eg:DATASET、COS、CFS、CFSTurbo、HDFS、GooseFSx",
|
1945
|
+
"example": "DATASET",
|
1946
|
+
"member": "string",
|
1947
|
+
"name": "DataSource",
|
1948
|
+
"required": false,
|
1949
|
+
"type": "string"
|
1950
|
+
},
|
1951
|
+
{
|
1952
|
+
"disabled": false,
|
1953
|
+
"document": "回调地址,用于创建/启动/停止训练任务的异步回调。回调格式&内容详见:[[TI-ONE接口回调说明]](https://cloud.tencent.com/document/product/851/84292)",
|
1954
|
+
"example": "无",
|
1955
|
+
"member": "string",
|
1956
|
+
"name": "CallbackUrl",
|
1957
|
+
"required": false,
|
1958
|
+
"type": "string"
|
1959
|
+
},
|
1960
|
+
{
|
1961
|
+
"disabled": false,
|
1962
|
+
"document": "编码后的任务启动命令,与StartCmdInfo同时配置时,仅当前参数生效",
|
1963
|
+
"example": "{ \"StartCmdInfo\": \"eyJXb3JrZXJTdGFydENtZCI6InNsZWVwIDEwMDAifQ==\" }",
|
1964
|
+
"member": "EncodedStartCmdInfo",
|
1965
|
+
"name": "EncodedStartCmdInfo",
|
1966
|
+
"required": false,
|
1967
|
+
"type": "object"
|
1968
|
+
}
|
1969
|
+
],
|
1970
|
+
"type": "object"
|
1971
|
+
},
|
1972
|
+
"CreateTrainingTaskResponse": {
|
1973
|
+
"document": "CreateTrainingTask返回参数结构体",
|
1974
|
+
"members": [
|
1975
|
+
{
|
1976
|
+
"disabled": false,
|
1977
|
+
"document": "训练任务ID",
|
1978
|
+
"example": "12312313",
|
1979
|
+
"member": "string",
|
1980
|
+
"name": "Id",
|
1981
|
+
"output_required": true,
|
1982
|
+
"type": "string",
|
1983
|
+
"value_allowed_null": false
|
1984
|
+
},
|
1985
|
+
{
|
1986
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1987
|
+
"member": "string",
|
1988
|
+
"name": "RequestId",
|
1989
|
+
"type": "string"
|
1990
|
+
}
|
1991
|
+
],
|
1992
|
+
"type": "object"
|
1993
|
+
},
|
1731
1994
|
"CronScaleJob": {
|
1732
1995
|
"document": "定时扩缩任务",
|
1733
1996
|
"members": [
|
@@ -2934,6 +3197,33 @@
|
|
2934
3197
|
],
|
2935
3198
|
"type": "object"
|
2936
3199
|
},
|
3200
|
+
"DeleteTrainingTaskRequest": {
|
3201
|
+
"document": "DeleteTrainingTask请求参数结构体",
|
3202
|
+
"members": [
|
3203
|
+
{
|
3204
|
+
"disabled": false,
|
3205
|
+
"document": "训练任务ID",
|
3206
|
+
"example": "train-123311",
|
3207
|
+
"member": "string",
|
3208
|
+
"name": "Id",
|
3209
|
+
"required": true,
|
3210
|
+
"type": "string"
|
3211
|
+
}
|
3212
|
+
],
|
3213
|
+
"type": "object"
|
3214
|
+
},
|
3215
|
+
"DeleteTrainingTaskResponse": {
|
3216
|
+
"document": "DeleteTrainingTask返回参数结构体",
|
3217
|
+
"members": [
|
3218
|
+
{
|
3219
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3220
|
+
"member": "string",
|
3221
|
+
"name": "RequestId",
|
3222
|
+
"type": "string"
|
3223
|
+
}
|
3224
|
+
],
|
3225
|
+
"type": "object"
|
3226
|
+
},
|
2937
3227
|
"DescribeBillingResourceGroupRequest": {
|
2938
3228
|
"document": "DescribeBillingResourceGroup请求参数结构体",
|
2939
3229
|
"members": [
|
@@ -4379,6 +4669,21 @@
|
|
4379
4669
|
],
|
4380
4670
|
"type": "object"
|
4381
4671
|
},
|
4672
|
+
"EncodedStartCmdInfo": {
|
4673
|
+
"document": "编码后的启动命令信息",
|
4674
|
+
"members": [
|
4675
|
+
{
|
4676
|
+
"disabled": false,
|
4677
|
+
"document": "任务的启动命令,以base64格式输入,注意转换时需要完整输入{\"StartCmd\":\"\",\"PsStartCmd\":\"\",\"WorkerStartCmd\":\"\"}",
|
4678
|
+
"example": "无",
|
4679
|
+
"member": "string",
|
4680
|
+
"name": "StartCmdInfo",
|
4681
|
+
"required": false,
|
4682
|
+
"type": "string"
|
4683
|
+
}
|
4684
|
+
],
|
4685
|
+
"usage": "in"
|
4686
|
+
},
|
4382
4687
|
"EnvVar": {
|
4383
4688
|
"document": "环境变量",
|
4384
4689
|
"members": [
|
@@ -9490,6 +9795,33 @@
|
|
9490
9795
|
],
|
9491
9796
|
"type": "object"
|
9492
9797
|
},
|
9798
|
+
"StartTrainingTaskRequest": {
|
9799
|
+
"document": "StartTrainingTask请求参数结构体",
|
9800
|
+
"members": [
|
9801
|
+
{
|
9802
|
+
"disabled": false,
|
9803
|
+
"document": "训练任务ID",
|
9804
|
+
"example": "train-123311",
|
9805
|
+
"member": "string",
|
9806
|
+
"name": "Id",
|
9807
|
+
"required": true,
|
9808
|
+
"type": "string"
|
9809
|
+
}
|
9810
|
+
],
|
9811
|
+
"type": "object"
|
9812
|
+
},
|
9813
|
+
"StartTrainingTaskResponse": {
|
9814
|
+
"document": "StartTrainingTask返回参数结构体",
|
9815
|
+
"members": [
|
9816
|
+
{
|
9817
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9818
|
+
"member": "string",
|
9819
|
+
"name": "RequestId",
|
9820
|
+
"type": "string"
|
9821
|
+
}
|
9822
|
+
],
|
9823
|
+
"type": "object"
|
9824
|
+
},
|
9493
9825
|
"StatefulSetCondition": {
|
9494
9826
|
"document": "实例状况",
|
9495
9827
|
"members": [
|
@@ -9636,6 +9968,33 @@
|
|
9636
9968
|
],
|
9637
9969
|
"type": "object"
|
9638
9970
|
},
|
9971
|
+
"StopTrainingTaskRequest": {
|
9972
|
+
"document": "StopTrainingTask请求参数结构体",
|
9973
|
+
"members": [
|
9974
|
+
{
|
9975
|
+
"disabled": false,
|
9976
|
+
"document": "训练任务ID",
|
9977
|
+
"example": "train-123311",
|
9978
|
+
"member": "string",
|
9979
|
+
"name": "Id",
|
9980
|
+
"required": true,
|
9981
|
+
"type": "string"
|
9982
|
+
}
|
9983
|
+
],
|
9984
|
+
"type": "object"
|
9985
|
+
},
|
9986
|
+
"StopTrainingTaskResponse": {
|
9987
|
+
"document": "StopTrainingTask返回参数结构体",
|
9988
|
+
"members": [
|
9989
|
+
{
|
9990
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9991
|
+
"member": "string",
|
9992
|
+
"name": "RequestId",
|
9993
|
+
"type": "string"
|
9994
|
+
}
|
9995
|
+
],
|
9996
|
+
"type": "object"
|
9997
|
+
},
|
9639
9998
|
"TJCallInfo": {
|
9640
9999
|
"document": "太极服务的调用信息",
|
9641
10000
|
"members": [
|
@@ -48,6 +48,14 @@
|
|
48
48
|
"title": "导入模型请求"
|
49
49
|
}
|
50
50
|
],
|
51
|
+
"CreateTrainingTask": [
|
52
|
+
{
|
53
|
+
"document": "创建训练任务",
|
54
|
+
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTrainingTask\n<公共请求参数>\n\n{\n \"Name\": \"test\",\n \"FrameworkName\": \"PYTORCH\",\n \"FrameworkEnvironment\": \"tilearn-llm1.0-torch2.1-angel-vllm1.0-py3.10-cuda12.1-gpu\",\n \"TrainingMode\": \"DDP\",\n \"ChargeType\": \"PREPAID\",\n \"ResourceConfigInfos\": [\n {\n \"Role\": \"WORKER\",\n \"Cpu\": 1000,\n \"Memory\": 1024,\n \"GpuType\": \"\",\n \"Gpu\": 0,\n \"InstanceType\": \"\",\n \"InstanceTypeAlias\": \"\",\n \"InstanceNum\": 1\n }\n ],\n \"ResourceGroupId\": \"ersg-rf6p8zb8\",\n \"Tags\": [],\n \"Remark\": \"\",\n \"CodePackagePath\": {\n \"Bucket\": \"test-gz-1256580188\",\n \"Region\": \"ap-guangzhou\",\n \"Paths\": [\n \"test/\"\n ]\n },\n \"EncodedStartCmdInfo\": {\n \"StartCmdInfo\": \"eyJTdGFydENtZCI6IiIsIlBzU3RhcnRDbWQiOiIiLCJXb3JrZXJTdGFydENtZCI6InNsZWVwIDEwIn0=\"\n },\n \"DataConfigs\": [\n {\n \"DataSourceType\": \"CFS\",\n \"MappingPath\": \"/opt/ml/input/data/\",\n \"CFSSource\": {\n \"Id\": \"cfs-pchxhlg9\",\n \"Path\": \"/bin\"\n }\n }\n ],\n \"TuningParameters\": \"{\\\"test\\\":\\\"test\\\"}\",\n \"Output\": {\n \"Bucket\": \"test-gz-1256580188\",\n \"Region\": \"ap-guangzhou\",\n \"Paths\": [\n \"cos_test/\"\n ]\n },\n \"LogEnable\": false,\n \"VpcId\": \"vpc-a26qv3af\",\n \"SubnetId\": \"subnet-m7xhqcyc\"\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"Id\": \"train-1208038387393233920\",\n \"RequestId\": \"0161f5a9-3f60-4e39-86ab-fb87b225964d\"\n }\n}",
|
56
|
+
"title": "创建训练任务"
|
57
|
+
}
|
58
|
+
],
|
51
59
|
"DeleteDataset": [
|
52
60
|
{
|
53
61
|
"document": "",
|
@@ -96,6 +104,14 @@
|
|
96
104
|
"title": "删除模型版本请求"
|
97
105
|
}
|
98
106
|
],
|
107
|
+
"DeleteTrainingTask": [
|
108
|
+
{
|
109
|
+
"document": "",
|
110
|
+
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTrainingTask\n<公共请求参数>\n\n{\n \"Id\": \"1\"\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
|
112
|
+
"title": "删除训练任务"
|
113
|
+
}
|
114
|
+
],
|
99
115
|
"DescribeBillingResourceGroup": [
|
100
116
|
{
|
101
117
|
"document": "",
|
@@ -296,6 +312,14 @@
|
|
296
312
|
"title": "启动Notebook"
|
297
313
|
}
|
298
314
|
],
|
315
|
+
"StartTrainingTask": [
|
316
|
+
{
|
317
|
+
"document": "启动训练任务",
|
318
|
+
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartTrainingTask\n<公共请求参数>\n\n{\n \"Id\": \"1\"\n}",
|
319
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"test-request-id\"\n }\n}",
|
320
|
+
"title": "启动训练任务"
|
321
|
+
}
|
322
|
+
],
|
299
323
|
"StopModelAccelerateTask": [
|
300
324
|
{
|
301
325
|
"document": "",
|
@@ -311,6 +335,14 @@
|
|
311
335
|
"output": "{\n \"Response\": {\n \"RequestId\": \"f7df11d5-58c2-4767-956d-aa7158aab668\"\n }\n}",
|
312
336
|
"title": "停止Notebook"
|
313
337
|
}
|
338
|
+
],
|
339
|
+
"StopTrainingTask": [
|
340
|
+
{
|
341
|
+
"document": "停止训练任务",
|
342
|
+
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopTrainingTask\n<公共请求参数>\n\n{\n \"Id\": \"abc\"\n}",
|
343
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
344
|
+
"title": "停止训练任务"
|
345
|
+
}
|
314
346
|
]
|
315
347
|
},
|
316
348
|
"version": "1.0"
|
@@ -21112,7 +21112,7 @@
|
|
21112
21112
|
{
|
21113
21113
|
"disabled": false,
|
21114
21114
|
"document": "命名空间",
|
21115
|
-
"example": "
|
21115
|
+
"example": "default",
|
21116
21116
|
"member": "string",
|
21117
21117
|
"name": "Namespace",
|
21118
21118
|
"output_required": true,
|
@@ -21122,7 +21122,7 @@
|
|
21122
21122
|
{
|
21123
21123
|
"disabled": false,
|
21124
21124
|
"document": " Pod 名称",
|
21125
|
-
"example": "
|
21125
|
+
"example": "nginx-7ddc9d6bf-9pkml",
|
21126
21126
|
"member": "string",
|
21127
21127
|
"name": "Name",
|
21128
21128
|
"output_required": true,
|