Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
1–10 of 180 posts
Re: Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
#2Re: Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
#3Re: Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
#4Re: Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
#5How does the target model validate the draft tokens without running the inference as normal?
Because if it is doing just that, I don't get the point as you can't trust the draft tokens before they are validated, so you're still stuck waiting for the target model.
Re: Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
#6Maybe I'm especially daft this morning but I don't get the point of the speculative decoding. How does the target model validate the draft tokens without running the inference as normal? Because if it is doing just that, I don't get the point as you can't trust the draft tokens before they are validated, so you're still stuck waiting for the target model.
So your draft model can decode N new tokens, then the real model does one inference pass to score the N new drafted tokens.
Prefill is computation bound whereas decode is bandwidth bound, so in practice doing one prefill over N tokens is cheaper than doing N decode passes.
Re: Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
#7Maybe I'm especially daft this morning but I don't get the point of the speculative decoding. How does the target model validate the draft tokens without running the inference as normal? Because if it is doing just that, I don't get the point as you can't trust the draft tokens before they are validated, so you're still stuck waiting for the target model.
Say the model so far has "The capital of France". The small model generates "is Paris.", which let's say is 5 tokens.
You feed the large model "The capital of France is Paris." to validate all 5 of those tokens in a single forward pass.
Re: Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
#8Re: Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
#9Maybe I'm especially daft this morning but I don't get the point of the speculative decoding. How does the target model validate the draft tokens without running the inference as normal? Because if it is doing just that, I don't get the point as you can't trust the draft tokens before they are validated, so you're still stuck waiting for the target model.
Not an expert, but here's how I understand it. You know how input tokens are cheaper than output tokens? It's related to that. Say the model so far has "The capital of France". The small model generates "is Paris.", which let's say is 5 tokens. You feed the large model "The capital of France is Paris." to validate all 5 of those tokens in a single forward pass.
Also, if the small model would be sufficiently more "correct" than "wrong", wouldn't be more efficient to get rid of the large model at this point?
Re: Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs
#10Maybe I'm especially daft this morning but I don't get the point of the speculative decoding. How does the target model validate the draft tokens without running the inference as normal? Because if it is doing just that, I don't get the point as you can't trust the draft tokens before they are validated, so you're still stuck waiting for the target model.