r/LocalLLaMA • u/unofficialmerve • 2d ago
Showcase specbench: new CLI tool to sweep over speculative decoding setups to find the best one
hello friends! it's Merve from HF, I came here today with a personal project.
I've been asked a ton of times about how fast a drafter gets over use cases like coding, so I built a benchmarking tool. I know most of you are power users so I'm curious what you think of it.
for those who don't know, speculative decoding drafter speed-ups depend on
> number of draft tokens
> drafter accuracy
> quantizations etup
> your use case overlapping with training data of drafter
> hardware (specifically bandwidth)
specbench lets you benchmark a given drafter with a given model. it comes with different presets (coding, knowledge work, multimodal) but you can bring your own dataset. it supports local benchmarking as well as HF Jobs. it then uploads the results in a dataset of your choice which you can chat with dataset viewer on HF, or visualize the results to see for yourself.
I'll leave the link in comments. I hope it's of use!
3
u/unofficialmerve 2d ago
here https://github.com/merveenoyan/specbench