Code Monkey home page Code Monkey logo

Comments (4)

laurenyu avatar laurenyu commented on September 18, 2024

Sorry for the delay in response.

Unfortunately, requirements.txt support is available only for PyTorch 1.3.1+ with the serving images. Is there a reason you need 1.2.0 specifically?

from sagemaker-pytorch-inference-toolkit.

alohia avatar alohia commented on September 18, 2024

It is also supported in 1.1.0. I need 1.2.0 because pytorch 1.3.1 gives a higher latency for my model. Can you point me to the code section where this part is implemented? I will look into incorporating this.

from sagemaker-pytorch-inference-toolkit.

laurenyu avatar laurenyu commented on September 18, 2024

you will need to rebuild the Docker image with the updated source in https://github.com/aws/sagemaker-inference-toolkit, which is a dependency of this repository.

alternatively, you could try something like

import sys

sys.check_call([sys.executable, '-m', 'pip', 'install', '-r', 'requirements.txt'])

in your inference script.

I've also reached out to the team responsible for building the PyTorch images to see if they would be able to update the 1.2.0 images.

from sagemaker-pytorch-inference-toolkit.

awcchungster avatar awcchungster commented on September 18, 2024

Hi @alohia, we recently release the PyTorch 1.4.0 containers. Does that work with your inference workflow?

from sagemaker-pytorch-inference-toolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.