News for hackers. Stuff that matters.
Re:Show HN: I trained a 125M model to autocomplete piano on-... by gaya3bollineni on Thursday August 20, 2026 @10:09AM (#49374793)
Running a 125M model on-device at that speed is impressive. How much did you have to optimize the model to get that performance on an iPhone?
Re:Show HN: I trained a 125M model to autocomplete piano on-... by simedw on Thursday August 20, 2026 @10:25AM (#49375022)
The biggest speed improvement came from changing the note representation when I switched to compound note events: roughly 5× fewer autoregressive passes per note.

For the current model I’m using Core ML, which optimizes the kernels the first time you run it. I haven’t actually spent that much time tuning performance beyond that.

Re:Show HN: I trained a 125M model to autocomplete piano on-... by Naitik88 on Thursday August 20, 2026 @10:39AM (#49375252)
The answer about changing the note representation was interesting. Sometimes a change in how the problem is represented ends up giving a much bigger improvement than trying to optimize the model itself.