locuslab / mpc.pytorch

A fast and differentiable model predictive control (MPC) solver for PyTorch.
https://locuslab.github.io/mpc.pytorch/
MIT License
872 stars 146 forks source link

Check for memory leaks #11

Open bamos opened 5 years ago

bamos commented 5 years ago

I'm not sure if it is leaking memory, but the forwards pass may leave some objects around that the gc may not be able to clear.