Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
speculative decoding in llama.cpp
#1
Did a bit of testing and thought I'd post the result here.

I tried this with Mixtral using llama.cpp on 4090. The headline result was better than I expected, but VRAM headroom still ended up being the limiting factor.

Curious if anyone else landed in the same place. Turns out 'just one more test' was a lie.
Reply
#2
I'd start with the simpler stack.
Reply
#3
A couple things I'd check first. If you're on vLLM, I'd confirm the version first and then reduce variables until the behavior is obvious. A lot of these threads end up being one bad config plus a pile of conclusions drawn from it.
Reply
#4
Quote:A couple things I'd check first. If you're on vLLM, I'd confirm the version first and then reduce variables until the behavior is obvious. A lot of th

That matches what I was seeing. I ended up in about the same place using vLLM. I got better results once I stopped chasing one metric and just looked at whether the workflow felt usable.
Reply
#5
I'd approach it in a boring order. Before rebuilding anything, I'd test one clean baseline with Phi and compare from there.
Reply
#6
A couple questions before I guess too hard. What model, what runtime, and roughly what context size?
rack in the garage • local models everywhere
Reply
#7
Quote:A couple questions before I guess too hard. What model, what runtime, and roughly what context size?

I'd approach it in a boring order. If you're on llama.cpp, I'd confirm the version first and then reduce variables until the behavior is obvious. Once you know the plain path works, then add the faster path back in piece by piece.
Reply
#8
following this because I'm in the same boat.
mostly local
Reply
#9
Quote:following this because I'm in the same boat.

that fixed it for me too.

If you post your exact settings, people here can probably narrow it down pretty fast.
Reply
#10
A couple questions before I guess too hard. Do you see the same thing with a smaller batch or shorter prompt?
2x3090 • llama.cpp • too much VRAM is still not enough
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)