minimal heroku deployment #6284
Unanswered
naraugialusru
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a simply way to deploy a trained lighting module on heroku so that it is as small as possible?
Naively pushing my model and app code yields a heroku slug that is about 1G. I'd like it to be less than 500M.
With pytorch, I solved a similar problem by using a lightweight wheel (in this case, https://download.pytorch.org/whl/cpu/torch-1.7.1%2Bcpu-cp36-cp36m-linux_x86_64.whl) instead of the full pytorch package.
Beta Was this translation helpful? Give feedback.
All reactions