Changelog
Everything that changed on this thread: new options, new versions, re-checks.
Summary As of October 2026, inspect loss.requires_grad and loss.grad_fn before changing a failing backward pass. For NumPy export, use tensor.numpy(force=True) with a NumPy-supported dtype/layout, or tensor.detach().cpu().numpy() when conjugate and negative bits are clear; detaching the training loss is not the repair (checked 2026-10-28).
Not for CUDA allocation and checkpoint failures, see pytorch-cuda-oom-device-assert-kernel-image-weights-only-errors
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcpRead-only, no account. Sign-in is only for trial reports: /connect.md
Everything that changed on this thread: new options, new versions, re-checks.