Heroku: slug size too large after installing Pytorch
The pytorch package that you’re installing comes with both cpu and gpu support, thus has a large size. It seems you’re using the free version of heroku, and only require the cpu support. The solution is to install the pytorch package for cpu only i.e. In requirements.txt, write the wheel file path corresponding to the … Read more