neat icon indicating copy to clipboard operation
neat copied to clipboard

The gpu-Util is low

Open raozhongyu opened this issue 2 years ago • 4 comments

I try to train the model but the GPU-Util is only 20% with cuda 10.1 and torch 1.7. Is that normal?

raozhongyu avatar Jun 19 '22 13:06 raozhongyu

I also train the transfuser model which the GPU can reach 90%.

raozhongyu avatar Jun 19 '22 13:06 raozhongyu

Can you say more about the model training with 20% util? Which model did you train? what batch size did you use? how much GPU memory was occupied?

ap229997 avatar Jun 22 '22 04:06 ap229997

I train the neat model with 1.7.0 with batch size of 16. The GPU memory is about 10G. In addition, the GPU-Util is normal when i train other model such as AIM-bev model.

raozhongyu avatar Jun 22 '22 06:06 raozhongyu

The GPU-util for NEAT is expected to be lower than other models since the dataloader for neat involves a lot more computation but I can't tell by what factor. If you have a GPU with higher memory then you can try increasing the batch size or you can also try to make the __getitem__ more efficient.

ap229997 avatar Jun 23 '22 03:06 ap229997