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

Feature Request: Expose an Args to Set Prefetch Factor in Trainer #28576

Closed
uygnef opened this issue Jan 18, 2024 · 3 comments
Closed

Feature Request: Expose an Args to Set Prefetch Factor in Trainer #28576

uygnef opened this issue Jan 18, 2024 · 3 comments

Comments

@uygnef
Copy link

uygnef commented Jan 18, 2024

Feature request

Currently, the trainer does not allow users to set the prefetch factor as an argument from the training script.

Motivation

This can be a limitation when training large models, especially when the data is being fetched from a remote server, as the loading speed can become a bottleneck due to slow data download for the next partition.

Your contribution

I can commit a PR

@amyeroberts
Copy link
Collaborator

Hi @uygnef, thanks for raising an issue!

There is a related PR open: #28498 cc @muellerzr @pacman100

@uygnef
Copy link
Author

uygnef commented Jan 18, 2024

Hi @uygnef, thanks for raising an issue!

There is a related PR open: #28498 cc @muellerzr @pacman100

oh, good job!

Copy link

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

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

No branches or pull requests

2 participants