diff --git a/src/py/flwr/cli/new/templates/app/README.md.tpl b/src/py/flwr/cli/new/templates/app/README.md.tpl index 93bc462257d1..97c0e54c5e61 100644 --- a/src/py/flwr/cli/new/templates/app/README.md.tpl +++ b/src/py/flwr/cli/new/templates/app/README.md.tpl @@ -18,8 +18,9 @@ Refer to the [How to Run Simulations](https://flower.ai/docs/framework/how-to-ru ## Run with the Deployment Engine -> \[!NOTE\] -> An update to this example will show how to run this Flower application with the Deployment Engine and TLS certificates, or with Docker. +Follow this [how-to guide](https://flower.ai/docs/framework/how-to-run-flower-with-deployment-engine.html) to run the same app in this example but with Flower's Deployment Engine. After that, you might be intersted in setting up [secure TLS-enabled communications](https://flower.ai/docs/framework/how-to-enable-tls-connections.html) and [SuperNode authentication](https://flower.ai/docs/framework/how-to-authenticate-supernodes.html) in your federation. + +You can run Flower on Docker too! Check out the [Flower with Docker](https://flower.ai/docs/framework/docker/index.html) documentation. ## Resources diff --git a/src/py/flwr/cli/new/templates/app/pyproject.baseline.toml.tpl b/src/py/flwr/cli/new/templates/app/pyproject.baseline.toml.tpl index 6462b076f4ad..be28c47d6b91 100644 --- a/src/py/flwr/cli/new/templates/app/pyproject.baseline.toml.tpl +++ b/src/py/flwr/cli/new/templates/app/pyproject.baseline.toml.tpl @@ -9,9 +9,9 @@ description = "" license = "Apache-2.0" dependencies = [ "flwr[simulation]>=1.14.0", - "flwr-datasets[vision]>=0.3.0", - "torch==2.2.1", - "torchvision==0.17.1", + "flwr-datasets[vision]>=0.5.0", + "torch==2.5.1", + "torchvision==0.20.1", ] [tool.hatch.metadata] diff --git a/src/py/flwr/cli/new/templates/app/pyproject.flowertune.toml.tpl b/src/py/flwr/cli/new/templates/app/pyproject.flowertune.toml.tpl index ddf37f14b1a0..bec00f33e59f 100644 --- a/src/py/flwr/cli/new/templates/app/pyproject.flowertune.toml.tpl +++ b/src/py/flwr/cli/new/templates/app/pyproject.flowertune.toml.tpl @@ -9,7 +9,7 @@ description = "" license = "Apache-2.0" dependencies = [ "flwr[simulation]>=1.14.0", - "flwr-datasets>=0.3.0", + "flwr-datasets>=0.5.0", "torch==2.3.1", "trl==0.8.1", "bitsandbytes==0.45.0", diff --git a/src/py/flwr/cli/new/templates/app/pyproject.huggingface.toml.tpl b/src/py/flwr/cli/new/templates/app/pyproject.huggingface.toml.tpl index d3165e4bd432..b40f204036b5 100644 --- a/src/py/flwr/cli/new/templates/app/pyproject.huggingface.toml.tpl +++ b/src/py/flwr/cli/new/templates/app/pyproject.huggingface.toml.tpl @@ -9,12 +9,12 @@ description = "" license = "Apache-2.0" dependencies = [ "flwr[simulation]>=1.14.0", - "flwr-datasets>=0.3.0", - "torch==2.2.1", + "flwr-datasets>=0.5.0", + "torch==2.5.1", "transformers>=4.30.0,<5.0", "evaluate>=0.4.0,<1.0", "datasets>=2.0.0, <3.0", - "scikit-learn>=1.3.1, <2.0", + "scikit-learn>=1.6.1, <2.0", ] [tool.hatch.build.targets.wheel] diff --git a/src/py/flwr/cli/new/templates/app/pyproject.jax.toml.tpl b/src/py/flwr/cli/new/templates/app/pyproject.jax.toml.tpl index 8d1b01000aad..f12391b72d40 100644 --- a/src/py/flwr/cli/new/templates/app/pyproject.jax.toml.tpl +++ b/src/py/flwr/cli/new/templates/app/pyproject.jax.toml.tpl @@ -11,7 +11,7 @@ dependencies = [ "flwr[simulation]>=1.14.0", "jax==0.4.30", "jaxlib==0.4.30", - "scikit-learn==1.3.2", + "scikit-learn==1.6.1", ] [tool.hatch.build.targets.wheel] diff --git a/src/py/flwr/cli/new/templates/app/pyproject.mlx.toml.tpl b/src/py/flwr/cli/new/templates/app/pyproject.mlx.toml.tpl index 2782b28044cd..90ac107e93d9 100644 --- a/src/py/flwr/cli/new/templates/app/pyproject.mlx.toml.tpl +++ b/src/py/flwr/cli/new/templates/app/pyproject.mlx.toml.tpl @@ -9,7 +9,7 @@ description = "" license = "Apache-2.0" dependencies = [ "flwr[simulation]>=1.14.0", - "flwr-datasets[vision]>=0.3.0", + "flwr-datasets[vision]>=0.5.0", "mlx==0.21.1", ] diff --git a/src/py/flwr/cli/new/templates/app/pyproject.numpy.toml.tpl b/src/py/flwr/cli/new/templates/app/pyproject.numpy.toml.tpl index 3597acfc40be..16b01680520e 100644 --- a/src/py/flwr/cli/new/templates/app/pyproject.numpy.toml.tpl +++ b/src/py/flwr/cli/new/templates/app/pyproject.numpy.toml.tpl @@ -9,7 +9,7 @@ description = "" license = "Apache-2.0" dependencies = [ "flwr[simulation]>=1.14.0", - "numpy>=1.21.0", + "numpy>=2.0.2", ] [tool.hatch.build.targets.wheel] diff --git a/src/py/flwr/cli/new/templates/app/pyproject.pytorch.toml.tpl b/src/py/flwr/cli/new/templates/app/pyproject.pytorch.toml.tpl index 81dd9fedc6b1..100d2b4ad1aa 100644 --- a/src/py/flwr/cli/new/templates/app/pyproject.pytorch.toml.tpl +++ b/src/py/flwr/cli/new/templates/app/pyproject.pytorch.toml.tpl @@ -9,7 +9,7 @@ description = "" license = "Apache-2.0" dependencies = [ "flwr[simulation]>=1.14.0", - "flwr-datasets[vision]>=0.3.0", + "flwr-datasets[vision]>=0.5.0", "torch==2.5.1", "torchvision==0.20.1", ] diff --git a/src/py/flwr/cli/new/templates/app/pyproject.sklearn.toml.tpl b/src/py/flwr/cli/new/templates/app/pyproject.sklearn.toml.tpl index 35f8639e839a..f28220ac1e19 100644 --- a/src/py/flwr/cli/new/templates/app/pyproject.sklearn.toml.tpl +++ b/src/py/flwr/cli/new/templates/app/pyproject.sklearn.toml.tpl @@ -9,8 +9,8 @@ description = "" license = "Apache-2.0" dependencies = [ "flwr[simulation]>=1.14.0", - "flwr-datasets[vision]>=0.3.0", - "scikit-learn>=1.1.1", + "flwr-datasets[vision]>=0.5.0", + "scikit-learn>=1.6.1", ] [tool.hatch.build.targets.wheel] diff --git a/src/py/flwr/cli/new/templates/app/pyproject.tensorflow.toml.tpl b/src/py/flwr/cli/new/templates/app/pyproject.tensorflow.toml.tpl index 428b152efeaa..a6027c6e347a 100644 --- a/src/py/flwr/cli/new/templates/app/pyproject.tensorflow.toml.tpl +++ b/src/py/flwr/cli/new/templates/app/pyproject.tensorflow.toml.tpl @@ -9,7 +9,7 @@ description = "" license = "Apache-2.0" dependencies = [ "flwr[simulation]>=1.14.0", - "flwr-datasets[vision]>=0.3.0", + "flwr-datasets[vision]>=0.5.0", "tensorflow>=2.11.1,<2.18.0", ]