A data scientist is fine-tuning a large language model using Vertex AI. The training job fails with an out-of-memory error. Which action should they take to resolve this issue?
Trap 1: Change the accelerator to TPU
TPU still has memory limits; reducing batch size is more direct.
Trap 2: Use a larger model
Larger models require more memory.
Trap 3: Increase the batch size
Increasing batch size increases memory usage.
- A
Change the accelerator to TPU
Why wrong: TPU still has memory limits; reducing batch size is more direct.
- B
Use a larger model
Why wrong: Larger models require more memory.
- C
Increase the batch size
Why wrong: Increasing batch size increases memory usage.
- D
Reduce the batch size
Smaller batch size reduces memory footprint.