Exam NCA-GENM Topic 1 Question 213 Discussion

Actual exam question for NVIDIA's NCA-GENM exam
Question #: 213
Topic #: 1
You are using NeMo to fine-tune a large language model for a text-to-image task. During training, you encounter a CUDA out-of-memory error, despite using mixed-precision training. What is the MOST effective strategy to reduce memory consumption and continue training without significantly degrading model performance?

Suggested Answer: C Vote an answer

Gradient checkpointing (also known as activation recomputation) trades compute for memory. It avoids storing all intermediate activations during the forward pass, instead recomputing them during the backward pass. This significantly reduces memory footprint, allowing you to train larger models or use larger batch sizes. Increasing batch size increases memory consumption. Decreasing gradient accumulation steps might help slightly but is less effective than gradient checkpointing. Switching to a smaller model or disabling mixed precision would degrade model performance.

by Olga at Feb 23, 2026, 07:22 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10