spcl / serverless-benchmarks

SeBS: serverless benchmarking suite for automatic performance analysis of FaaS platforms.
https://mcopik.github.io/projects/sebs/
BSD 3-Clause "New" or "Revised" License
150 stars 68 forks source link

Support PyTorch benchmark for Python 3.8 and 3.9 on Lambda #165

Closed mcopik closed 1 year ago

mcopik commented 1 year ago

Torch versions needed in Python 3.8 and 3.9 are too large to fit in Lambda. To support them, we zip torch Python package and add unzipping to the cold start procedure. This is skipped on Python 3.7

In the future, we might need to use Docker images as a better solution for large packages.