pycaret/deployment-heroku

pycaret 2.2.3 and streamlit - heroku exceeds 500MB slug size limit for Free dyno

salilathalye opened this issue · 2 comments

Built a pipeline and catboost model using pycaret 2.2.3 and streamlit 0.73.1. Followed the example here, paring down modules to what is shown in app.py. Added a .slugignore etc. to further try and reduce the slug size which is 547MB and exceeds the 500MB limit for Free tier dynos in Heroku. On the streamlit repo, the advice was to use an earlier version of PyCaret.

Have you tried to run this repo with 2.2.x using streamlit and heroku? Has the footprint of PyCaret increased dramatically over the past 6-7 months? Any tips/tricks to slim down the slug?

Added a reply to a streamlit issue regarding PyCaret/streamlit on Heroku:
https://discuss.streamlit.io/t/request-for-invitation/6432/8?u=salilathalye

Here is a link to my repo if someone needs to recreate the issue.
https://github.com/salilathalye/cwa-dphitech-challenge-54