llamma.cpp https://github.com/ggml-org/llama.cpp/blob/master/LICENSE
ollama.cpp https://github.com/ollama/ollama/blob/main/LICENSE
llamma.cpp https://github.com/ggml-org/llama.cpp/blob/master/LICENSE
ollama.cpp https://github.com/ollama/ollama/blob/main/LICENSE
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The copyright notice is the bit at the top that identifies who owns the copyright to the code. You can use MIT code alongside any license you'd like as long as you attribute the MIT portions properly.
That said, this is a requirement that almost no one follows in non-source distributions and almost no one makes a stink about, so I suspect that the main reason why this is being brought up specifically is because a lot of people have beef with Ollama for not even giving any kind of public credit to llama.cpp for being the beating heart of their system.
Had they been less weird about giving credit in the normal, just-being-polite way I don't think anyone would have noticed that technically the license requires them to give a particular kind of attribution.
Many, many projects on GitHub don’t do it and are not license compliant.