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

feat: add cached dataset wrapper #148

Merged
merged 69 commits into from
Aug 24, 2021
Merged

feat: add cached dataset wrapper #148

merged 69 commits into from
Aug 24, 2021

Conversation

wangraying
Copy link
Member

@wangraying wangraying commented Jul 28, 2021

No description provided.

@todo
Copy link

todo bot commented Aug 4, 2021

cleanup automatically

# TODO: cleanup automatically
self.store.shutdown()
class BatchFetcher:
def __init__(self, store, batch_reads, batch_writes):


This comment was generated by todo based on a TODO comment in 6c6ab3d in #148. cc @BaguaSys.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
bagua/torch_api/contrib/cache_dataset.py Outdated Show resolved Hide resolved
bagua/torch_api/contrib/cache_dataset.py Outdated Show resolved Hide resolved
bagua/torch_api/contrib/cache_dataset.py Outdated Show resolved Hide resolved
bagua/torch_api/contrib/cache_dataset.py Outdated Show resolved Hide resolved
bagua/torch_api/contrib/cache_dataset.py Outdated Show resolved Hide resolved
bagua/torch_api/contrib/cache_dataset.py Outdated Show resolved Hide resolved
bagua/torch_api/contrib/utils/redis_store.py Outdated Show resolved Hide resolved
wangraying and others added 2 commits August 11, 2021 23:26
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
bagua/torch_api/contrib/cache_dataset.py Outdated Show resolved Hide resolved
bagua/torch_api/contrib/cache_dataset.py Outdated Show resolved Hide resolved
Copy link
Contributor

@NOBLES5E NOBLES5E left a comment

Choose a reason for hiding this comment

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

see comments

Copy link
Contributor

@NOBLES5E NOBLES5E left a comment

Choose a reason for hiding this comment

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

see comments

@NOBLES5E NOBLES5E merged commit 7ded776 into master Aug 24, 2021
@NOBLES5E NOBLES5E deleted the cached-dataset branch August 24, 2021 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants