-
Notifications
You must be signed in to change notification settings - Fork 867
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-kserve 0.8.0-gpu image is missing several dependencies #2354
Comments
BTW, KServe has moved away from Tornado in favor of FastApi/Uvicorn: kserve/kserve#2444 |
For now, implemented workaround from #2123 |
Installed Tornado, however there is another dependency missing. This time from the kserve package:
Seems like this class has been moved to more appropriate |
Probably would be fixed by: #2175 |
Building torchserve-kfs:0.8.0-gpu based on #2175 works for me. |
Alright I merged that PR - cc @agunapal we need to release the binaries |
@msaroufim So, should we revert this #2355 |
I don't believe #2355 was merged but also worth doing a manual sanity check like @cjidboon94 did or ideally merging your kserve CI PR |
@cjidboon94 Thanks for reporting the issue and finding the solution. Republished the images. Please check. |
I dont see the import error with the new images when I run the docker run command |
@agunapal Thanks! It works for me too. Good to be able to use the officially released image again |
@agunapal @msaroufim Btw, you might want to rebuild the 0.7.1 torchserve-kserve images too, as this issue also seems to be occurring there: #2123 |
🐛 Describe the bug
I'm in the process of upgrading my torchserve runtime on KServe to 0.8.0, for this I updated my Inferenceservice's image to:
https://hub.docker.com/layers/pytorch/torchserve-kfs/0.8.0-gpu
However, on startup it seems that Tornado is not installed and the following error occurs:
ModuleNotFoundError: No module named 'tornado'
Error logs
Installation instructions
I pulled the image from https://hub.docker.com/layers/pytorch/torchserve-kfs/0.8.0-gpu
Model Packaing
Does not seem relevant as this happens before model loading occurs.
config.properties
Not relevant
Versions
See the docker image
pytorch/torchserve-kfs:0.8.0-gpu
Repro instructions
docker run --rm --gpus=all pytorch/torchserve-kfs:0.8.0-gpu
Possible Solution
Installing tornado
The text was updated successfully, but these errors were encountered: