Mentions légales du service

Skip to content
Snippets Groups Projects
  1. Feb 29, 2024
  2. Oct 10, 2023
  3. Sep 21, 2023
  4. Jul 12, 2023
  5. Apr 26, 2023
  6. Mar 13, 2023
    • ANDREY Paul's avatar
      Improve `run_as_processes` to capture exceptions and outputs. · 9dd5fcc4
      ANDREY Paul authored
      * Add exceptions and outputs catching to multiprocessed routines.
      * Change the output signature of `run_as_processes` to return a bool
        flag indicating success, and a list of routine-wise output value or
        RuntimeError (that may either result from an actual failure or from
        the process having been interrupted due to another one's failure).
      * Add `auto_stop` parameter to enable disabling the default automated
        interruption of processes once any of them has failed.
      9dd5fcc4
  7. Mar 02, 2023
  8. Feb 28, 2023
  9. Feb 06, 2023
  10. Feb 03, 2023
  11. Feb 02, 2023
    • ANDREY Paul's avatar
      Revise `Checkpointer`. · 4cf8b549
      ANDREY Paul authored
      * Rewrite the `declearn.main.utils.Checkpointer` util.
        - Implement Model, Optimizer and Metric-output results saving and loading methods.
        - Add a `max_history` parameter to garbage-collect past files.
        - Revise the labeling of output files to ease collection and re-use.
      * Revise the use of `Checkpointer` in `FederatedClient` and `FederatedServer`.
        - Have both entities checkpoint at the end of evaluation rounds.
        - For now, clients save the global model (not local one), local optimizer and metrics.
        - For now, server saves the global model (not local ones), server optimizer and all
          metrics: aggregated ones and client-wise ones (in separate files).
        - Move lowest-loss-yielding weights tracking and restoring to the private backend
          of `FederatedServer`, and ensure they are still saved and sent to clients at the
          end of the federated learning process.
      * Add unit tests for the `Checkpointer` class.
      4cf8b549
  12. Jan 27, 2023
  13. Jan 12, 2023
  14. Jan 06, 2023
  15. Jan 03, 2023
    • ANDREY Paul's avatar
      Refactor `FederatedServer` by introducing `FLRunConfig`. · 171b691b
      ANDREY Paul authored
      * Add `declearn.main.config` submodule:
        - Move dataclasses (`TrainingConfig`, `EvaluateConfig`
          and `RegisterConfig`) to this new submodule.
        - Implement `FLRunConfig`, that binds together all arguments and
          hyper-parameters used by the `FederatedServer.run` method, and
          provides with the possibility to write them up as a TOML config
          file (by inheriting `declearn.utils.TomlConfig`).
      * Deploy `FLRunConfig` to `FederatedServer`:
        - Replace the argument to `run` and `async_run` by `FLRunConfig`,
          adding the possibility to either provide (legacy-style) kwargs
          or the path to a TOML file to the `run` one.
        - Replace the argument to `initialize` by the full `FLRunConfig`,
          to facilitate overriding by subclasses that may need to send or
          use information on the process in addition to conducting client
          registration.
        - Preserve the use of targetted fields of hyper-parameters in the
          `training_round` and `evaluation_round` methods.
      171b691b
  16. Dec 01, 2022
  17. Nov 07, 2022
  18. Oct 14, 2022
Loading