Bug description
Consistent CUDA memory issues when running compute_grpo_loss in book section 6.10 ("putting it all together).
What operating system are you using?
Linux
Where do you run your code?
Local (laptop, desktop)
Environment
Python version: 3.12.3 (main, Mar 23 2026, 19:04:32) [GCC 13.3.0]
PyTorch version: 2.11.0+cu130
CUDA available: True
CUDA device: NVIDIA GeForce RTX 3060 Laptop GPU
CUDA version: 13.0
Device count: 1
Bug description
Consistent CUDA memory issues when running compute_grpo_loss in book section 6.10 ("putting it all together).
What operating system are you using?
Linux
Where do you run your code?
Local (laptop, desktop)
Environment