4297715a08
torch.cuda.memory_allocated only tracks PyTorch allocator. Added torch.cuda.mem_get_info to see actual CUDA driver memory usage. Also offload video_enc (TextSynch) which was missed in the original offload — stays on GPU when strategy != offload_to_cpu. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>