🔥 3-day streak
Professional Machine Learning Engineer59 / 166
Question 59 of 166
Your team is training a large vision transformer on a single NVIDIA A100 (40 GB) GPU using PyTorch on Vertex AI. Research shows the model converges best with an effective batch size of 512, but the GPU runs out of memory at a batch size of 64. You must not change hardware and want to preserve the target effective batch size without degrading convergence. What is the most appropriate technique?
Reviewed for accuracy · Report an issueNext question