serve icon indicating copy to clipboard operation
serve copied to clipboard

object_detector default handler does not seem to be using multiple GPUs

Open fbbradheintz opened this issue 6 years ago • 7 comments

The other default handlers seem to work on many GPUs without difficulty, but CloudWatch is telling me that only GPU 0 is being used by object_detector.

fbbradheintz avatar Apr 14 '20 23:04 fbbradheintz

@fbbradheintz : This is a issue with the current stable release of torchvision and we already have #104 open for tracking this.

To keep the default handler working, we have deliberately kept the GPU device to cuda:0.

harshbafna avatar Apr 17 '20 06:04 harshbafna

@harshbafna thanks for confirming.

@fbbradheintz I'm removing the launch blocker tag.

mycpuorg avatar Apr 17 '20 13:04 mycpuorg

@mycpuorg You mentioned in your previous comment that you will remove the launch_blocker tag, but you did not. Should we?

virgo24i avatar Apr 18 '20 16:04 virgo24i

This is not, in fact, a problem with TorchVision, but a bug in object_detector.py. Putting up a fix shortly.

fbbradheintz avatar Apr 21 '20 01:04 fbbradheintz

Covered by @harshbafna in #265, requested changes pending.

fbbradheintz avatar Apr 24 '20 22:04 fbbradheintz

Closing this because https://github.com/pytorch/serve/pull/265

mycpuorg avatar May 26 '20 17:05 mycpuorg

Reopening because the changes have not made it to master yet

mycpuorg avatar May 26 '20 17:05 mycpuorg