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

I tried to inscrease batchsize but met some difficulties #83

Open
DengYizhe opened this issue Dec 23, 2024 · 0 comments
Open

I tried to inscrease batchsize but met some difficulties #83

DengYizhe opened this issue Dec 23, 2024 · 0 comments

Comments

@DengYizhe
Copy link

DengYizhe commented Dec 23, 2024

I inscreased batchsize by refill the shape of query(Instances in code) in different batches by 0 or -1, which made it possible to train in batchsize>1 during pre process, and keep the post process batch by batch. But I met the problem that loss is large, grad_norm is small and the loss descents slowly. I wonder if anyone else tried to achieve larger batchsize, and did you met the same case?

@DengYizhe DengYizhe changed the title I tried to inscrease batchsize I tried to inscrease batchsize but met some difficulties Dec 23, 2024
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

1 participant