dockerfile for gpu machines install
Please provide a gpu dockerfile for serving gpu dependent models
@harshbafna - Noted will review it today.
Few notes -
-
When I checkout serve, get into serve and then give - ./build_image.sh -b quick_start_scripts --gpu it starts checking out the repo again. Why would a script inside a github repo checkout the same repo again? Feels odd. Also exposing the branch structure of the repo? Is it temporary?
-
In the start.sh script, return code is not checked, so even if the operation fails it displays as successful.
I was able to build the container, register the model and get a prediction from the model server.
[ec2-user@ip-10-0-0-202 serve]$ curl -X POST http://127.0.0.1:8080/predictions/resnet-18 -T kitten.jpg [ { "tabby": 0.40864479541778564 }, { "tiger_cat": 0.3506154417991638 }, { "Egyptian_cat": 0.1260959506034851 }, { "lynx": 0.023326873779296875 }, { "bucket": 0.011855190619826317 } ]
@C24IO
- When I checkout serve, get into serve and then give - ./build_image.sh -b quick_start_scripts --gpu it starts checking out the repo again. Why would a script inside a github repo checkout the same repo again? Feels odd. Also exposing the branch structure of the repo? Is it temporary?
This is a temporary solution as TorchServe is currently not available as a PyPi package and we need to install from source. Thus we clone the serve repo and ADD it to the docker image. This step will be replaced with a simple pip install command in future.
2.In the start.sh script, return code is not checked, so even if the operation fails it displays as successful.
I will make the required changes. Thanks.
Leaving this open & upgrading to launch blocker - not because the current state is bad in any way (I understand the issue with not having PyPi packages ready yet), but just so we don't lose track of the work item before launch.
As soon as there's a PyPi package available and we can fix this, let's close.
@mycpuorg Can we close this now?
@fbbradheintz Marked this as triaged_wait, can you please test it and let us know if this could be closed?