Skip to content

Commit 8ac76a1

Browse files
author
fengyikai
committed
星流平台(aicp):GPU虚拟化的开发任务及节点列表OpenAPi变动;
1 parent 6fb5d5c commit 8ac76a1

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

ksyun/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515

1616

17-
__version__ = '1.5.8.45'
17+
__version__ = '1.5.8.46'

ksyun/client/aicp/v20240612/models.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def __init__(self):
9595
:param GPUType: GPU类型
9696
:type PathPrefix: String
9797
:param GPUNumber: GPU核数,允许范围为0~10000
98-
:type PathPrefix: Int
98+
:type PathPrefix: String
9999
:param CPUNum: Cpu数量,允许范围为0~10000
100100
:type PathPrefix: Int
101101
:param Memory: 内存G,允许范围为0~10000
@@ -300,8 +300,8 @@ def __init__(self):
300300
:type PathPrefix: String
301301
:param GPUType: GPU类型
302302
:type PathPrefix: String
303-
:param GPUNumber: GPU核数,允许范围为0~10000
304-
:type PathPrefix: Int
303+
:param GPUNumber: GPU核数,允许范围为0~10000, 如果可虚拟化,支持[0.1,0.9]
304+
:type PathPrefix: String
305305
:param CPUNum: Cpu数量,允许范围为0~10000
306306
:type PathPrefix: Int
307307
:param Memory: 内存G,允许范围为0~10000
@@ -657,7 +657,7 @@ def __init__(self):
657657
:param Description: API Key 描述
658658
:type PathPrefix: String
659659
:param ProjectId: 项目ID
660-
:type PathPrefix: Int
660+
:type PathPrefix: Long
661661
:param AssociatedModelIds: 关联的模型列表
662662
:type PathPrefix: Array
663663
:param AllAssociatedModel: 是否全选
@@ -756,9 +756,9 @@ class QueryTokenDataRequest(AbstractModel):
756756
def __init__(self):
757757
r"""查询模型API token用量(限定半年内的)
758758
:param StartTimestamp: 开始时间,毫秒时间戳,仅支持最近180天内时间。
759-
:type PathPrefix: Int
759+
:type PathPrefix: Long
760760
:param EndTimestamp: 截止时间,毫秒时间戳
761-
:type PathPrefix: Int
761+
:type PathPrefix: Long
762762
:param MaxResults: 分页页长,最大10000
763763
:type PathPrefix: Int
764764
:param Keyword: 搜索关键词
@@ -898,7 +898,7 @@ def __init__(self):
898898
:param Model: 模型名,如:deepseek-r1-0528
899899
:type PathPrefix: String
900900
:param ExecuteTimeoutMs:
901-
:type PathPrefix: Int
901+
:type PathPrefix: Long
902902
:param InputDataType: 文件类型:user_ks3 用户ks3;upload_ks3 上传文件
903903
:type PathPrefix: String
904904
:param Ks3Region:

ksyun/client/aicp/v20251212/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self):
2323
:param SelfHealing: GPU故障自愈
2424
:type PathPrefix: Boolean
2525
:param MaxRuntimeHour: 最长运行时长(小时)
26-
:type PathPrefix: Int
26+
:type PathPrefix: Long
2727
:param JobRunOnCPU: 节点亲和性-仅调度到CPU节点
2828
:type PathPrefix: Boolean
2929
:param SupportTensorboard: 开启Tensorboard

0 commit comments

Comments
 (0)