Skip to content

Commit

Permalink
Only passing federated-plugin parameter to plugins (dmlc#10629)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvidianz authored Jul 23, 2024
1 parent c26c122 commit be86d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/federated/federated_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ FederatedPlugin::FederatedPlugin(StringView path, Json config)
plugin_handle_ = decltype(plugin_handle_)(
[&] {
// Initialize the parameters
auto const& obj = get<Object>(config);
auto const& obj = OptionalArg<Object>(config, "federated_plugin", Object::Map{});
std::vector<std::string> kwargs;
for (auto const& kv : obj) {
std::string value;
Expand Down

0 comments on commit be86d0e

Please sign in to comment.