Output texts keeps on repeating infinitely [Tried with llama.cpp server running on ubuntu 22.04]

Author: masifamuCreated Jul 25, 2026Updated Aug 23, 2026

I have been trying to extract texts from the PDF but the output keeps on repeating, seems like the model is stuck somewhere. I am writing here to get some help on this, I don't understand the intricate details of unlimited OCR/llama.cpp setups. If someone has already gone through this, please help.

I am using it on CPU only Dell Optiplex 7060 with 16GB RAM setup. Let me know if I need to put more info here. I have attached the logs as well for the reference.

Thanks.

logs.txt