stable-baselines3/docs/misc
Ole Petersen 6c00565778
Fix memory leak in base_class.py (#1908)
* Fix memory leak in base_class.py

Loading the data return value is not necessary since it is unused. Loading the data causes a memory leak through the ep_info_buffer variable. I found this while loading a PPO learner from storage on a multi-GPU system since the ep_info_buffer is loaded to the memory location it was on while it was saved to disk, instead of the target loading location, and is then not cleaned up.

* Update changelog.rst

* Update changelog

---------

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
2024-05-15 15:59:32 +02:00
..
changelog.rst Fix memory leak in base_class.py (#1908) 2024-05-15 15:59:32 +02:00
projects.rst Adding ER-MRL to community project (#1904) 2024-04-25 14:31:15 +02:00