Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
10
171
agent-detector==2.0.0
aiohappyeyeballs==2.7.1
aiohttp==3.14.5
aiosignal==1.4.0
annotated-doc==0.0.5
annotated-types==0.8.0
anthropic==1.13.0
anyio==4.15.1
apache-tvm-ffi==0.1.11
astor==0.8.1
attrs==26.1.0
beautifulsoup4==4.15.0
blake3==1.0.11
cachetools==7.2.1
cbor2==6.1.5
certifi==2026.7.22
cffi==2.1.1
charset-normalizer==3.5.2
click==8.5.0
cloudpickle==3.1.2
compressed-tensors==0.17.0
cryptography==50.0.2
cuda-bindings==13.4.3
cuda-core==1.2.1
cuda-pathfinder==1.8.3
cuda-python==13.4.1
cuda-tile==1.6.0
cuda-toolkit==13.0.3.0
defusedxml==0.7.1
depyf==0.20.0
detect-installer==0.2.1
dill==0.4.1
dnspython==2.9.0
docstring-parser==0.18.0
einops==0.8.2
email-validator==2.3.0
fastapi==0.136.3
fastapi-cli==0.0.32
fastapi-cloud-cli==0.26.0
fastar==0.12.0
fastsafetensors==0.4.0
filelock==4.1.1
flashinfer-python==0.7.0.post1
frozenlist==1.8.0
fsspec==2026.9.0
googleapis-common-protos==1.75.5
grpcio==1.84.0
h11==0.16.0
hf-xet==1.7.0
html2text==2025.4.15
httpcore==1.0.9
httpcore2==2.13.1
httptools==0.9.0
httpx==0.28.1
httpx2==2.13.1
huggingface-hub==2.2.0
humming-kernels==0.1.16
idna==3.20
ijson==3.6.0
instanttensor==0.2.1
interegular==0.3.3
jinja2==3.1.6
jiter==0.17.0
jmespath==1.1.0
joblib==1.6.0
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
lark==1.2.2
llguidance==1.7.6
llvmlite==0.47.0
lm-format-enforcer==0.11.3
loguru==0.7.3
markdown-it-py==4.2.0
markupsafe==3.0.4
mcp==2.3.0
mcp-types==2.3.0
mdurl==0.1.2
mistral-common==1.12.0
ml-dtypes==0.6.0
model-hosting-container-standards==0.1.16
mpmath==1.3.0
msgspec==0.22.0
multidict==7.1.0
nccl-extensions==0.1.0
nccl4py==0.6.0
networkx==3.7
ninja==1.13.2
nltk==3.10.3
numba==0.65.0
numpy==2.3.5
nvidia-cublas==13.1.1.3
nvidia-cuda-cccl==13.3.4.3.1
nvidia-cuda-crt==13.4.92
nvidia-cuda-cupti==13.0.85
nvidia-cuda-nvcc==13.4.92
nvidia-cuda-nvrtc==13.0.88
nvidia-cuda-runtime==13.0.96
nvidia-cudnn-cu13==9.20.0.48
nvidia-cudnn-frontend==1.31.0
nvidia-cufft==12.0.0.61
End of preview. Expand in Data Studio

KV cache quantization: run commands

These are the scripts and commands for the post "KV Cache Quantization, Measured: What FP8 and NVFP4 Really Cost". This repo holds commands only. It does not hold model weights, benchmark data, or model responses.

Setup

Item Value
Models Qwen/Qwen3.8-27B, google/gemma-4-31B-it (weights in BF16)
GPU NVIDIA H200 141 GB, one GPU per config. A 2-GPU VM ran two configs at the same time.
vLLM 0.32.0rc1.dev30+g3ad096faf (scripts/bench/setup_vllm.sh)
Python packages requirements-freeze.txt
Terminal-Bench Terminal-Bench 2.1 with Harbor and the terminus-2 agent

Configs

Name --kv-cache-dtype --attention-backend
BF16 bfloat16 FLASH_ATTN
BF16-FI bfloat16 FLASHINFER
FP8 fp8_e4m3 FLASH_ATTN
FP4 (NVFP4) nvfp4 FLASHINFER
BF16-TFA bfloat16 TRITON_FLASH_ATTN

For RULER, DocVQA and MRCR, Gemma FP8 used TRITON_FLASH_ATTN, and Gemma BF16-FI and FP4 used --language-model-only (text only), because FlashInfer has no Gemma image attention on H100 or H200. All Gemma Terminal-Bench runs used --language-model-only and the backend in the table above.

Serve command used by scripts/bench/exp2.sh:

vllm serve $MODEL --served-model-name $NAME --port $PORT --dtype bfloat16 \
  --max-model-len $MAXLEN --gpu-memory-utilization 0.90 --reasoning-parser $RP --seed 0 \
  --kv-cache-dtype $KV --attention-backend $BE

Order of work

  1. Install and download: setup_vllm.sh, download_model.sh.
  2. Prepare data: prep_data.py, make_6t.py, mrcr.py prep, prep_gemma.sh.
  3. RULER, DocVQA, MRCR: exp2.sh, driven by exp2_gpu0.sh, exp2_gpu1.sh, after_tb.sh, gemma_rest.sh. Score with score_exp2.py and mrcr.py.
  4. Terminal-Bench: tb_queue.sh, tb_server.sh, tb_rerun_timeouts.sh, gemma_tb.sh, gemma_env.sh. Score with score_tb.py and score_nolim.py.
  5. Nightly backend check for Gemma images, 9 Nov 2026: scripts/nightly_check/.

COMMANDS.md has every vllm serve and vllm bench serve command written out in full.

top_level_commands.txt has the launch commands from the VM shell history. exp0* scripts, kl_probe.py, and the smoke scripts were exploratory, and the post does not use their results.

Run times

Time is the wall clock for the whole benchmark, including interruptions. It is not a speed test. Each config used the same concurrency, but response lengths differ.

Config RULER 4K + 32K + 128K DocVQA MRCR Terminal-Bench k=3
Qwen BF16 55 min 7.2 min 78 min 37.3 h
Qwen BF16-FI 62 min 7.3 min 89 min 39.9 h
Qwen FP8 62 min 7.3 min 90 min 24.0 h
Qwen NVFP4 93 min 7.5 min 131 min 26.1 h
Gemma BF16 207 min 10.9 min 415 min 34.5 h
Gemma BF16-FI 190 min not supported 252 min 29.2 h
Gemma FP8 181 min 11.7 min 337 min 28.4 h
Gemma NVFP4 316 min not supported 443 min 27.1 h

Qwen no-limit reruns of timed-out Terminal-Bench tries took about 42 to 45 hours per config. Gemma reruns are not finished, so Gemma Terminal-Bench scores are raw.

Downloads last month
5