runpod-workers / cog-worker

Cog based workers to RunPod serverless workers.
MIT License
13 stars 7 forks source link

Add a custom timeout option for cog worker #3

Open AHarmlessPyro opened 10 months ago

AHarmlessPyro commented 10 months ago

Modified the image to have a environment variable to set the timeout for cog workers. This is helpful when running longer operations, like those for video face-swap, lip-sync, etc. Still set to timeout at 600s by default. Option can be modified in the runpod serverless template.