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

Prefetch #2

Merged
merged 3 commits into from
May 12, 2021
Merged

Prefetch #2

merged 3 commits into from
May 12, 2021

Conversation

Kuanch
Copy link
Owner

@Kuanch Kuanch commented May 12, 2021

Description

This is known as NVIDIA data prefetcher, here is some reference :
How to prefetch data when processing with GPU?(pytorch.org)
Dose data_prefetcher() really speed up training?

In my case, with torchvision.dataset.coco and custimized collation_fn, this gains just about 3% (69s - > 67s) in an epoch.
More surveys are needed.

Features

  1. Data prefetcher

Fix

  1. Duplicated naming

@Kuanch Kuanch added the enhancement New feature or request label May 12, 2021
@Kuanch Kuanch self-assigned this May 12, 2021
@Kuanch Kuanch merged commit 2340059 into main May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant