szymonmaszke / torchlambda

Lightweight tool to deploy PyTorch models to AWS Lambda
MIT License
125 stars 3 forks source link

Python Version 3.7+? #4

Open lance-miles opened 4 years ago

lance-miles commented 4 years ago

First off, I would like to say thank you so much for building this! It has been incredibly easy to use and I am looking forward to testing this out in production.

In step 6, where we package our model as AWS Lambda Layer, I believe the ZipFile package that you are using is for Python 3.7+ as the compresslevel argument is not available for Python 3.6 and lower.

szymonmaszke commented 4 years ago

Thanks for catching, will improve upon this functionality and close as soon as I'm done with it.