Y
Hacker News
new
|
ask
|
show
|
jobs
by
fastball
6 days ago
Tokenization is <0.1% of the inference time for the first token in the same way it is <0.1% for the last.
1 comments
marcelroed
6 days ago
Time to first token refers to the time until the model outputs one token, which includes the time to process the entire prompt (doing prefill). The GPU time per token is much lower when doing prefill, so the significance of tokenization is higher.
link
dingdingdang
6 days ago
Have you done preliminary numbers on replacing tokenizer on, say, llama-server?
link
marcelroed
6 days ago
Added numbers here:
https://news.ycombinator.com/item?id=49015014
link
marcelroed
6 days ago
Running the numbers now
link