Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Naively, yes, but you can cache the bulk of that "rerunning" [1]. That said the (non-flash) attention costs go up with the length of the sequence so perhaps this is just a simpler way to approximate these costs.

[1] https://kipp.ly/blog/transformer-inference-arithmetic/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: