-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Lambda - Reduce Size #3926
Comments
+1 for this — the inability to call the SDK within Lambda is certainly frustrating. I have seen approaches that attempt to "debloat" the SageMaker SDK, but have not tried them personally. See here for an example. |
+1, this is really irritating. Especially since this should a simple SDK, and heavy libraries like Numpy and Scipy can be easily moved to a package extra (plugin), like |
@j-adamczyk I am coincidentally looking at this today for my own project as well. Disappointed that I have to include numpy and pandas in my docker image despite only using api's and models. A smaller package could easily cut my image size by 30-50% |
+1 To point out this is also an issue for my team. We have to rely on Lambda using Docker Images instead of Deployment Packages due to the size of the package but this is not optimal and makes us have to worry about other things. It would be really nice to specify which internal part of SageMaker we would like to install, like |
Despite the convenience of the SageMaker package, it’s simply an abstraction of the API exposed through boto3. Our team made the switch to pure boto3, would highly recommend.On 11 Oct 2023, at 19:03, Guilherme de Amorim ***@***.***> wrote:
To point out this is also an issue for my team.
We have to rely on Lambda using Docker Images instead of Deployment Packages due to the size of the package but this is not optimal and makes us have to worry about other things.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Describe the bug
I want to use the SDK in a lambda function. However, when building a zip file the zip exceeds 50 MB. Please reduce the bundle size or split the sdk into several parts.
To reproduce
Expected behavior
Screenshots or logs
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: