fix: include RPC devices in --list-devices (#2182)

This commit is contained in:
leejet authored and GitHub committed 2026-10-21 23:47:50 +08:00
1 parent 2e2ba3faec
commit b15c8aac39
7 files changed
+50 -20

No files matched your search

+2
View File
@@ -168,6 +168,7 @@ struct SDContextParams {
std::string model_args;
bool auto_fit = true;
std::string rpc_servers;
bool list_devices = false;
std::string effective_backend;
std::string effective_params_backend;
bool enable_mmap = false;
@@ -189,6 +190,7 @@ struct SDContextParams {
float flow_shift = INFINITY;
ArgOptions get_options();
bool print_devices() const;
void build_embedding_map();
void prepare_backend_assignments();
bool resolve(SDMode mode);