mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-25 22:21:14 +02:00
server : fix --docker-repo being treated as router mode (#27416)
This commit is contained in:
committed by
GitHub
parent
2b5621094e
commit
8a832e4bf3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user