tencentcloud-sdk-tione 3.0.801 → 3.0.802

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20211111/models.rb +26 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66c51e60bcee972fa201c85ec7969b667c2a83e1
4
- data.tar.gz: 1ee099f9d6f2cd9a47bded3e566d2953ca1e83c3
3
+ metadata.gz: a5badbf325686ddc17e2cde9e91c2e73c6eb3b62
4
+ data.tar.gz: f00ed50c46d9f21a0330e2651baa43b7229a6cde
5
5
  SHA512:
6
- metadata.gz: 610623026372ebc7e8348902d3aad4b2223850470e69e03c19dee53953e3bf70a48591b60a35b5884815d0b633779c220bbdacd155483a12202b0e8daad687d1
7
- data.tar.gz: bc91597223c76a66eca49f8c3416a57c5bf58ccedd7a22d6e0a610e6af8b4382bd85cdcb0f705264138ed519d7a60a3a182155aaee2ec11926fb1c4d264f9df6
6
+ metadata.gz: d7c9ce3531fed3185a32d99cb9f223e16edc0a57a993c0ad1b08da6945acfd58c13a5ef5666f8aa2a6423936b7fdc0886499705e2233edf76e3ffd899a4b5afa
7
+ data.tar.gz: cef0e7f8d75510f01885fe211e05e07d1f45c276485b9ee355539d8fb1a7659ae85a6f3eff137d05eafe517d2402b25fdcae15660985f655041f1660e6288e19
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.801
1
+ 3.0.802
@@ -1844,7 +1844,7 @@ module TencentCloud
1844
1844
  # @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
1845
1845
  # @param CodePackagePath: COS代码包路径
1846
1846
  # @type CodePackagePath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
1847
- # @param StartCmdInfo: 启动命令信息,默认为sh start.sh
1847
+ # @param StartCmdInfo: 任务的启动命令,按任务训练模式输入,如遇特殊字符导致配置失败,可使用EncodedStartCmdInfo参数
1848
1848
  # @type StartCmdInfo: :class:`Tencentcloud::Tione.v20211111.models.StartCmdInfo`
1849
1849
  # @param TrainingMode: 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
1850
1850
  # @type TrainingMode: String
@@ -1870,10 +1870,12 @@ module TencentCloud
1870
1870
  # @type CallbackUrl: String
1871
1871
  # @param PreTrainModel: 太极预训练模型ID
1872
1872
  # @type PreTrainModel: :class:`Tencentcloud::Tione.v20211111.models.PreTrainModel`
1873
+ # @param EncodedStartCmdInfo: 编码后的任务启动命令,与StartCmdInfo同时配置时,仅当前参数生效
1874
+ # @type EncodedStartCmdInfo: :class:`Tencentcloud::Tione.v20211111.models.EncodedStartCmdInfo`
1873
1875
 
1874
- attr_accessor :Name, :ChargeType, :ResourceConfigInfos, :FrameworkName, :FrameworkVersion, :FrameworkEnvironment, :ResourceGroupId, :Tags, :ImageInfo, :CodePackagePath, :StartCmdInfo, :TrainingMode, :DataConfigs, :VpcId, :SubnetId, :Output, :LogConfig, :TuningParameters, :LogEnable, :Remark, :DataSource, :CallbackUrl, :PreTrainModel
1876
+ attr_accessor :Name, :ChargeType, :ResourceConfigInfos, :FrameworkName, :FrameworkVersion, :FrameworkEnvironment, :ResourceGroupId, :Tags, :ImageInfo, :CodePackagePath, :StartCmdInfo, :TrainingMode, :DataConfigs, :VpcId, :SubnetId, :Output, :LogConfig, :TuningParameters, :LogEnable, :Remark, :DataSource, :CallbackUrl, :PreTrainModel, :EncodedStartCmdInfo
1875
1877
 
1876
- def initialize(name=nil, chargetype=nil, resourceconfiginfos=nil, frameworkname=nil, frameworkversion=nil, frameworkenvironment=nil, resourcegroupid=nil, tags=nil, imageinfo=nil, codepackagepath=nil, startcmdinfo=nil, trainingmode=nil, dataconfigs=nil, vpcid=nil, subnetid=nil, output=nil, logconfig=nil, tuningparameters=nil, logenable=nil, remark=nil, datasource=nil, callbackurl=nil, pretrainmodel=nil)
1878
+ def initialize(name=nil, chargetype=nil, resourceconfiginfos=nil, frameworkname=nil, frameworkversion=nil, frameworkenvironment=nil, resourcegroupid=nil, tags=nil, imageinfo=nil, codepackagepath=nil, startcmdinfo=nil, trainingmode=nil, dataconfigs=nil, vpcid=nil, subnetid=nil, output=nil, logconfig=nil, tuningparameters=nil, logenable=nil, remark=nil, datasource=nil, callbackurl=nil, pretrainmodel=nil, encodedstartcmdinfo=nil)
1877
1879
  @Name = name
1878
1880
  @ChargeType = chargetype
1879
1881
  @ResourceConfigInfos = resourceconfiginfos
@@ -1897,6 +1899,7 @@ module TencentCloud
1897
1899
  @DataSource = datasource
1898
1900
  @CallbackUrl = callbackurl
1899
1901
  @PreTrainModel = pretrainmodel
1902
+ @EncodedStartCmdInfo = encodedstartcmdinfo
1900
1903
  end
1901
1904
 
1902
1905
  def deserialize(params)
@@ -1962,6 +1965,10 @@ module TencentCloud
1962
1965
  @PreTrainModel = PreTrainModel.new
1963
1966
  @PreTrainModel.deserialize(params['PreTrainModel'])
1964
1967
  end
1968
+ unless params['EncodedStartCmdInfo'].nil?
1969
+ @EncodedStartCmdInfo = EncodedStartCmdInfo.new
1970
+ @EncodedStartCmdInfo.deserialize(params['EncodedStartCmdInfo'])
1971
+ end
1965
1972
  end
1966
1973
  end
1967
1974
 
@@ -5572,6 +5579,22 @@ module TencentCloud
5572
5579
  end
5573
5580
  end
5574
5581
 
5582
+ # 编码后的启动命令信息
5583
+ class EncodedStartCmdInfo < TencentCloud::Common::AbstractModel
5584
+ # @param StartCmdInfo: 任务的启动命令,以base64格式输入,注意转换时需要完整输入{"StartCmd":"","PsStartCmd":"","WorkerStartCmd":""}
5585
+ # @type StartCmdInfo: String
5586
+
5587
+ attr_accessor :StartCmdInfo
5588
+
5589
+ def initialize(startcmdinfo=nil)
5590
+ @StartCmdInfo = startcmdinfo
5591
+ end
5592
+
5593
+ def deserialize(params)
5594
+ @StartCmdInfo = params['StartCmdInfo']
5595
+ end
5596
+ end
5597
+
5575
5598
  # 引擎版本
5576
5599
  class EngineVersion < TencentCloud::Common::AbstractModel
5577
5600
  # @param Version: 引擎版本
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.801
4
+ version: 3.0.802
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-10 00:00:00.000000000 Z
11
+ date: 2024-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common