Can i build llm with php 🤔 ?
Commit
0ea3d6d
Yes, it sucks, but it works.
https://github.com/HelgeSverre/local-llm-php
GitHubGitHub - HelgeSverre/local-llm-php: Local llama.cpp runtime for PHP via FFI with GGUF support, streaming, profiling, and Ollama benchmarks.Local llama.cpp runtime for PHP via FFI with GGUF support, streaming, profiling, and Ollama benchmarks. - HelgeSverre/local-llm-php
Ahh yes, i see i missread :P
Would be a fun project to try, its all just matrix math at the end of the day, what would the ground rules be, no ffi allowed, swoole, c extensions allowed etc?