mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-27 01:04:19 +00:00
server : fix --docker-repo being treated as router mode (#27416)
This commit is contained in:
parent
2b5621094e
commit
8a832e4bf3
1 changed files with 2 additions and 1 deletions
|
|
@ -133,7 +133,8 @@ int llama_server(common_params & params, int argc, char ** argv) {
|
|||
|
||||
// router server never loads a model and must not touch the GPU
|
||||
const bool is_router_server = params.model.path.empty()
|
||||
&& params.model.hf_repo.empty();
|
||||
&& params.model.hf_repo.empty()
|
||||
&& params.model.docker_repo.empty();
|
||||
|
||||
// skip device enumeration so the CUDA primary context stays uncreated
|
||||
common_params_print_info(params, !is_router_server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue