Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TensorFlow client api example #1982

Merged
merged 18 commits into from
Sep 12, 2023

Conversation

YuanTingHsieh
Copy link
Collaborator

@YuanTingHsieh YuanTingHsieh commented Sep 8, 2023

Description

  • Add Tensorflow Client API example
  • Delete duplicate codes, use job_templates instead and reuse the codes
  • Split into pt and tf sub-folders
  • Correct path / link issue in documentations
  • Update other jobs for more clarity
  • Add ClientAPILauncherExecutor to handle configurations needed by client api
  • Add PTClientAPILauncherExecutor for convenience

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Quick tests passed locally by running ./runtest.sh.
  • In-line docstrings updated.
  • Documentation updated.

@YuanTingHsieh YuanTingHsieh added the examples Label for all example related work label Sep 8, 2023
@YuanTingHsieh
Copy link
Collaborator Author

/build

Copy link
Collaborator

@chesterxgchen chesterxgchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add few comments

Copy link
Collaborator

@chesterxgchen chesterxgchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add few more comments

Copy link
Collaborator

@chesterxgchen chesterxgchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general looks Good.
please double check the followings before merge

  1. since you removed the config_exchange.conf, can you make sure the job CLI still works ?
  2. The job CLI tutorial shows the config_exchange.conf, can you check the notebooks and remove the config_exchange related command
  3. step and step examples notebooks also has markup and notes referring config_exchange.conf please correct them as needed.
  4. fix the 3.9 unit test failure

@YuanTingHsieh
Copy link
Collaborator Author

/build

@YuanTingHsieh
Copy link
Collaborator Author

Jenkins not working because of changes in #1984

Yan is working on a fix for that, we can ignore the blossom-ci tests for now.

Copy link
Collaborator

@chesterxgchen chesterxgchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@YuanTingHsieh YuanTingHsieh merged commit 3328d44 into NVIDIA:main Sep 12, 2023
15 checks passed
@YuanTingHsieh YuanTingHsieh deleted the add_tf_client_api_example branch September 12, 2023 23:09
@YuanTingHsieh YuanTingHsieh mentioned this pull request Sep 23, 2023
6 tasks
holgerroth pushed a commit to holgerroth/NVFlare that referenced this pull request Dec 4, 2023
* Rename script names to avoid confusion

* delete sag_lightning job templates

* Add more comments to job configurations

* Rename folder codes to pt

* Return model copy but not the cache model directly

* Fix paths in step-by-step

* Add TensorFlow example

* Fix meta and link

* Use job_templates to avoid duplicate codes

* Change wording

* Fix link

* Use tensorflow save_weights/load_weights method

* Fix wording

* Use two job_templates

* Combine config_exchange and config_fed_client

* Address comments

* Remove config exchange and fix unit test

* Remove invalid test entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Label for all example related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants