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

GPU deployment unable to get the performance benefits #7

Closed
srinivaskotamraju opened this issue May 22, 2020 · 1 comment
Closed

GPU deployment unable to get the performance benefits #7

srinivaskotamraju opened this issue May 22, 2020 · 1 comment

Comments

@srinivaskotamraju
Copy link

In the Benchmarking section, there are improvements when the inference server is deployed against a GPU infrastructure. We are using Tesla V100-PCIE-16GB, however we are not seeing any improvements in the inference time as published in the benchmarks. NOT looking for similar numbers, however expecting to see some improvements in the numbers because of the GPU infrastructure.

We are using the deployment command as provided "sudo NV_GPU=0 nvidia-docker......".

Do we need to enable any other options in the GPU machine?

@JoeSL
Copy link
Member

JoeSL commented Jul 24, 2020

Hello @srinivaskotamraju.

I would recommend to monitor the GPU utilization before and after running the docker-container to see if the GPU is being used.
For that use the following command: watch -n 0.1 nvidia-smi
This will refresh the GPU utilization data at a rate of 0.1 seconds.

This way you'll get a better insight on whether the GPU is being used and at what rate and also if other processes are using the GPU thus leaving the API with little amount of memory left.

In case you have multiple gpus on the machine, try replacing the gpu number in the NV_GPU variable to the number of the GPU you wish to use to check if the problem persists

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