Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Active
Updated 3 days ago
0
Follow
ollama
ollama
Active
0
Follow
o
omarhelwe
3 days ago
Β·
when i use query engine with Ollama llm locally , i get these sometimes:
idk why is it exceeding context window even though im using top_k=1 only and a small prompt
W
o
3 comments
Share
Open in Discord
W
WhiteFang_Jr
3 days ago
Hi,
is your ollama llm running ?
Are you running llm on a CPU machine ? you can try increasing the timout for your llm instance.
Settings.llm = Ollama(...,request_timeout=600.0)
default timeout is 30.0 sec
o
omarhelwe
edited 3 days ago
yes on cpu , im using timeout 120
W
WhiteFang_Jr
3 days ago
I think you need to increase the timeout even further, CPU takes a lot of time
Add a reply
Sign up and join the conversation on Discord
Join on Discord