DoolyDB
Per-operation latency measurements of LLM inference, measured with DoolyProf and shared so that the same operation on the same GPU is profiled once. DoolySim trains its latency models on them. See the paper and the website.
DoolyProf finds the distinct operations in a model's forward pass and times each of them over batch shapes (tokens, requests, KV-cache size, prefill chunk). An operation is identified by a signature of its shapes and kernels, so models that share layers share operations. Every measurement records the GPU it was measured on and the serving engine and version it ran under, and is reused only for the same ones.
Layout
The files are what dooly export writes:
compute/<gpu>/<engine>/<backend>/<model>/<deployment>/
deployment.json the deployment, and the runs that measured it (versions, options)
model.csv its operations: file, name, signature, calls per forward pass
collectives.csv its collectives: topology, group size, calls, how sizes scale
<operation>-<signature prefix>.csv latency of one operation per batch shape
runs/<run_uid>/ a run's trace.log.gz, profile.log.gz and trace.json.gz
communication/<topology>/<engine>/
runs.json the runs that measured them
runs/<run_uid>/ their logs and traces
<collective>.csv latency per group size and message size
Every run's logs and trace are kept next to its measurements (runs/<run_uid>/, gzipped; read
them with zcat), so a measurement can be traced back to the run that made it and debugged
later. Runs contributed before this was added have none.
For example, Qwen3.8-27B at TP 2 on an RTX PRO 6000 Blackwell goes in compute/nvidia-rtx-pro-6000-blackwell-server-edition/vllm-0.33.0/FLASH_ATTN-fa2/Qwen/Qwen3.8-27B/tp2-bfloat16-kvauto/.
<backend> carries the version of what implements it (FLASH_ATTN-fa2,
FLASHINFER-0.7.2.post1), <model> is the Hugging Face name, and <deployment> is
tp<N>[-ep<M>]-<dtype>-kv<KV-cache dtype>. Each model folder is self-contained: an operation
two models share is in both. An operation is measured once per batch shape, so deployments of
different tensor-parallel degrees that share one (the same shapes and kernels, e.g. RMSNorm over
the full hidden size) share its measurements; num_tensor_parallel_workers records the degree
of the run that measured each row. A folder also holds the logs and traces of every run whose
measurements it has, shared ones included.
Use it
With dooly installed (pip install -r requirements.txt):
hf download dooly-project/DoolyDB --repo-type dataset --local-dir DoolyDB
python -m doolyprof.cli import DoolyDB --db dooly.db
dooly.db is then a regular profile database: DoolySim's estimator and simulator read it
(--db-path dooly.db, with --device and --engine when it holds several GPUs or engine
versions), and DoolyProf runs that profile into it (dooly run --db dooly.db) measure only
what it does not have yet.
Contribute
Profile into a database that holds DoolyDB, export it into the downloaded folder, check it, and
open a pull request. The step-by-step guide, with Docker and what to do when verify fails, is
docs/how-to-contribute.md.
hf download dooly-project/DoolyDB --repo-type dataset --local-dir DoolyDB
python -m doolyprof.cli import DoolyDB --db dooly.db
python -m doolyprof.cli run --model ORG/MODEL --out runs/model --db dooly.db --max-batch-size 32 --max-seq-len 8192
python -m doolyprof.cli export --db dooly.db --out DoolyDB
python -m doolyprof.cli verify DoolyDB
hf upload dooly-project/DoolyDB DoolyDB . --repo-type dataset --create-pr --commit-message "ORG/MODEL on <gpu>"
- The pull request opens as a draft, which cannot be merged: find it on the dataset's Community tab (Files changed shows what it adds) and click Publish. A coding agent that contributes for you leaves it as a draft, for you to check and publish.
- Profile at a scale DoolySim can use (e.g.
--max-batch-size 32 --max-seq-len 8192); add--tp N --profile-common N linked GPUs to include collectives. - The pull request should only add folders (or rows to a collective file of your topology).
Don't edit other files:
dooly verifyreports anythingdooly exportwould not write. - Check each
deployment.jsonbefore uploading: it records the run's command line (paths under your home directory as~/..., other local paths as they were). hf auth loginfirst (hfcomes withhuggingface_hub). With Docker, every step runs throughdocker/dooly-docker.sh(download-db,import,run --db,export,verify,upload), with paths under/out/and your token in a file named byHF_TOKEN_FILEinstead of a login.
Maintainers check a pull request by downloading its revision and verifying it:
hf download dooly-project/DoolyDB --repo-type dataset --revision refs/pr/<N> --local-dir pr-<N>
python -m doolyprof.cli verify pr-<N>
Citation
@misc{kim2026doolyconfigurationagnosticredundancyawareprofiling,
title={Dooly: Configuration-Agnostic, Redundancy-Aware Profiling for LLM Inference Simulation},
author={Joon Ha Kim and Geon-Woo Kim and Anoop Rachakonda and Daehyeok Kim},
year={2026},
eprint={2605.07985},
archivePrefix={arXiv},
primaryClass={cs.DC},
url={https://arxiv.org/abs/2605.07985},
}
- Downloads last month
- 40