Metraipolis › archive › dc_7757f39f5b96
OpRAG: A Resource-Deterministic Runtime for GPU-Backed Multi-Stage RAG Workflows — arXiv:2608.08340
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.08340
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T08:52:36.402Z
- SHA-256 of the archived text
afdfde8219c45dead6981c1c4b36ec6e9369fd1fb58a4955bc101a0de666a498- Stable URL of this page
https://metraipolis.com/documento/dc_7757f39f5b96
How to cite
OpRAG: A Resource-Deterministic Runtime for GPU-Backed Multi-Stage RAG Workflows — arXiv:2608.08340 — arXiv (en), https://arxiv.org/abs/2608.08340 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7757f39f5b96 (Metraipolis archive dc_7757f39f5b96, sha256 afdfde8219c45dead6981c1c4b36ec6e9369fd1fb58a4955bc101a0de666a498)
BibTeX
@misc{dc7757f39f5b96,
title = {OpRAG: A Resource-Deterministic Runtime for GPU-Backed Multi-Stage RAG Workflows — arXiv:2608.08340},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.08340},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7757f39f5b96; sha256 afdfde8219c45dead6981c1c4b36ec6e9369fd1fb58a4955bc101a0de666a498},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.08340. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Agentic retrieval-augmented generation (RAG) systems combine preprocessing, embedding, retrieval, memory access, context construction, generation, and vector-index updates. Although LLM decoding is GPU-bound, the surrounding orchestration layer can still limit end-to-end performance through serialization overhead, fragmented scheduling, inefficient batching, and CPU--GPU pipeline stalls. Existing frameworks provide flexible control flow, while distributed runtimes provide scalable task parallelism, but neither exposes RAG stages as resource-aware operators with deterministic execution semantics. We present OpRAG, a resource-deterministic distributed runtime for GPU-backed multi-stage RAG workflows. OpRAG models embedding, retrieval, reasoning, memory, and upsert as first-class operators and lowers them into communication-aware execution graphs. It combines an Arrow zero-copy data plane, persistent workers, bounded queues, CPU tokenizer prefetching, batched GPU embedding, and overlapped retrieval/generation execution to reduce non-model overhead around LLM inference. We evaluate OpRAG using Llama3-8B and Mistral-7B with FlashAttention~2, BF16 execution, and 32K RAG chunks. In end-to-end GPU pipeline experiments, OpRAG improves over the nearest competitor by 16.16% for Llama3-8B and 15.66% for Mistral-7B, and over RayScalableRAG by 20.57% and 20.71%, respectively. Against LangChain, LangGraph, CrewAI, and AutoGen, OpRAG is 17.77% and 17.48% faster than the best framework baseline. In Higress-style query serving, OpRAG reduces hybrid retrieval latency by 59.20--59.62% and generation-scenario latency by 52.48--53.55%, while preserving 100% Recall@5. These results show that optimizing the distributed orchestration layer can substantially improve GPU-backed multi-stage RAG without modifying the LLM decoding kernel. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-11 in cs.DC). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2608.08340 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T08:50:23.735Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-08-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).