产品 |
是否支持 |
---|---|
√ |
|
x |
|
x |
|
x |
|
x |
构造LLMDataDist。
1 | __init__(role: LLMRole, cluster_id: int) |
参数名称 |
数据类型 |
取值说明 |
---|---|---|
role |
集群角色。取值如下。
|
|
cluster_id |
int |
集群ID。 |
1 2 | from llm_datadist import LLMDataDist, LLMRole llm_datadist = LLMDataDist(LLMRole.DECODER, 0) |
正常情况下返回LLMDataDist的实例。
参数错误可能抛出TypeError或ValueError。
无