Skip to content

Conversation

@bileschi
Copy link
Collaborator

Large experiments sometimes fail to export due to grpc timeouts. This change clarifies the situation to the user.

Tested:
Adds unit tests for grpc.CANCELLED case.

…oader.

Tested:
  Adds unit tests for grpc.CANCELLED case.
@wchargin
Copy link
Contributor

Thanks! By convention, commit headlines are imperative (as with internal
CL descriptions): please rename to “Improve error handling for exporting
large experiments” or similar.

@bileschi bileschi changed the title Improves error handling for exporting large experiments Improve error handling for exporting large experiments Oct 28, 2019
del request # unused
yield export_service_pb2.StreamExperimentsResponse(
experiment_ids=[experiment_id])
experiment_ids = [experiment_id])
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: No spaces around kwargs. The full whitespace rules are here:
https://google.github.io/styleguide/pyguide.html#36-whitespace

@bileschi bileschi merged commit bb30af7 into master Oct 29, 2019
wchargin pushed a commit to wchargin/tensorboard that referenced this pull request Oct 29, 2019
Improves error handling for exporting large experiments using the uploader.

Tested:
  Adds unit tests for grpc.CANCELLED case.
@wchargin wchargin mentioned this pull request Oct 29, 2019
wchargin pushed a commit that referenced this pull request Oct 29, 2019
Improves error handling for exporting large experiments using the uploader.

Tested:
  Adds unit tests for grpc.CANCELLED case.
@bileschi bileschi deleted the exporter-big branch February 29, 2020 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants