This one simple trick allows D programmer use llama.cpp, rust programmers hate him!

Serg Gini kornburn at yandex.ru
Thu Mar 21 22:42:31 UTC 2024


On Thursday, 21 March 2024 at 16:45:09 UTC, evilrat wrote:
> Just like the title says, no need to make bindings anymore, 
> just make a dummy C file with single include and start building 
> your D app powered with llama.cpp, that's it, no extra work 
> needed except making a dummy file.

Nice catch. Thanks for sharing!
Another option is using pure D implementation based on llama2.c 
code from Karpathy

https://github.com/cyrusmsk/llama2.d


More information about the Digitalmars-d mailing list