获取P节点的Server IP。
std::string GetPrefillAddr() const;
无。
构造一个请求对象后,为该请求对象设置全量推理阶段的IP地址,然后获取P节点的Server IP。
1 2 3 4 5 | mindie_llm::InferRequestId runtimeReqId(0); std::shared_ptr<mindie_llm::InferRequest> runtimeRequest(runtimeReqId); string prefillAddr= ""; runtimeRequest->SetPrefillAddr(prefillAddr); string addr = runtimeRequest->GetPrefillAddr(); |
P节点的Server IP。