Skip to content

Commit

Permalink
fix(examples) Update flwr version for XGBoost quickstart example an…
Browse files Browse the repository at this point in the history
…d add `libomp` command for MacOSX (#4740)
  • Loading branch information
chongshenng authored Dec 18, 2024
1 parent fe2ef85 commit eac7696
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions examples/xgboost-quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ Install the dependencies defined in `pyproject.toml` as well as the `xgboost_qui
pip install -e .
```

> \[!NOTE\]
> For MacOSX users, you may need to additionally run `brew install libomp` to install OpenMP runtime.
## Run the project

You can run your Flower project in both _simulation_ and _deployment_ mode without making changes to the code. If you are starting with Flower, we recommend you using the _simulation_ mode as it requires fewer components to be launched manually. By default, `flwr run` will make use of the Simulation Engine.
Expand Down
4 changes: 2 additions & 2 deletions examples/xgboost-quickstart/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ version = "1.0.0"
description = "Federated Learning with XGBoost and Flower (Quickstart Example)"
license = "Apache-2.0"
dependencies = [
"flwr-nightly[simulation]==1.11.0.dev20240826",
"flwr-datasets>=0.3.0",
"flwr[simulation]>=1.13.1",
"flwr-datasets>=0.4.0",
"xgboost>=2.0.0",
]

Expand Down

0 comments on commit eac7696

Please sign in to comment.