Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
newhouseb
on May 11, 2023
|
parent
|
context
|
favorite
| on:
100K Context Windows
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:
[1] https://kipp.ly/blog/transformer-inference-arithmetic/