Replies: 4 comments 1 reply
-
|
@holgerroth can you help with this ? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for raising this issue @oded-byte. I was able to reproduce it using the fl-tabular example from Flower which uses |
Beta Was this translation helpful? Give feedback.
-
|
@oded-byte I proposed a PR to fix this #3712 |
Beta Was this translation helpful? Give feedback.
-
|
Great fix, Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Python version (
python3 -V)3.12
NVFlare version (
python3 -m pip list | grep "nvflare")2.6.0
NVFlare branch (if running examples, please use the branch that corresponds to the NVFlare version,
git branch)2.6
Operating system
Ubuntu 22.0
Have you successfully run any of the following examples?
Please describe your question
Hi everyone,
I am currently exploring the possibility of using an existing Flower (flwr) job and run it using Flare.
I looked at the hello world examples and tried to run it.
Code works perfectly well when just running through flower (flwr run .). The issue is that in client_app of the flower job, they sometime use node_config, rather than run_config:
Error I'm getting:
[FLWR-CA@site-2] num_partitions = context.node_config["num-partitions"]
[FLWR-CA@site-2] ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
[FLWR-CA@site-2] KeyError: 'num-partitions'
While the run_config can be set using the .toml file, I can't find a way of controlling the node_config file.
How do I populate the node_config file? it is populated when using native flower but unpopulated when using flare.
Beta Was this translation helpful? Give feedback.
All reactions