4 ms·
Google Cloud Functions is awesome, except for the 10 MB file limit and lack of GPU support, making it pretty much unusable for compute-heavy ML models. If Goog
by panabee 6y ago
Google Cloud Functions is awesome, except for the 10 MB file limit and lack of GPU support, making it pretty much unusable for compute-heavy ML models.
If Google could ever lift these restrictions, GCF would be perfect for auto-scaling ML models.
- smashah 6y agoWhat do you mean by file limit? I made a GCF service to handle 400mb+ video files
- bttrfl 6y agoNot OP, but perhaps he meant size of data passed directly in a request which is indeed 10MB: https://cloud.google.com/functions/quotas https://cloud.google.com/functions/quotas I don't think I had any issues loading larger files from Storage either.
- panabee 6y agoYes, data passed directly into a request. Files loaded from storage are exempt from the limit.
- panabee 6y agoData passed directly into a request is limited to 10 MB, but you can use storage to load larger files.
- tedk-42 6y agoYou got the wrong idea about serverless if you think it should have a GPU attached to run your ML dataset. Generally speaking, you want it to do something simple and quickly
- adwww 6y agoAlso the request timeout needs to be raised. I have a few workloads that execute only very infrequently, which makes them suitable for functions, except when they do run they sometimes exceed the 10 minute timeout.
- tlarkworthy 6y agoCloud Run has 1 hour timeout in Beta https://cloud.google.com/run/docs/configuring/request-timeout https://cloud.google.com/run/docs/configuring/request-timeou...