gpu-memory-cleanup

Preventing Jupyter cell hangs with explicit CuPy GPU memory cleanup