产品 |
是否支持 |
---|---|
√ |
|
x |
|
x |
|
x |
|
x |
构造LLMReq。
1 | __init__(req_id=2**64-1, prompt_length=0, prompt_cluster_id=0, decoder_cluster_id=0, prefix_id=2**64-1) |
参数名称 |
数据类型 |
取值说明 |
---|---|---|
req_id |
int |
请求ID。 |
prompt_length |
int |
prompt序列长度 |
prompt_cluster_id |
int |
prompt集群ID |
decoder_cluster_id |
int |
Decode集群ID |
prefix_id |
int |
前缀ID |
1 2 | from llm_datadist import LLMReq llm_req = LLMReq() |
返回LLMReq的实例。
无