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

Memory leaked when the model and trainer were reinitialized #3136

Open
earthlovebpt opened this issue Dec 14, 2024 · 0 comments
Open

Memory leaked when the model and trainer were reinitialized #3136

earthlovebpt opened this issue Dec 14, 2024 · 0 comments

Comments

@earthlovebpt
Copy link

earthlovebpt commented Dec 14, 2024

examples/training/data_augmentation/train_sts_seed_optimization.py

  • I ran this code in Colab, and the memory usage kept increasing whenever I ran the next trainer.
Screenshot 2567-12-14 at 23 43 31
  • After I removed trainer and model at the end of each training, the memory usage was still high.
Screenshot 2567-12-14 at 23 56 18
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