ViT-Adapter icon indicating copy to clipboard operation
ViT-Adapter copied to clipboard

Video memory occupancy while training

Open CA-TT-AC opened this issue 2 years ago • 1 comments

Hi! I am interested in your work! I am training your UperNet+ViT_adapter_large on ade20k, but I found that while training the model, the cost of video memory is gradually increasing. In detail, I train it on 4*A100 with batch size 4 pre gpu. At first, it costs 16GB per gpu, but after about 60k iters, it increases to 44GB per gpu. I wanna know if it is normal. Looking forward to your reply!

CA-TT-AC avatar May 21 '23 03:05 CA-TT-AC

Hi, you can check nvidia-smi for double confirmation. If it is consistent with or close to the memory cost shown in the log, then it is normal.

czczup avatar Jun 21 '23 14:06 czczup