Any workarounds for pytorch being too large?
creolio opened this issue · 1 comments
creolio commented
I've implemented simalign into my heroku app, but as soon as I've done so, I get the "Compiled slug size: 1G is too large (max is 500M)." error.
Reviewing the files, I can see that pytorch alone is responsible for 600MB of memory, which simalign depends on. I also tried Digital Ocean, but seem to be running into similar issues.
Any ideas for working around this to reduce the memory consumption required by simalign because of pytorch?