Make cog local runner match /tmp/shm size on Replicate
Followup on https://github.com/replicate/cog/issues/1293#issuecomment-1952954820
The limit on replicate should be min(50% system memory, 8GB). Which instance size did you check this with?
Tesla T4
https://gist.github.com/nelsonjchen/0beb9585c3928a1355207d25519fe662
@yorickvP @technillogue Is 6GB the correct value to use here? Or is 8GB correct?
@nelsonjchen Thanks for taking the time to open this PR. Sorry for not acting on it sooner. I'm merging this now and will cut a release with this change later this week.