Thanks for this, I spent 2 days trying to deploy my Pytorch model on heroku.

Original article was published on Deep Learning on Medium

Thanks for this, I spent 2 days trying to deploy my Pytorch model on heroku. I kept on overshooting the 500MB limit for free dyno. This solved it for me