mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 11:26:34 +00:00
fix: include RPC devices in --list-devices (#2182)
This commit is contained in:
1 parent
2e2ba3faec
commit
b15c8aac39
7 files changed
+50
-20
No files matched your search
@@ -48,6 +48,10 @@ static void parse_args(int argc,
|
||||
log_level = svr_params.log_level;
|
||||
log_color = svr_params.color;
|
||||
|
||||
if (ctx_params.list_devices) {
|
||||
exit(ctx_params.print_devices() ? 0 : 1);
|
||||
}
|
||||
|
||||
const bool random_seed_requested = default_gen_params.seed < 0;
|
||||
|
||||
if (!svr_params.resolve_and_validate() ||
|
||||
|
||||
Reference in new issue
Block a user