tencentcloud-sdk-tione 3.0.730 → 3.0.731

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b309bfa880d430e245cda241bccad2a8c417cd1
4
- data.tar.gz: cf3513b07b258985e96d0c0df640393a4518ad6d
3
+ metadata.gz: a1febc26abd24cfaa168e2887fedd4c109199b01
4
+ data.tar.gz: ef1a0e9091a163055e1175ea6a2b89273b246379
5
5
  SHA512:
6
- metadata.gz: 24f18850a6d17792e4932e76b8d3da249499feee5c99459b023219ccf712a364ff356128b455ac1ff5de4a22099acb892bf902cf8ea09292c05b8327637480de
7
- data.tar.gz: 9359bb9332b59d02386693a1b2bdb01eb168348568410c1cc330dc2671f68eb14afcb8343c11cc3e9e8a30d32c7c1460844b826b5157dd22b4d0f35432dec57c
6
+ metadata.gz: 0ccc0967f548aa24c2b77ec90ee7227aa07a42ac6263c4704b0532b7b8a4692be63956eaf9df43b73ac702c0cd709815efdf99899ee628d817bcf3a82806aeca
7
+ data.tar.gz: 207fc4dc9f4b51e7af1c43f68eef3893ced3c9e4ea7b78aa6c5f19be202acea3ccfa93202e8b6ef7e375563cb123dae137fb4985d5e008341de65cf4bf58ce57
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.730
1
+ 3.0.731
@@ -965,6 +965,30 @@ module TencentCloud
965
965
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
966
  end
967
967
 
968
+ # 模型加速之后的模型版本列表
969
+
970
+ # @param request: Request instance for DescribeModelAccelerateVersions.
971
+ # @type request: :class:`Tencentcloud::tione::V20211111::DescribeModelAccelerateVersionsRequest`
972
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DescribeModelAccelerateVersionsResponse`
973
+ def DescribeModelAccelerateVersions(request)
974
+ body = send_request('DescribeModelAccelerateVersions', request.serialize)
975
+ response = JSON.parse(body)
976
+ if response['Response'].key?('Error') == false
977
+ model = DescribeModelAccelerateVersionsResponse.new
978
+ model.deserialize(response['Response'])
979
+ model
980
+ else
981
+ code = response['Response']['Error']['Code']
982
+ message = response['Response']['Error']['Message']
983
+ reqid = response['Response']['RequestId']
984
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
985
+ end
986
+ rescue TencentCloud::Common::TencentCloudSDKException => e
987
+ raise e
988
+ rescue StandardError => e
989
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
+ end
991
+
968
992
  # 查询单个服务
969
993
 
970
994
  # @param request: Request instance for DescribeModelService.
@@ -4179,6 +4179,86 @@ module TencentCloud
4179
4179
  end
4180
4180
  end
4181
4181
 
4182
+ # DescribeModelAccelerateVersions请求参数结构体
4183
+ class DescribeModelAccelerateVersionsRequest < TencentCloud::Common::AbstractModel
4184
+ # @param Filters: 过滤条件
4185
+ # Filter.Name: 枚举值: ModelJobName (任务名称)|TrainingModelVersionId (模型版本id)
4186
+ # Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
4187
+ # 每次请求的Filters的上限为10,Filter.Values的上限为100
4188
+ # @type Filters: Array
4189
+ # @param OrderField: 排序字段; 枚举值: CreateTime (创建时间) ;默认CreateTime
4190
+ # @type OrderField: String
4191
+ # @param Order: 排序方向; 枚举值: ASC | DESC;默认DESC
4192
+ # @type Order: String
4193
+ # @param Offset: 分页查询起始位置,如:Limit为100,第一页Offset为0,第二页Offset为100....即每页左边为闭区间; 默认0
4194
+ # @type Offset: Integer
4195
+ # @param Limit: 分页查询每页大小,最大20000; 默认10
4196
+ # @type Limit: Integer
4197
+ # @param TrainingModelId: 模型ID
4198
+ # @type TrainingModelId: String
4199
+
4200
+ attr_accessor :Filters, :OrderField, :Order, :Offset, :Limit, :TrainingModelId
4201
+
4202
+ def initialize(filters=nil, orderfield=nil, order=nil, offset=nil, limit=nil, trainingmodelid=nil)
4203
+ @Filters = filters
4204
+ @OrderField = orderfield
4205
+ @Order = order
4206
+ @Offset = offset
4207
+ @Limit = limit
4208
+ @TrainingModelId = trainingmodelid
4209
+ end
4210
+
4211
+ def deserialize(params)
4212
+ unless params['Filters'].nil?
4213
+ @Filters = []
4214
+ params['Filters'].each do |i|
4215
+ filter_tmp = Filter.new
4216
+ filter_tmp.deserialize(i)
4217
+ @Filters << filter_tmp
4218
+ end
4219
+ end
4220
+ @OrderField = params['OrderField']
4221
+ @Order = params['Order']
4222
+ @Offset = params['Offset']
4223
+ @Limit = params['Limit']
4224
+ @TrainingModelId = params['TrainingModelId']
4225
+ end
4226
+ end
4227
+
4228
+ # DescribeModelAccelerateVersions返回参数结构体
4229
+ class DescribeModelAccelerateVersionsResponse < TencentCloud::Common::AbstractModel
4230
+ # @param TotalCount: 优化模型总数; 注意接口是分页拉取的,total是指优化模型节点总数,不是本次返回中ModelAccelerateVersions数组的大小
4231
+ # 注意:此字段可能返回 null,表示取不到有效值。
4232
+ # 注意:此字段可能返回 null,表示取不到有效值。
4233
+ # @type TotalCount: Integer
4234
+ # @param ModelAccelerateVersions: 优化模型列表
4235
+ # 注意:此字段可能返回 null,表示取不到有效值。
4236
+ # @type ModelAccelerateVersions: Array
4237
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4238
+ # @type RequestId: String
4239
+
4240
+ attr_accessor :TotalCount, :ModelAccelerateVersions, :RequestId
4241
+
4242
+ def initialize(totalcount=nil, modelaccelerateversions=nil, requestid=nil)
4243
+ @TotalCount = totalcount
4244
+ @ModelAccelerateVersions = modelaccelerateversions
4245
+ @RequestId = requestid
4246
+ end
4247
+
4248
+ def deserialize(params)
4249
+ @TotalCount = params['TotalCount']
4250
+ unless params['ModelAccelerateVersions'].nil?
4251
+ @ModelAccelerateVersions = []
4252
+ params['ModelAccelerateVersions'].each do |i|
4253
+ modelaccelerateversion_tmp = ModelAccelerateVersion.new
4254
+ modelaccelerateversion_tmp.deserialize(i)
4255
+ @ModelAccelerateVersions << modelaccelerateversion_tmp
4256
+ end
4257
+ end
4258
+ @RequestId = params['RequestId']
4259
+ end
4260
+ end
4261
+
4182
4262
  # DescribeModelServiceCallInfo请求参数结构体
4183
4263
  class DescribeModelServiceCallInfoRequest < TencentCloud::Common::AbstractModel
4184
4264
  # @param ServiceGroupId: 服务组id
@@ -6480,6 +6560,102 @@ module TencentCloud
6480
6560
  end
6481
6561
  end
6482
6562
 
6563
+ # 优化模型版本列表
6564
+ class ModelAccelerateVersion < TencentCloud::Common::AbstractModel
6565
+ # @param ModelId: 模型id
6566
+ # 注意:此字段可能返回 null,表示取不到有效值。
6567
+ # @type ModelId: String
6568
+ # @param ModelVersionId: 优化模型版本id
6569
+ # 注意:此字段可能返回 null,表示取不到有效值。
6570
+ # @type ModelVersionId: String
6571
+ # @param ModelJobId: 优化任务id
6572
+ # 注意:此字段可能返回 null,表示取不到有效值。
6573
+ # @type ModelJobId: String
6574
+ # @param ModelJobName: 优化任务名称
6575
+ # 注意:此字段可能返回 null,表示取不到有效值。
6576
+ # @type ModelJobName: String
6577
+ # @param ModelVersion: 优化后模型版本
6578
+ # 注意:此字段可能返回 null,表示取不到有效值。
6579
+ # @type ModelVersion: String
6580
+ # @param SpeedUp: 加速比
6581
+ # 注意:此字段可能返回 null,表示取不到有效值。
6582
+ # @type SpeedUp: String
6583
+ # @param ModelSource: 模型来源/任务名称/任务版本
6584
+ # 注意:此字段可能返回 null,表示取不到有效值。
6585
+ # @type ModelSource: :class:`Tencentcloud::Tione.v20211111.models.ModelSource`
6586
+ # @param CosPathInfo: 模型cos路径
6587
+ # 注意:此字段可能返回 null,表示取不到有效值。
6588
+ # @type CosPathInfo: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
6589
+ # @param CreateTime: 创建时间
6590
+ # 注意:此字段可能返回 null,表示取不到有效值。
6591
+ # @type CreateTime: String
6592
+ # @param ModelFormat: 模型规范
6593
+ # 注意:此字段可能返回 null,表示取不到有效值。
6594
+ # @type ModelFormat: String
6595
+ # @param Status: 状态
6596
+ # 注意:此字段可能返回 null,表示取不到有效值。
6597
+ # @type Status: String
6598
+ # @param Progress: 进度
6599
+ # 注意:此字段可能返回 null,表示取不到有效值。
6600
+ # @type Progress: Integer
6601
+ # @param ErrorMsg: 错误信息
6602
+ # 注意:此字段可能返回 null,表示取不到有效值。
6603
+ # @type ErrorMsg: String
6604
+ # @param GPUType: GPU类型
6605
+ # 注意:此字段可能返回 null,表示取不到有效值。
6606
+ # @type GPUType: String
6607
+ # @param ModelCosPath: 模型cos路径
6608
+ # 注意:此字段可能返回 null,表示取不到有效值。
6609
+ # @type ModelCosPath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
6610
+
6611
+ attr_accessor :ModelId, :ModelVersionId, :ModelJobId, :ModelJobName, :ModelVersion, :SpeedUp, :ModelSource, :CosPathInfo, :CreateTime, :ModelFormat, :Status, :Progress, :ErrorMsg, :GPUType, :ModelCosPath
6612
+
6613
+ def initialize(modelid=nil, modelversionid=nil, modeljobid=nil, modeljobname=nil, modelversion=nil, speedup=nil, modelsource=nil, cospathinfo=nil, createtime=nil, modelformat=nil, status=nil, progress=nil, errormsg=nil, gputype=nil, modelcospath=nil)
6614
+ @ModelId = modelid
6615
+ @ModelVersionId = modelversionid
6616
+ @ModelJobId = modeljobid
6617
+ @ModelJobName = modeljobname
6618
+ @ModelVersion = modelversion
6619
+ @SpeedUp = speedup
6620
+ @ModelSource = modelsource
6621
+ @CosPathInfo = cospathinfo
6622
+ @CreateTime = createtime
6623
+ @ModelFormat = modelformat
6624
+ @Status = status
6625
+ @Progress = progress
6626
+ @ErrorMsg = errormsg
6627
+ @GPUType = gputype
6628
+ @ModelCosPath = modelcospath
6629
+ end
6630
+
6631
+ def deserialize(params)
6632
+ @ModelId = params['ModelId']
6633
+ @ModelVersionId = params['ModelVersionId']
6634
+ @ModelJobId = params['ModelJobId']
6635
+ @ModelJobName = params['ModelJobName']
6636
+ @ModelVersion = params['ModelVersion']
6637
+ @SpeedUp = params['SpeedUp']
6638
+ unless params['ModelSource'].nil?
6639
+ @ModelSource = ModelSource.new
6640
+ @ModelSource.deserialize(params['ModelSource'])
6641
+ end
6642
+ unless params['CosPathInfo'].nil?
6643
+ @CosPathInfo = CosPathInfo.new
6644
+ @CosPathInfo.deserialize(params['CosPathInfo'])
6645
+ end
6646
+ @CreateTime = params['CreateTime']
6647
+ @ModelFormat = params['ModelFormat']
6648
+ @Status = params['Status']
6649
+ @Progress = params['Progress']
6650
+ @ErrorMsg = params['ErrorMsg']
6651
+ @GPUType = params['GPUType']
6652
+ unless params['ModelCosPath'].nil?
6653
+ @ModelCosPath = CosPathInfo.new
6654
+ @ModelCosPath.deserialize(params['ModelCosPath'])
6655
+ end
6656
+ end
6657
+ end
6658
+
6483
6659
  # 模型描述信息
6484
6660
  class ModelInfo < TencentCloud::Common::AbstractModel
6485
6661
  # @param ModelVersionId: 模型版本id, DescribeTrainingModelVersion查询模型接口时的id
@@ -6564,6 +6740,76 @@ module TencentCloud
6564
6740
  end
6565
6741
  end
6566
6742
 
6743
+ # 模型来源
6744
+ class ModelSource < TencentCloud::Common::AbstractModel
6745
+ # @param Source: 来源
6746
+ # 注意:此字段可能返回 null,表示取不到有效值。
6747
+ # @type Source: String
6748
+ # @param JobName: 来源任务名称
6749
+ # 注意:此字段可能返回 null,表示取不到有效值。
6750
+ # @type JobName: String
6751
+ # @param JobVersion: 来源任务版本
6752
+ # 注意:此字段可能返回 null,表示取不到有效值。
6753
+ # @type JobVersion: String
6754
+ # @param JobId: 来源任务id
6755
+ # 注意:此字段可能返回 null,表示取不到有效值。
6756
+ # @type JobId: String
6757
+ # @param ModelName: 模型名称
6758
+ # 注意:此字段可能返回 null,表示取不到有效值。
6759
+ # @type ModelName: String
6760
+ # @param AlgorithmFramework: 算法框架
6761
+ # 注意:此字段可能返回 null,表示取不到有效值。
6762
+ # @type AlgorithmFramework: String
6763
+ # @param TrainingPreference: 训练偏好
6764
+ # 注意:此字段可能返回 null,表示取不到有效值。
6765
+ # @type TrainingPreference: String
6766
+ # @param ReasoningEnvironmentSource: 推理环境来源,SYSTEM/CUSTOM
6767
+ # 注意:此字段可能返回 null,表示取不到有效值。
6768
+ # @type ReasoningEnvironmentSource: String
6769
+ # @param ReasoningEnvironment: 推理环境
6770
+ # 注意:此字段可能返回 null,表示取不到有效值。
6771
+ # @type ReasoningEnvironment: String
6772
+ # @param ReasoningEnvironmentId: 推理环境id
6773
+ # 注意:此字段可能返回 null,表示取不到有效值。
6774
+ # @type ReasoningEnvironmentId: String
6775
+ # @param ReasoningImageInfo: 自定义推理环境
6776
+ # 注意:此字段可能返回 null,表示取不到有效值。
6777
+ # @type ReasoningImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
6778
+
6779
+ attr_accessor :Source, :JobName, :JobVersion, :JobId, :ModelName, :AlgorithmFramework, :TrainingPreference, :ReasoningEnvironmentSource, :ReasoningEnvironment, :ReasoningEnvironmentId, :ReasoningImageInfo
6780
+
6781
+ def initialize(source=nil, jobname=nil, jobversion=nil, jobid=nil, modelname=nil, algorithmframework=nil, trainingpreference=nil, reasoningenvironmentsource=nil, reasoningenvironment=nil, reasoningenvironmentid=nil, reasoningimageinfo=nil)
6782
+ @Source = source
6783
+ @JobName = jobname
6784
+ @JobVersion = jobversion
6785
+ @JobId = jobid
6786
+ @ModelName = modelname
6787
+ @AlgorithmFramework = algorithmframework
6788
+ @TrainingPreference = trainingpreference
6789
+ @ReasoningEnvironmentSource = reasoningenvironmentsource
6790
+ @ReasoningEnvironment = reasoningenvironment
6791
+ @ReasoningEnvironmentId = reasoningenvironmentid
6792
+ @ReasoningImageInfo = reasoningimageinfo
6793
+ end
6794
+
6795
+ def deserialize(params)
6796
+ @Source = params['Source']
6797
+ @JobName = params['JobName']
6798
+ @JobVersion = params['JobVersion']
6799
+ @JobId = params['JobId']
6800
+ @ModelName = params['ModelName']
6801
+ @AlgorithmFramework = params['AlgorithmFramework']
6802
+ @TrainingPreference = params['TrainingPreference']
6803
+ @ReasoningEnvironmentSource = params['ReasoningEnvironmentSource']
6804
+ @ReasoningEnvironment = params['ReasoningEnvironment']
6805
+ @ReasoningEnvironmentId = params['ReasoningEnvironmentId']
6806
+ unless params['ReasoningImageInfo'].nil?
6807
+ @ReasoningImageInfo = ImageInfo.new
6808
+ @ReasoningImageInfo.deserialize(params['ReasoningImageInfo'])
6809
+ end
6810
+ end
6811
+ end
6812
+
6567
6813
  # ModifyModelServicePartialConfig请求参数结构体
6568
6814
  class ModifyModelServicePartialConfigRequest < TencentCloud::Common::AbstractModel
6569
6815
  # @param ServiceId: 在线推理服务Id,需已存在
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tione
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.730
4
+ version: 3.0.731
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-18 00:00:00.000000000 Z
11
+ date: 2023-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common