Skip to content

feat: Add one shot profile uploads to tensorboard uploader.#704

Merged
sasha-gitg merged 34 commits into
googleapis:mainfrom
mkovalski:profiler_impl
Oct 11, 2021
Merged

feat: Add one shot profile uploads to tensorboard uploader.#704
sasha-gitg merged 34 commits into
googleapis:mainfrom
mkovalski:profiler_impl

Conversation

@mkovalski
Copy link
Copy Markdown
Contributor

Add one shot profile uploading to tensorboard uploader.

  • Adds a profile request sender to upload any profile logs.
  • Move common utilities to a uploader_utils.py file
  • Create RunResourceManager to be shared via request senders.
  • Add _FileRequestSender for uploading non-event based items to blob storage backend.

While this currently allows for only one shot uploads, the ProfileRequestSender class will be reused so profiles can be uploaded on demand via tensorboard.gcp

Fixes #519

@product-auto-label product-auto-label Bot added the api: aiplatform Issues related to the AI Platform API. label Sep 14, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 14, 2021
@mkovalski mkovalski changed the title Add one shot profile uploads to tensorboard uploader. feat: Add one shot profile uploads to tensorboard uploader. Sep 14, 2021
@mkovalski mkovalski requested a review from yfang1 September 20, 2021 16:38
@mkovalski mkovalski self-assigned this Sep 21, 2021
@yfang1 yfang1 requested a review from morgandu September 21, 2021 18:52
Comment thread google/cloud/aiplatform/tensorboard/uploader.py Outdated
Comment thread google/cloud/aiplatform/tensorboard/uploader_utils.py Outdated
@yfang1 yfang1 self-requested a review September 21, 2021 19:14
Comment thread google/cloud/aiplatform/tensorboard/plugins/tf_profiler/profile_uploader.py Outdated
Comment thread google/cloud/aiplatform/tensorboard/plugins/tf_profiler/profile_uploader.py Outdated
Comment thread google/cloud/aiplatform/tensorboard/plugins/tf_profiler/profile_uploader.py Outdated
Comment thread google/cloud/aiplatform/tensorboard/plugins/tf_profiler/profile_uploader.py Outdated
Comment thread google/cloud/aiplatform/tensorboard/plugins/tf_profiler/profile_uploader.py Outdated
Comment thread google/cloud/aiplatform/tensorboard/uploader_utils.py Outdated
Comment thread google/cloud/aiplatform/tensorboard/uploader_utils.py Outdated
Comment thread google/cloud/aiplatform/tensorboard/uploader_utils.py
Comment thread google/cloud/aiplatform/tensorboard/uploader_utils.py
Comment thread google/cloud/aiplatform/tensorboard/uploader_utils.py Outdated
@mkovalski mkovalski requested a review from sasha-gitg October 6, 2021 18:55
Copy link
Copy Markdown
Member

@sasha-gitg sasha-gitg left a comment

Choose a reason for hiding this comment

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

Mainly LGTM. Added one more comment.

Comment thread google/cloud/aiplatform/tensorboard/__init__.py Outdated
Comment thread google/cloud/aiplatform/tensorboard/uploader_utils.py Outdated
@mkovalski mkovalski requested a review from sasha-gitg October 8, 2021 11:48
@sasha-gitg sasha-gitg added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 8, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 8, 2021
@mkovalski mkovalski added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 11, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 11, 2021
@sasha-gitg sasha-gitg merged commit a83f253 into googleapis:main Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: aiplatform Issues related to the AI Platform API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add remote tensorflow profiling to training jobs.

4 participants