Skip to content

refactor(examples): Update README.md in examples#6890

Merged
panh99 merged 6 commits intomainfrom
update-reames-in-examples
Apr 2, 2026
Merged

refactor(examples): Update README.md in examples#6890
panh99 merged 6 commits intomainfrom
update-reames-in-examples

Conversation

@jafermarq
Copy link
Copy Markdown
Member

  • Adds --stream to flwr run command
  • Updates sections mentioning how to configure a SuperLinkConnection with options. fileds

Copilot AI review requested due to automatic review settings March 30, 2026 11:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates multiple example READMEs to reflect the latest recommended Flower CLI usage for running simulations, including streaming output and configuring simulation runtime via the flwr federation simulation-config command.

Changes:

  • Add --stream to flwr run commands across examples.
  • Replace manual SuperLink configuration instructions (editing config.toml) with flwr federation simulation-config CLI commands in several READMEs.
  • Adjust simulation setup text to describe required virtual SuperNodes for different examples.

Reviewed changes

Copilot reviewed 31 out of 31 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
examples/xgboost-comprehensive/README.md Adds --stream to simulation run commands.
examples/whisper-federated-finetuning/README.md Reworks simulation setup to use flwr federation simulation-config and adds --stream.
examples/vertical-fl/README.md Switches setup instructions to flwr federation simulation-config and updates wording.
examples/quickstart-xgboost/README.md Adds --stream to flwr run commands.
examples/quickstart-tensorflow/README.md Adds --stream to flwr run commands.
examples/quickstart-sklearn/README.md Adds --stream to flwr run commands.
examples/quickstart-pytorch/README.md Adds --stream and adjusts GPU-related tip text.
examples/quickstart-pytorch-lightning/README.md Adds --stream to flwr run commands.
examples/quickstart-pennylane/README.md Adds --stream to flwr run commands.
examples/quickstart-pandas/README.md Adds --stream to flwr run commands.
examples/quickstart-numpy/README.md Adds --stream to flwr run command.
examples/quickstart-monai/README.md Adds --stream and introduces flwr federation simulation-config for GPU resources.
examples/quickstart-mlx/README.md Adds --stream to flwr run commands.
examples/quickstart-jax/README.md Adds --stream to flwr run commands.
examples/quickstart-huggingface/README.md Adds --stream and introduces flwr federation simulation-config usage.
examples/quickstart-fastai/README.md Adds --stream to flwr run commands.
examples/quickstart-catboost/README.md Adds --stream to flwr run commands.
examples/opacus/README.md Adds --stream to flwr run commands.
examples/flowertune-vit/README.md Adds --stream and replaces GPU config guidance with flwr federation simulation-config.
examples/flowertune-llm/README.md Introduces flwr federation simulation-config and adds --stream to run commands.
examples/flowertune-llm-medical/README.md Replaces SuperLink TOML guidance with flwr federation simulation-config and adds --stream.
examples/flowertune-llm-general-nlp/README.md Replaces SuperLink TOML guidance with flwr federation simulation-config and adds --stream.
examples/flowertune-llm-finance/README.md Replaces SuperLink TOML guidance with flwr federation simulation-config and adds --stream.
examples/flowertune-llm-code/README.md Replaces SuperLink TOML guidance with flwr federation simulation-config and adds --stream.
examples/flower-secure-aggregation/README.md Adds --stream to flwr run commands.
examples/fl-tabular/README.md Switches setup instructions to flwr federation simulation-config and adds --stream.
examples/fl-dp-sa/README.md Switches setup instructions to flwr federation simulation-config and adds --stream to run-config example.
examples/fedrag/README.md Switches setup instructions to flwr federation simulation-config and adds --stream.
examples/federated-vae/README.md Adds --stream to flwr run commands.
examples/federated-kaplan-meier-fitter/README.md Switches setup instructions to flwr federation simulation-config and adds --stream.
examples/advanced-pytorch/README.md Adds flwr federation simulation-config --num-supernodes=50 and appends --stream to flwr run.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot added the Maintainer Used to determine what PRs (mainly) come from Flower maintainers. label Mar 30, 2026
jafermarq and others added 3 commits March 30, 2026 13:10
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Member

@yan-gao-GY yan-gao-GY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I left a few comments to fix the typos

@panh99 panh99 merged commit ad0a9dc into main Apr 2, 2026
68 checks passed
@panh99 panh99 deleted the update-reames-in-examples branch April 2, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintainer Used to determine what PRs (mainly) come from Flower maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants