I have written a Google Cloud function. Files are around 100 mb. How do I deploy it? It has a file .caffemodel which is 128 mb.
Looking at the GCP quotas for Cloud Functions found here:
https://cloud.google.com/functions/quotas
we see that the maximum deployment size for a function is 100MB and can not be increased (through quotas). Let us remember the nature of Cloud Functions ... by and large short duration execution times where the number of instances available for processing concurrent work is dynamic and can scale to zero.
Cloud Functions is at the far right of the spectrum of ease of use but that comes at the expense of flexibility (in this case deployment size). The next option in line is the product called Cloud Run. Cloud Run also provides dynamic instance number scaling including scaling to zero. However it (arguably) needs more work to get running. With Cloud Run, you build a Docker image that is then instantiated as needed to process incoming work requests. The Docker image has far fewer restrictions on what it can do. Specifically, the container should be able to accomodate 128 MB data files (trivially)