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

about the batch_size and training speed #91

Open
NeilHnxTcc opened this issue Dec 16, 2023 · 1 comment
Open

about the batch_size and training speed #91

NeilHnxTcc opened this issue Dec 16, 2023 · 1 comment

Comments

@NeilHnxTcc
Copy link

when I increased the batch size from 2 to 4, the training time for a step increased from 15s to 30s, why? Given that the GPU-Util is already 100% when the bs=2 and I only use one GPU to train the model, I can't figure out the reason of this phenomenon.

@NeilHnxTcc NeilHnxTcc changed the title about the batch_size and training sppeed about the batch_size and training speed Dec 16, 2023
@Shaosifan
Copy link

when I increased the batch size from 2 to 4, the training time for a step increased from 15s to 30s, why? Given that the GPU-Util is already 100% when the bs=2 and I only use one GPU to train the model, I can't figure out the reason of this phenomenon.

Hi, I also tried to use one GPU to train the model, but I met this issue . Do you know what cause this issue. Many thanks!

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