Trouble with PyTorch inputs
MLOps2 posts from 2 people2d active+11 post in the last 7 days, 1 the 7 days before (steady)Unverified
Posts per day
The posts behind it
2, newest first[MPS] integer torch.bincount is ~1000x slower when most inputs fall in one bin## 🐛 Describe the bug On MPS, integer `torch.bincount` gets ~1000x slower as more inputs land in the same bin. The weighted path and `torch.unique(return_counts=True)` give the same counts in ~1 ms. 1M int64 inputs, 630 bins, Apple M3 Max: | fraction of inputs in bin 0 |...pytorch/pytorch · ArthurZucker3 repliesOpen ↗torch.compile: complex sgn decomposition overflows on tiny inputs which causes NaN gradients in abs backward...in eager mode but gets intermittent NaN gradients under `torch.compile`. I traced the failing `abs` backward to a single STFT residual element of magnitude 1.4e-45 and the repro below shows the same failure without the model. I made an experiment of two runs with that model by...pytorch/pytorch · Shakil-MuhitOpen ↗
Companies and products named
About this problem
Evidence
2 posts from 2 people in 1 place, about 2 a week over 6 days. Mostly on pytorch/pytorch. Tools named alongside: NVIDIA.
Frustration Frustration 0 of 3· Seen on GitHub issues
How it was grouped
Posts about PyTorch with no known issue, sharing the word "inputs". First post Oct 10, 2026, latest Oct 15, 2026. Unverified: fewer than 3 posts, or one person or place only. Method
Other PyTorch problems
PyTorch users keep filing bugsTrouble with PyTorch inputTrouble with PyTorch truePyTorch deprecations force unplanned migrationsPyTorch upgrades break working setupsTrouble with PyTorch workerPyTorch builds are slow or flakyTrouble with PyTorch inductorPyTorch GPU access and drivers are painfulTrouble with PyTorch testPyTorch vulnerabilities are hard to triage and patchRunning PyTorch locally hits memory and speed limits
History
fading to steady
new to fading
Trouble with PyTorch inputs (1 post)