The docs are a great start.

https://github.com/ggml-org/llama.cpp/blob/master/docs/backe...