Hacker News new | ask | show | jobs
by WiSaGaN 1046 days ago
This has 2 dependencies. Notably it depends on rayon.
1 comments

is that bad, a lot of high-performance apps rely on rayon don't they
A lot of these single-file LLM scripts like the original llama.cpp and the llama2.cpp posted here a bit ago are both self-contained.
I think that with C++ projects the only goal there is to keep the build simple since building C++ sucks. This is also the reason why there's many header-only libraries.

StackOverflow| Benefits of header-only libraries: https://stackoverflow.com/questions/12671383/benefits-of-hea...