AWS Lambda: create a pytorch layer?

Published

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>.amazonaws.com

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

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

Answers

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
faq