Quiz 25 Question 16 of 20

You need to log GPU utilization and VRAM statistics programmatically within a custom PyTorch training script to trigger automatic garbage collection when memory thresholds are exceeded. Which tool provides a native Python API for GPU querying in addition to its interactive terminal-based monitoring interface?

Select an answer to reveal the explanation.

Motivation