SparseBEV icon indicating copy to clipboard operation
SparseBEV copied to clipboard

Cuda out of memory

Open Orange-rightperson opened this issue 2 years ago • 2 comments

I run inference use single A100 40G, at the begining it will work fine but the cuda out of memory will occur , could you please give me some advice to avoid the GPU usage growing up?

Orange-rightperson avatar Nov 10 '23 07:11 Orange-rightperson

I notice when inference tasks per second will grow, can I fix this to reduce the memory?

Orange-rightperson avatar Nov 10 '23 08:11 Orange-rightperson

Sorry for the late reply. I optimized the code and now you should be able to evaluate vov99 model on your GPU. By the way, you can further boost the speed by setting self.fp16_enabled = True in simple_test_online.

afterthat97 avatar Nov 13 '23 06:11 afterthat97