Skip to content
Back

function build size too large , causing deployment to fail

  • 0
  • Functions
Ridoo
9 Nov, 2024, 21:05

My function performs a set of operations on images including object detection, but when i try to deploy the function i get a error stating the build size limit has been exceeded.

I figured this is due to the size of the torch and torchvision libraries , was wondering if there is a workaroun for this or would i have to seperately host the object detection model and then call it via an api maybe?

TL;DR
Function build size exceeds limit due to large torch and torchvision libraries used for object detection. Consider hosting the object detection model separately and calling it via an API to work around the size limit.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more