GraphRAG-Benchmark icon indicating copy to clipboard operation
GraphRAG-Benchmark copied to clipboard

How long does benchmarking take for you?

Open Powerkrieger opened this issue 1 year ago • 2 comments

I was wondering how fast you guys benchmark the different methods, because my setup with Ollama seems to run rather slow and I am wondering how I could speed that up. It would be interesting if people could share their setup and runtimes, so that I might get a feel for which setup has which benefits.

For example, I ran run_lightrag.py on the medical dataset running llama3.3:latest with Ollama on two L40S and it took about 22 hours.

I also ran retrieval_eval.py on the results from the medical dataset running llama3.3:latest with Ollama on two L40S and it took about 23 hours for the first 1089 samples only, so probably ~48 hours total.

I also started an evaluation with retrieval_eval.py on lightrag using gpt-4o-mini, which cost me 15 cents for the first 20 out of 1089 requests, too expensive for my taste. I dont know if I did something wrong there, maybe someone can also share their experience with OpenAI expenses on this benchmark.

Powerkrieger avatar Nov 11 '25 10:11 Powerkrieger

Hello, thank you for your interest. In our experiments, we also observed that LightRAG can run relatively slowly and incur higher costs due to its graph-building process and the longer context introduced during retrieval. In the revised version of the paper, we will include a detailed analysis of graph construction time and inference time. Additionally, for retrieval evaluation, we will explore more cost-efficient evaluation methods to reduce evaluation overhead. Thank you again for your valuable feedback.

Eric-Xiang-526 avatar Nov 15 '25 02:11 Eric-Xiang-526

I actually switched to vLLM and its so much faster than Ollama. Which might have been obvious, but not to me. For anyone interested in the topic here is a blog about the comparison: https://developers.redhat.com/articles/2025/08/08/ollama-vs-vllm-deep-dive-performance-benchmarking#comparison_2__tuned_ollama_versus_vllm

Powerkrieger avatar Nov 17 '25 09:11 Powerkrieger