🔥 3-day streak
AWS Certified Machine Learning Engineer - Associate67 / 194
Question 67 of 194
A machine learning engineer is training a large transformer model on a single SageMaker ml.g5.xlarge instance. Research suggests the model converges best with an effective batch size of 256, but the GPU runs out of memory at a batch size of 32. The engineer cannot afford a larger multi-GPU instance for this experiment. Which technique allows the engineer to achieve the desired effective batch size of 256 without exceeding GPU memory?
Reviewed for accuracy · Report an issueNext question