-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring python versions and and callbacks into 1.7 release (#1228)
* Bump Python version to 3.10 - 3.12 (#1213) * update python version to 3.12 Signed-off-by: yes <[email protected]> * dummy commit Signed-off-by: yes <[email protected]> * dummy commit Signed-off-by: yes <[email protected]> * update python version to 3.12 Signed-off-by: yes <[email protected]> * dummy commit Signed-off-by: yes <[email protected]> * dummy commit Signed-off-by: yes <[email protected]> * removed files Signed-off-by: yes <[email protected]> * reverted doc change Signed-off-by: yes <[email protected]> * added missing requirements for Workflow Interface Tests Signed-off-by: yes <[email protected]> * added tensorboard Signed-off-by: yes <[email protected]> --------- Signed-off-by: yes <[email protected]> * Introduce `callbacks` API (#1195) * Get rid of kwargs Signed-off-by: Shah, Karan <[email protected]> * Use module-level logger Signed-off-by: Shah, Karan <[email protected]> * Reduce keras verbosity Signed-off-by: Shah, Karan <[email protected]> * Remove all log_metric and log_memory_usage traces; add callback hooks Signed-off-by: Shah, Karan <[email protected]> * Add `openfl.callbacks` module Signed-off-by: Shah, Karan <[email protected]> * Include round_num for task callbacks Signed-off-by: Shah, Karan <[email protected]> * Add tensordb to callbacks Signed-off-by: Shah, Karan <[email protected]> * No round_num on task callbacks Signed-off-by: Shah, Karan <[email protected]> * Remove task boundary callbacks Signed-off-by: Shah, Karan <[email protected]> * Remove tb/model_ckpt. Add memory_profiler Signed-off-by: Shah, Karan <[email protected]> * Restore psutil and tbX Signed-off-by: Shah, Karan <[email protected]> * Format code Signed-off-by: Shah, Karan <[email protected]> * Define default callbacks Signed-off-by: Shah, Karan <[email protected]> * Add write_logs for bwd compat Signed-off-by: Shah, Karan <[email protected]> * Add log_metric_callback for bwd compat Signed-off-by: Shah, Karan <[email protected]> * Migrate to module-level logger for collaborator Signed-off-by: Shah, Karan <[email protected]> * Review comments Signed-off-by: Shah, Karan <[email protected]> * Add metric_writer Signed-off-by: Shah, Karan <[email protected]> * Add collaborator side metric logging Signed-off-by: Shah, Karan <[email protected]> * Make log dirs on exp begin Signed-off-by: Shah, Karan <[email protected]> * Do not print use_tls Signed-off-by: Shah, Karan <[email protected]> * Assume reportable metric to be a scalar Signed-off-by: Shah, Karan <[email protected]> * Add aggregator side callbacks Signed-off-by: Shah, Karan <[email protected]> * do_task test returns mock dict Signed-off-by: Shah, Karan <[email protected]> * Consistency changes Signed-off-by: Shah, Karan <[email protected]> * Add documentation hooks Signed-off-by: Shah, Karan <[email protected]> * Update docstring Signed-off-by: Shah, Karan <[email protected]> * Update docs hook Signed-off-by: Shah, Karan <[email protected]> * Remove all traces of log_metric_callback and write_metric Signed-off-by: Shah, Karan <[email protected]> * Do on_round_begin if not time_to_quit Signed-off-by: Shah, Karan <[email protected]> --------- Signed-off-by: Shah, Karan <[email protected]> --------- Signed-off-by: yes <[email protected]> Signed-off-by: Shah, Karan <[email protected]> Co-authored-by: Shailesh Tanwar <[email protected]> Co-authored-by: Karan Shah <[email protected]>
- Loading branch information
1 parent
0c4be45
commit 6b69126
Showing
59 changed files
with
540 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
``openfl.callbacks`` module | ||
=========================== | ||
|
||
.. currentmodule:: openfl.callbacks | ||
|
||
.. automodule:: openfl.callbacks | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary | ||
:recursive: | ||
|
||
Callback | ||
CallbackList | ||
LambdaCallback | ||
MetricWriter | ||
MemoryProfiler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
...-workspace/experimental/workflow/AggregatorBasedWorkflow/101_torch_cnn_mnist/src/utils.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
...pace/experimental/workflow/AggregatorBasedWorkflow/102_aggregator_validation/src/utils.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
openfl-workspace/experimental/workflow/AggregatorBasedWorkflow/104_keras_mnist/src/utils.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
...perimental/workflow/AggregatorBasedWorkflow/301_torch_cnn_mnist_watermarking/src/utils.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.