Giter VIP home page Giter VIP logo

Comments (5)

harshbafna avatar harshbafna commented on May 14, 2024

@chauhang : Looks like you missed cloning the serve repo inside the docker directory before running the docker build command.

Since torchserve is currently not available in PyPi as a python package, we are currently installing by cloning the repo in docker.

Steps from Readme :

cd serve/docker
git clone https://github.com/pytorch/serve.git
cp <path_to_resnet-18_MAR_file> .
docker build -t torchserve:1.0 .

Could you please verify?

from serve.

chauhang avatar chauhang commented on May 14, 2024

Thanks @harshbafna Missed the step for git clone inside docker. Was able to proceed after this. Also the step for copying the resnet-16.mar is not optional, docker build fails with below error if the file is not present:

Step 16/24 : COPY resnet-18.mar /home/model-server/model-store/resnet-18.mar
COPY failed: stat /var/lib/docker/tmp/docker-builder165363248/resnet-18.mar: no such file or directory

from serve.

harshbafna avatar harshbafna commented on May 14, 2024

@chauhang : Thanks for pointing this out. Will update the documentation.

from serve.

mycpuorg avatar mycpuorg commented on May 14, 2024

@chauhang Can you please confirm?

from serve.

chauhang avatar chauhang commented on May 14, 2024

Thanks, verified.

from serve.

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.