GPU RAM to train YOLO v5

How much GPU RAM is needed to train yolov5 s, m, l, x models with default parameters?

I want to understand whether I’ll be able to train a high quality model on my laptop (RTX 3050, 4GB) or desktop (RTX 3060, 12GB) or it’s way too little and I need to look for something more exotic.

Similar RAM question for inference.

Thanks!