rpc: fix segfault on invalid endpoint format (#18387)
* rpc: fix segfault on invalid endpoint format * rpc: add error log for failed endpoint connection
This commit is contained in:
parent
f8d561eb87
commit
60f17f56da
2 changed files with 6 additions and 1 deletions
|
|
@ -2017,7 +2017,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
|
|||
if (llama_supports_rpc()) {
|
||||
add_opt(common_arg(
|
||||
{"--rpc"}, "SERVERS",
|
||||
"comma separated list of RPC servers",
|
||||
"comma separated list of RPC servers (host:port)",
|
||||
[](common_params & params, const std::string & value) {
|
||||
add_rpc_devices(value);
|
||||
GGML_UNUSED(params);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue