Skip to content

Conversation

@yfang1
Copy link
Contributor

@yfang1 yfang1 commented Sep 15, 2021

b/190431961.
go/tb-uploader-speedup

Ran the new code for scalar, tensor, blob data. Looks fine to me.

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 15, 2021
@product-auto-label product-auto-label bot added the api: aiplatform Issues related to the AI Platform API. label Sep 15, 2021
@yfang1 yfang1 changed the title [feat] Updating the Tensorboard uploader to use the new batch write API so it runs more efficiently feat: Updating the Tensorboard uploader to use the new batch write API so it runs more efficiently Sep 15, 2021
self._run_name_to_run_resource_name: Dict[str, str] = {}
self._run_tag_name_to_time_series_name: Dict[(str, str), str] = {}

def get_run_resource_name(self, run_name: str):
Copy link
Contributor

Choose a reason for hiding this comment

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

better to rename it as create_or_get_run_resource_name ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It doesn't actually "create" a resource name though, but I see what you're saying.

Gonna leave the name as is, but will add doc string to describe what it does.

@yfang1 yfang1 merged commit 9d1b01a into googleapis:main Sep 21, 2021
@yfang1 yfang1 deleted the optimize branch September 21, 2021 21:20
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.

3 participants