Skip to content

Commit

Permalink
Update the Opacus example requirements (#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnugraha authored Oct 5, 2023
1 parent cc7db6e commit 5f504a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 4 additions & 6 deletions examples/opacus/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ description = "Differentially Private Federated Learning with Opacus and Flower"
authors = ["The Flower Authors <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.8"
flwr = "^1.0.0"
# flwr = { path = "../../", develop = true } # Development
opacus = "^1.4.0"
torch = "^1.13.1"
torchvision = "^0.14.0"
python = ">=3.8,<3.11"
flwr = ">=1.0,<2.0"
opacus = "1.4.0"
torchvision = "0.15.2"
7 changes: 3 additions & 4 deletions examples/opacus/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
flwr~=1.4.0
numpy~=1.21.1
torch~=2.0.1
torchvision~=0.15.2
flwr>=1.0, <2.0
opacus==1.4.0
torchvision==0.15.2

0 comments on commit 5f504a9

Please sign in to comment.