Download docs/evidence/attention/backend_latency.json from Synthyra/FastPLMs-artifacts: direct link, hf CLI and curl.
- Browser
- Download file 6.28 kB
-
https://huggingface.co/datasets/Synthyra/FastPLMs-artifacts/resolve/main/docs/evidence/attention/backend_latency.json
- Command line
-
hf download hf://datasets/Synthyra/FastPLMs-artifacts/docs/evidence/attention/backend_latency.json
-
curl -L -o backend_latency.json https://huggingface.co/datasets/Synthyra/FastPLMs-artifacts/resolve/main/docs/evidence/attention/backend_latency.json
6.28 kB
| { | |
| "schema_version": 1, | |
| "method": "Randomly initialized models at published dimensions, FP32 parameters under CUDA BF16 autocast, inference mode. Each backend runs in its own process, three interleaved rounds per case; a round reports the median forward latency after warm-up. One batch is 8 rows of 512 positions.", | |
| "residues_per_batch": { | |
| "padded": 2336, | |
| "full": 4096 | |
| }, | |
| "limitations": "Descriptive latency of an uncommitted working tree on cloud workers. It orders backends for automatic selection and is not a release benchmark or a parity claim.", | |
| "runs": [ | |
| { | |
| "run": "20260921T131922-backend-bench-b42b0fec", | |
| "source": { | |
| "revision": "d9a23718713905dd907add3d7b7a85d6e8e49f23", | |
| "dirty": true, | |
| "changed_paths": 104 | |
| }, | |
| "environment": { | |
| "python": "3.12.10", | |
| "platform": "Linux-4.19.0-gvisor-x86_64-with-glibc2.36", | |
| "torch": "2.13.0+cu130", | |
| "transformers": "5.13.0", | |
| "cuda": "13.0", | |
| "gpu": "NVIDIA L4", | |
| "compute_capability": [ | |
| 8, | |
| 9 | |
| ] | |
| }, | |
| "cases": { | |
| "dplm-full": { | |
| "median_ms": { | |
| "sdpa": 79.51769256591797, | |
| "flash_attention_3": 79.99282836914062 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_3": 0.9940602699903289 | |
| }, | |
| "failures": {} | |
| }, | |
| "dplm-padded": { | |
| "median_ms": { | |
| "sdpa": 79.93548583984375, | |
| "flash_attention_3": 74.23538970947266 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_3": 1.0767840803783608 | |
| }, | |
| "failures": {} | |
| }, | |
| "esm2-full": { | |
| "median_ms": { | |
| "sdpa": 79.99078369140625, | |
| "flash_attention_2": 75.3699836730957, | |
| "flash_attention_3": 78.59302520751953 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_2": 1.061308226340508, | |
| "flash_attention_3": 1.0177847649991336 | |
| }, | |
| "failures": {} | |
| }, | |
| "esm2-padded": { | |
| "median_ms": { | |
| "sdpa": 81.49504089355469, | |
| "flash_attention_2": 70.9375991821289, | |
| "flash_attention_3": 71.40812683105469 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_2": 1.1488271640589365, | |
| "flash_attention_3": 1.1412572281354578 | |
| }, | |
| "failures": {} | |
| }, | |
| "esmpp-full": { | |
| "median_ms": { | |
| "sdpa": 112.42189025878906, | |
| "flash_attention_2": 113.61689758300781, | |
| "flash_attention_3": 112.60620880126953 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_2": 0.9894821338230462, | |
| "flash_attention_3": 0.9983631582623853 | |
| }, | |
| "failures": {} | |
| }, | |
| "esmpp-padded": { | |
| "median_ms": { | |
| "sdpa": 110.6513900756836, | |
| "flash_attention_2": 106.87334442138672, | |
| "flash_attention_3": 106.22822189331055 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_2": 1.035350682387187, | |
| "flash_attention_3": 1.0416383528175348 | |
| }, | |
| "failures": {} | |
| } | |
| } | |
| }, | |
| { | |
| "run": "20260921T133947-backend-bench-96dab6dd", | |
| "source": { | |
| "revision": "d9a23718713905dd907add3d7b7a85d6e8e49f23", | |
| "dirty": true, | |
| "changed_paths": 104 | |
| }, | |
| "environment": { | |
| "python": "3.12.10", | |
| "platform": "Linux-4.19.0-gvisor-x86_64-with-glibc2.36", | |
| "torch": "2.13.0+cu130", | |
| "transformers": "5.13.0", | |
| "cuda": "13.0", | |
| "gpu": "NVIDIA H100 80GB HBM3", | |
| "compute_capability": [ | |
| 9, | |
| 0 | |
| ] | |
| }, | |
| "cases": { | |
| "dplm-full": { | |
| "median_ms": { | |
| "sdpa": 23.78615951538086, | |
| "flash_attention_3": 32.834991455078125 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_3": 0.7244149750403601 | |
| }, | |
| "failures": {} | |
| }, | |
| "dplm-padded": { | |
| "median_ms": { | |
| "sdpa": 24.992576599121094, | |
| "flash_attention_3": 31.35001564025879 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_3": 0.7972109770505615 | |
| }, | |
| "failures": {} | |
| }, | |
| "esm2-full": { | |
| "median_ms": { | |
| "sdpa": 22.58142375946045, | |
| "flash_attention_2": 27.19443130493164, | |
| "flash_attention_3": 30.517087936401367 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_2": 0.8303694056424473, | |
| "flash_attention_3": 0.7399599793571684 | |
| }, | |
| "failures": {} | |
| }, | |
| "esm2-padded": { | |
| "median_ms": { | |
| "sdpa": 21.073375701904297, | |
| "flash_attention_2": 30.990447998046875, | |
| "flash_attention_3": 29.205408096313477 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_2": 0.6799958394674518, | |
| "flash_attention_3": 0.7215573099478221 | |
| }, | |
| "failures": {} | |
| }, | |
| "esmpp-full": { | |
| "median_ms": { | |
| "sdpa": 20.671968460083008, | |
| "flash_attention_2": 27.920896530151367, | |
| "flash_attention_3": 28.577343940734863 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_2": 0.7403762424949232, | |
| "flash_attention_3": 0.7233691312584395 | |
| }, | |
| "failures": {} | |
| }, | |
| "esmpp-padded": { | |
| "median_ms": { | |
| "sdpa": 21.91814422607422, | |
| "flash_attention_2": 28.906463623046875, | |
| "flash_attention_3": 30.467199325561523 | |
| }, | |
| "speedup_over_sdpa": { | |
| "sdpa": 1.0, | |
| "flash_attention_2": 0.7582437101921755, | |
| "flash_attention_3": 0.7194013467357081 | |
| }, | |
| "failures": {} | |
| } | |
| } | |
| } | |
| ] | |
| } | |