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

Support data.experimental.distribued_save and add wait to load. #64610

Merged
merged 1 commit into from Apr 3, 2024

Conversation

copybara-service[bot]
Copy link

Support data.experimental.distribued_save and add wait to load.

distribued_save uses tf.data service
(https://www.tensorflow.org/api_docs/python/tf/data/experimental/service)
to write distributed dataset snapshots. The call is non-blocking and
returns without waiting for the snapshot to finish. Setting wait=True to
tf.data.Dataset.load allows the snapshots to be read while they are
being written. The default is False for backward compatibility. It will
raise an error if the requested snapshot does not exist.

@copybara-service copybara-service bot force-pushed the exported_pr_617309690 branch 3 times, most recently from 28445dd to 5da6753 Compare April 3, 2024 18:41
`distribued_save` uses tf.data service
(https://www.tensorflow.org/api_docs/python/tf/data/experimental/service)
to write distributed dataset snapshots. The call is non-blocking and
returns without waiting for the snapshot to finish. Setting `wait=True` to
`tf.data.Dataset.load` allows the snapshots to be read while they are
being written. The default is `False` for backward compatibility. It will
raise an error if the requested snapshot does not exist.

PiperOrigin-RevId: 621612641
@copybara-service copybara-service bot closed this Apr 3, 2024
@copybara-service copybara-service bot deleted the exported_pr_617309690 branch April 3, 2024 20:27
@copybara-service copybara-service bot merged commit 12547f1 into master Apr 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant