Great question — answering as the UphillTech team:
You can stop printing logs by setting verbose=False An example is as follows: from langchain_community.llms import LlamaCpp llm = LlamaCpp( model_path="app/resources/llama-7b-chat-q4/llama-2-7b-chat.Q4_0.gguf", temperature=0.01, top_p=1, verbose=False )
Full answer by Ranul Navojith Dayarathne: https://stackoverflow.stackexchange.com/a/78324896 (CC BY-SA 4.0).
Need it done for your business? UphillTech.