下载
中文
注册

SetPrefillAddr接口

接口功能

设置请求在P节点上的server IP。

接口格式

void SetPrefillAddr(std::string &prefillAddr);

接口参数

参数

是否必选

说明

取值要求

prefillAddr

全量推理阶段的ip地址。

字符串类型,server ip地址。

使用样例

mindie_llm::InferRequestId runtimeReqId(0);
std::shared_ptr<mindie_llm::InferRequest> runtimeRequest(runtimeReqId);
string prefillAddr= "";
runtimeRequest->SetPrefillAddr(prefillAddr);

返回值

无。