I just killed Time to First Token. 🚀
Fresh sessions kept making my model reread the same opening prompt/tokens. So I precomputed them once and saved the state.
My TTFT dropped from 19s to 0.3s, a 63× speedup with zero quality loss.
As usual, I will be doing a PR for oMLX.
https://t.co/HQudCXL3nR
Video in the comments 👇🏼