Parallelization #1499
Replies: 2 comments 3 replies
-
I haven't looked into the code, yet, and I have only tested the default config. I observed that most of the time the GPU is ~40% utilised in my case, which suggests there's space for improvement. Performance may be entirely different with postgres+age or another DB. I would like to test it. If the LightRAG implementation doesn't allow for multiple chunks to be processed in parallel, there is certainly potential for optimisation. |
Beta Was this translation helpful? Give feedback.
-
I also want to speed it up myself, but haven't got time to experiment yet. Have you tried playing with the following environment parameters (Numbers in parenthesis are the default values): if you just want to avoid execution blocking, you can using the async functions instead... ie. lightrag.ainsert() instead of lightrag.insert(). please do update if you have findings... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to insert text documents but using the insert() method takes up lot of time. Is there any way to run this parallel to speed up?
I'm using ollama model on windows.
Beta Was this translation helpful? Give feedback.
All reactions