deep-learning-containers icon indicating copy to clipboard operation
deep-learning-containers copied to clipboard

[feature-request] Support for EAI for framework 1.6.0/1.7.0

Open anotinelg opened this issue 6 years ago • 37 comments

Hi,

do you have an ETA for supporting Elastic inference with the 1.6.0 framework? And also, are you going to add to this repository the docker files for the old 1.4.1 framework? Thank you

Checklist

  • [ ] I've prepended issue tag with type of change: [feature]
  • [ ] (If applicable) I've documented below the DLC image/dockerfile this relates to
  • [ ] (If applicable) I've documented the tests I've run on the DLC image
  • [ ] I'm using an existing DLC image listed here: https://docs.aws.amazon.com/deep-learning-containers/latest/devguide/deep-learning-containers-images.html
  • [ ] I've built my own container based off DLC (and I've attached the code used to build my own image)

Concise Description:

DLC image/dockerfile:

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

anotinelg avatar Jun 18 '20 22:06 anotinelg

@anotinelg Thanks for your interest ! We are working on migrating EIA Dockerfiles to this repo and on upgrades. But I don't have a timeline that I can share with you yet.

anankira avatar Jun 19 '20 19:06 anankira

+1 on this. Even updated images for PyTorch 1.5.1 would do (for me at least). @anankira if there's a way you can guide us through we will happily submit a PR.

bachsh avatar Aug 01 '20 20:08 bachsh

+1 Have same problem. @anankira, same as @bachsh said, it will be very helpful somehow to get to the updated image.

MarkG avatar Aug 02 '20 19:08 MarkG

@MarkG @bachsh Ack, we will provide an update soon on the Elastic inference DLC updates for Pytorch.

@anotinelg To clarify, are you looking for Elastic inference support for MXNet-1.6 ?

anankira avatar Aug 02 '20 19:08 anankira

@anankira , any news on this? I'd like to point out that using EIA is the only thing that makes us interested in SageMaker for inference (due to the cost reduction). And again, if there's a way you can guide us or point us to the relevant resources on how to create the images we will happily contribute to the repo.

bachsh avatar Sep 03 '20 21:09 bachsh

@bachsh thanks for that feedback. I am communicating with the AWS Elastic Inference team and will respond.

anankira avatar Sep 03 '20 21:09 anankira

@anotinelg, for MXNet we're planning to skip 1.6 and go straight to 1.7 in the next month or so.

@bachsh and @MarkG, for PyTorch we're planning to skip 1.4 and go straight to 1.5 and 1.6 in the next month or so.

As we get closer to release we'll update this issue again.

samskalicky avatar Sep 11 '20 17:09 samskalicky

Just a note that it would be great if AWS documentation could be more explicit as to the PyTorch version support across various platforms. We've just discovered that PyTorch 1.3.1 is the latest supported release with EIA, which doesn't seem to be explicitly stated anywhere? It's sort of implied by it being the latest available wheel in the S3 bucket, but it's quite confusing when there's numerous AWS blog posts and associated articles announcing support for newer PyTorch releases.

ralish avatar Sep 15 '20 23:09 ralish

@ralish The Deep Learning Containers docs maintain the available versions (that page actually leads back to a page on this repo BTW)

anankira avatar Sep 16 '20 00:09 anankira

@anankira Thanks for that. I think part of the issue is we're not running an AWS Deep Leaning container but installing the PyTorch EIA wheel on our underlying distribution. As far as I'm aware, PyTorch 1.3.1 is the latest supported PyTorch for EIA via any usage, be that an AWS Deep Learning AMI, an AWS Deep Learning Docker container, or directly installing the wheel on a Linux distribution. If so, the supported version(s) should be more prominently displayed?

As we're installing the wheel we didn't look under the Docker container image documentation. The supported ML frameworks and associated versions feels to me quite fundamental and should be displayed on a page of its own in the AWS documentation, or a more generic page not specific to containers or AMIs.

ralish avatar Sep 16 '20 00:09 ralish

@ralish That's good feedback. We will work on updating the Elastic Inference docs.

anankira avatar Sep 16 '20 18:09 anankira

@anotinelg, for MXNet we're planning to skip 1.6 and go straight to 1.7 in the next month or so.

@bachsh and @MarkG, for PyTorch we're planning to skip 1.4 and go straight to 1.5 and 1.6 in the next month or so.

As we get closer to release we'll update this issue again.

Hi @samskalicky, @anankira do you have some news on the release of eia for mxnet 1-7? Thanks

anotinelg avatar Nov 04 '20 11:11 anotinelg

Hi @anotinelg the upgrade to MX 1.7 is on-going, we're looking at sometime in January for it to be complete.

samskalicky avatar Nov 04 '20 17:11 samskalicky

Hi @anotinelg the upgrade to MX 1.7 is on-going, we're looking at sometime in January for it to be complete.

Thanks for the information! Meanwhile, what do you recommend? what is the version of mxnet (superior to 1.4.1) which has images for both training-gpu, and inference eia? the 1.5.2? thanks

anotinelg avatar Nov 04 '20 20:11 anotinelg

Hi @anotinelg the upgrade to MX 1.7 is on-going, we're looking at sometime in January for it to be complete.

Thanks for the information! Meanwhile, what do you recommend? what is the version of mxnet (superior to 1.4.1) which has images for both training-gpu, and inference eia? the 1.5.2? thanks

unfortunately it looks like there was a lapse and theres no 1.5.0 or 1.5.1 training container unless @saimidu knows of anything else.

So to use 1.5.1 inference container for EI you would need to train with 1.4.1 (older versions of trained models can run in newer versions for inference, but not vice-versa). Once we finish getting the 1.7 EI release out then there will be a nice pair of 1.7 training/inference containers

samskalicky avatar Nov 05 '20 01:11 samskalicky

Hi all, do you an have ETA on EIA support for PyTorch 1.6.0? Thanks!

fra-luc avatar Nov 05 '20 08:11 fra-luc

Hi @fra-luc , The upgrade to PyTorch 1.6.0 is on-going, we're looking at sometime in February to fully support it.

tracycxw avatar Nov 05 '20 18:11 tracycxw

Thank you @tracycxw

fra-luc avatar Nov 05 '20 21:11 fra-luc

Hi @anotinelg the upgrade to MX 1.7 is on-going, we're looking at sometime in January for it to be complete.

Hi @samskalicky, last ETA for 1.7 eia was january. is there an update on that? Thank you very much Antoine

anotinelg avatar Feb 09 '21 12:02 anotinelg

Hi @anotinelg,

We're almost there! We've released the binary to the S3 bucket mentioned in the docs. The HTTP URL is: https://amazonei-apachemxnet.s3.amazonaws.com/eimx-1.0-py2.py3-none-manylinux1_x86_64.whl

However, we have not yet finished updating the docs (they are still current for the previous 1.5.1 release) and are not valid for the latest 1.7 release. So YMMV until we finish updating the docs and examples. We expect this to happen soon in the next few weeks.

We'll update here once the docs/examples are updated/live.

samskalicky avatar Feb 09 '21 21:02 samskalicky