AWS Lambda: create a pytorch layer?


I am trying to build a docker image that carry torch library.

I’m following this tutorial but an error block me on this line:

aws ecr get-login-password --region <REGION> | docker login --username AWS --password-stdin <AWS_ACCOUNT_ID>.dkr.ecr.<REGION>

aws: error: argument operation: invalid choice, valid choice are: followed by a list of choices.

I tried some of them, thinking it was just a deprecated command but I don’t find the one I should use to make it work.

Source: Docker Questions

Categorised as amazon-web-services, docker, pytorch Tagged , ,


Leave a Reply

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us