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

Average step speed can vary wildly #22

Open
Vectorrent opened this issue Nov 19, 2024 · 0 comments
Open

Average step speed can vary wildly #22

Vectorrent opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Vectorrent
Copy link
Contributor

Over the course of training, the average step speed can increase by up to 50% (from 0.4 seconds/step to 0.6/seconds per step, on my rig), before falling again. The speed decrease is weirdly consistent, where it can increase to 0.6 for 1000 steps (for example), before falling to 0.4 again, for another 1000 steps. It's not a one-off issue; it's a trend that ebbs and flows.

I suspect the issue might lie in the dataloaders, but don't know for sure. For example, if training batches are smaller, the system may need to spend more CPU cycles processing chunks of data - which could lead to such a slowdown. There might be a better way to pre-compute batches, or to process them in a background thread, but I haven't had time to troubleshoot this yet.

@Vectorrent Vectorrent added the bug Something isn't working label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant