You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# backend-lambda-layer
2
2
3
-
This backend layer makes a few important preparations to the lambda runtime during initialization:
3
+
This is Lambda layer that allows HumanGraphics to run AI/ML models in AWS Lambda using SnapStart.
4
+
5
+
It makes a few important preparations to the lambda runtime during initialization:
4
6
5
7
1. Use a custom `AWSLambda` implementation to load the application in the system classloader. By default, the application is loaded in a separate classloader. This is important because native libraries are only allowed to be loaded from one classloader in an application, and splitting classloaders causes problems with JNI loading.
6
8
2. Modify the classpath to include the `/var/task` folder, which is where the application is unzipped. This is important because services are only allowed to load from the classpath.
0 commit comments