flwr-nightly 1.11.0.dev20240819__py3-none-any.whl → 1.11.0.dev20240820__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of flwr-nightly might be problematic. Click here for more details.

@@ -425,72 +425,7 @@ def _run_simulation(
425
425
  verbose_logging: bool = False,
426
426
  is_app: bool = False,
427
427
  ) -> None:
428
- r"""Launch the Simulation Engine.
429
-
430
- Parameters
431
- ----------
432
- num_supernodes : int
433
- Number of nodes that run a ClientApp. They can be sampled by a
434
- Driver in the ServerApp and receive a Message describing what the ClientApp
435
- should perform.
436
-
437
- client_app : Optional[ClientApp]
438
- The `ClientApp` to be executed by each of the `SuperNodes`. It will receive
439
- messages sent by the `ServerApp`.
440
-
441
- server_app : Optional[ServerApp]
442
- The `ServerApp` to be executed.
443
-
444
- backend_name : str (default: ray)
445
- A simulation backend that runs `ClientApp`s.
446
-
447
- backend_config : Optional[BackendConfig]
448
- 'A dictionary to configure a backend. Separate dictionaries to configure
449
- different elements of backend. Supported top-level keys are `init_args`
450
- for values parsed to initialisation of backend, `client_resources`
451
- to define the resources for clients, and `actor` to define the actor
452
- parameters. Values supported in <value> are those included by
453
- `flwr.common.typing.ConfigsRecordValues`.
454
-
455
- client_app_attr : Optional[str]
456
- A path to a `ClientApp` module to be loaded: For example: `client:app` or
457
- `project.package.module:wrapper.app`."
458
-
459
- server_app_attr : Optional[str]
460
- A path to a `ServerApp` module to be loaded: For example: `server:app` or
461
- `project.package.module:wrapper.app`."
462
-
463
- server_app_run_config : Optional[UserConfig]
464
- Config dictionary that parameterizes the run config. It will be made accesible
465
- to the ServerApp.
466
-
467
- app_dir : str
468
- Add specified directory to the PYTHONPATH and load `ClientApp` from there.
469
- (Default: current working directory.)
470
-
471
- flwr_dir : Optional[str]
472
- The path containing installed Flower Apps.
473
-
474
- run : Optional[Run]
475
- An object carrying details about the run.
476
-
477
- enable_tf_gpu_growth : bool (default: False)
478
- A boolean to indicate whether to enable GPU growth on the main thread. This is
479
- desirable if you make use of a TensorFlow model on your `ServerApp` while
480
- having your `ClientApp` running on the same GPU. Without enabling this, you
481
- might encounter an out-of-memory error because TensorFlow by default allocates
482
- all GPU memory. Read mor about how `tf.config.experimental.set_memory_growth()`
483
- works in the TensorFlow documentation: https://www.tensorflow.org/api/stable.
484
-
485
- verbose_logging : bool (default: False)
486
- When disabled, only INFO, WARNING and ERROR log messages will be shown. If
487
- enabled, DEBUG-level logs will be displayed.
488
-
489
- is_app : bool (default: False)
490
- A flag that indicates whether the simulation is running an app or not. This is
491
- needed in order to attempt loading an app's pyproject.toml when nodes register
492
- a context object.
493
- """
428
+ """Launch the Simulation Engine."""
494
429
  if backend_config is None:
495
430
  backend_config = {}
496
431
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: flwr-nightly
3
- Version: 1.11.0.dev20240819
3
+ Version: 1.11.0.dev20240820
4
4
  Summary: Flower: A Friendly Federated Learning Framework
5
5
  Home-page: https://flower.ai
6
6
  License: Apache-2.0
@@ -278,7 +278,7 @@ flwr/simulation/ray_transport/__init__.py,sha256=wzcEEwUUlulnXsg6raCA1nGpP3LlAQD
278
278
  flwr/simulation/ray_transport/ray_actor.py,sha256=3j0HgzjrlYjnzdTRy8aA4Nf6VoUvxi1hGRQkGSU5z6c,19020
279
279
  flwr/simulation/ray_transport/ray_client_proxy.py,sha256=0abIsU0VBk9rNJZOKHIyzYGy3ZnWBgqYocX_oct1EP0,7307
280
280
  flwr/simulation/ray_transport/utils.py,sha256=TYdtfg1P9VfTdLMOJlifInGpxWHYs9UfUqIv2wfkRLA,2392
281
- flwr/simulation/run_simulation.py,sha256=pKkyrAWzxf05j8AoXh2eYyYeV6PbAXtq1egv2l5JM3I,23447
281
+ flwr/simulation/run_simulation.py,sha256=BXzDF2vMoLTne1NkHKHOGv1FH0fRNy4Ds83Vkr_Qudk,20613
282
282
  flwr/superexec/__init__.py,sha256=9h94ogLxi6eJ3bUuJYq3E3pApThSabTPiSmPAGlTkHE,800
283
283
  flwr/superexec/app.py,sha256=bmYl8zABnWka9WhRQxX4p1YAI76cYG655dP09ro-V0o,6485
284
284
  flwr/superexec/deployment.py,sha256=1qhztkcZDjaSbicligbXGqn49gbpN271rTlEVAnNuWw,6283
@@ -286,8 +286,8 @@ flwr/superexec/exec_grpc.py,sha256=PhqGoZEpTMxSQmUSV8Wgtzb1Za_pHJ-adZqo5RYnDyE,1
286
286
  flwr/superexec/exec_servicer.py,sha256=jl0aKVjm0PLQABcTL5c3jdSIzb0Z6hpVOtrAn4Ob7ts,2323
287
287
  flwr/superexec/executor.py,sha256=k_adivto6R2U82DADOHNvdtobehBYreRek1gOEBIQnQ,2318
288
288
  flwr/superexec/simulation.py,sha256=lfdClQYSAIMHe43aJ0Pk-kBw_xoV09LsIMfHo2eo-Ck,6775
289
- flwr_nightly-1.11.0.dev20240819.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
290
- flwr_nightly-1.11.0.dev20240819.dist-info/METADATA,sha256=1TgmV-BxAz7GtNVJuJ9Ov1zrQl6dQwiZvsanz-EbQLM,15701
291
- flwr_nightly-1.11.0.dev20240819.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
292
- flwr_nightly-1.11.0.dev20240819.dist-info/entry_points.txt,sha256=3cDQVJEBRCSLzJrVYAgjXpoCjuQ74I3A9NZ61DOHdVo,388
293
- flwr_nightly-1.11.0.dev20240819.dist-info/RECORD,,
289
+ flwr_nightly-1.11.0.dev20240820.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
290
+ flwr_nightly-1.11.0.dev20240820.dist-info/METADATA,sha256=Ig81UX5EhKK3RyR3k1VwnC9ZDenZL4DD9Yp5sIuqp50,15701
291
+ flwr_nightly-1.11.0.dev20240820.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
292
+ flwr_nightly-1.11.0.dev20240820.dist-info/entry_points.txt,sha256=3cDQVJEBRCSLzJrVYAgjXpoCjuQ74I3A9NZ61DOHdVo,388
293
+ flwr_nightly-1.11.0.dev20240820.dist-info/RECORD,,