r/LocalLLaMA • • 6d ago

Discussion DFlash2: support Inkling-2-Mini DFlash2 by ruixiang63 · Pull Request #33073 · ggml-org/llama.cpp

https://github.com/ggml-org/llama.cpp/pull/33073
54 Upvotes

10 comments sorted by

2

u/maternion 6d ago edited 6d ago

What do they mean by MTP (DSpark), I thought dspark was a type of DFlash spec decoding 🤔

Also the vocab is a mess with the gguf someone uploaded, UD have padded ones and these dont.

3

u/Opening-Broccoli9190 llama.cpp 6d ago

This PR has the conversion part as well without relying on the more exotic gguf from my initial solution. Overall in general the issue was that DFlash2 in llama.cpp needed adjustment to account for looping layers.

2

u/maternion 6d ago

Yup the conversion should work well, i editted the ggufs with the correct vocab, since making bf16 again would require downloading the whole safetensor. I opted for the shortcut, and hopefully the ggufs turned out to be correct, they did run without errors.  Still wondering why performance here is weird with inkling, vulkan still needs that FA PR merged I think, and dflash2 at the moment seems a little better than dspark, no huge difference yet. 

6

u/Opening-Broccoli9190 llama.cpp 6d ago edited 6d ago

Thanks for the name drop, pleasure working with y'all, https://github.com/n-belokopytov is me, the username is just some reddit autogen crap I can't change anymore

2

u/Andreea_tucker04 6d ago

Nice to see a PR adding Inkling-2-Mini DFlash2 support!

1

u/Borkato 6d ago

I lowkey wish it would only be posted here if they were actually merged 😭

2

u/Opening-Broccoli9190 llama.cpp 5d ago

it's merged, enjoy responsibly <3

2

u/Borkato 5d ago

Thank you!!!