Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

torchserve docker build fail #266

Closed
adrianhsm opened this issue Jan 27, 2024 · 2 comments
Closed

torchserve docker build fail #266

adrianhsm opened this issue Jan 27, 2024 · 2 comments

Comments

@adrianhsm
Copy link

adrianhsm commented Jan 27, 2024

  1. not torch version is specified, in my case, it is download pytorch 2.1.0, which seems not compatible with mmcv 1.7.0
  2. Change mmcv to 1.7.2 may lead the success of the building, but fail during runnig
  3. Change torch to 1.13.1 may lead to the error of "distribution not found"
  4. Set torch to 2.0.0 seems ok in building and "python image_to_animation.py drawings/garlic.png garlic_out" works fine
@javier-pkg-mda
Copy link

Had same error, fixed by pinning torchserve to this version:
torch==2.0.1

@hjessmith
Copy link
Contributor

Merged PR #275, which addressed docker build fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants