cd /news/machine-learning/pytorch-fixes-silent-sparse-matrix-e… · home › topics › machine-learning › article
[ARTICLE · art-170249] src=runtimewire.com ↗ pub= topic=machine-learning verified=true sentiment=· neutral

PyTorch fixes silent sparse-matrix errors from strided COO indices

PyTorch merged a fix on its main branch on November 15th, 2026, for a sparse-tensor bug in which strided COO indices could silently move values to the wrong row during CSR and BSR conversion, and on the CPU path could write past its output buffer and corrupt the heap. The commit changes the CPU and CUDA paths that convert COO indices to CSR indices.

read1 min views1 publishedNov 16, 2026
PyTorch fixes silent sparse-matrix errors from strided COO indices
Image: Runtimewire (auto-discovered)

A transposed coordinate list could move values to the wrong row in CSR and BSR conversion, and the CPU path could write past its output.

        By [RuntimeWire Staff](https://runtimewire.com/author/runtimewire-staff)
        · Published 

PyTorch has merged a fix for a sparse-tensor bug that returned wrong results without raising an error and, on CPU, could write outside its output buffer and corrupt the heap. The merged commit landed on the main branch on November 15th, 2026, and changes the CPU and CUDA paths that convert COO indices to CSR indices.…

── more in #machine-learning 4 stories · sorted by recency
── more on @pytorch 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/pytorch-fixes-silent…] indexed:0 read:1min 2026-11-16 · —