Repository navigation
speedrunpapi 0.7.3
The command-line tool is the 0.7.2 tool. bin/, verifiers/, examples/ and docs/ are unchanged apart from the version number, so verdicts and reports are the same. The README and the npm and PyPI descriptions and keywords now describe the whole repository. What the repository gained since 0.7.2:
EPFL combinational benchmarks:
sqrtat 103 levels and 32337 LUT-6 andhypat 199 levels and 125747 LUT-6 on the depth table, where the best published have 150 and 458 levels. Depth entries foradder,arbiter,maxandsquareare in the same folder,hardware/epfl-depth/. Thesindepth entry, 10 levels and 360269 LUT-6 where the best published has 666529, is inhardware/epfl-sin/.barat 486 LUT-6 and 4 levels, where the best published has 512 (hardware/epfl-bar/).maxat 510 LUT-6 on the size table, where the best published has 511 (hardware/epfl-max/).decat 260 LUT-6 and 2 levels, where the best published has 264 (hardware/epfl-dec/).routerat 22 LUT-6 and 3 levels on the depth table, where the best published has 25 (hardware/epfl-router/).cavlcat 2 levels and 65 LUT-6 on the depth table, where the best published has 3 levels (hardware/epfl-cavlc/).i2cat 2 levels and 323 LUT-6 on the depth table, where the best published has 3 levels, and at 171 LUT-6 on the size table, where the best published has 173 (hardware/epfl-i2c/).int2floatat 21 LUT-6 and 2 levels on the depth table, where the best published has 23 (hardware/epfl-int2float/).mem_ctrlat 1666 LUT-6 on the size table and 1714 LUT-6 and 5 levels on the depth table, where the best published have 1669 and 1716 (hardware/epfl-mem_ctrl/).hardware/epfl-ties/proves three published entries optimal:ctrlat 25 LUT-6 and 2 levels on both tables, andadderat 129 LUT-6 and 126 levels on the size table.
Exact models:
proofs/exact-embeddings/:sentence-transformers/all-MiniLM-L6-v2in integer arithmetic. The 2,758 sentences of the STS-B test set give one SHA-256 on seven machines.proofs/exact-llm/:HuggingFaceTB/SmolLM2-135Min integer arithmetic. The logits at the 471 prompt positions of 64 prompts give one SHA-256 on seven machines. The same code makes SmolLM2-360M (361,821,120 weights) and SmolLM2-1.7B (1,711,376,384 weights) exact. exact-16 makes every operand of every matrix product an integer within ±(2^15 − 1). Route t3 computes every product of exact-16 by adds and subtracts, and the t3-token kernel runs on rv32i under QEMU without the M extension.proofs/exact-llm-check/: a checker for a claimed SmolLM2-135M run. It checks each matrix product against the pinned weights by Freivalds' identity and recomputes every other step itself.
Hardware evidence and a certificate:
hardware/evidence/crc32/: the Ethernet and ARINC 664 frame check sequence at 8, 32 and 64 bits per clock and 64 bits with byte enables, in 41, 100, 151 and 348 LUT-6.hardware/evidence/crc32-selfcheck/: the 64-bit block at 151 LUT-6 with a detector of 22 LUT-6, 173 in all, where duplicate and compare takes 323; 10,583 faults checked.hardware/evidence/secded/: the (72, 64) and (39, 32) Hsiao codes of OpenTitan'sprim_secded; the (72, 64) encoder in 31 LUT-6 where the OpenTitan RTL takes 59, the decoder in 120 where it takes 151.hardware/evidence/mul-selfcheck/: a residue detector of 136 lookup tables beside the 6,299 of the 64-bit multiplier, where a second multiplier and a comparison take 6,384.hardware/evidence/mac-selfcheck/: a detector of 206 tables beside the 6,139 of the 64-bit multiply-accumulate, where a second multiply-accumulate and a comparison would cost 6,210.hardware/certificate/hardfloat/: a certificate forroundRawFNToRecFNof Berkeley HardFloat Release 1, proved by machine at 135 formats; every input of 17 small formats compared with exact rational arithmetic, 3,297,497,088 inputs with 0 differences.hardware/vendor/quartus-21.1.1/andhardware/vendor/quartus-21.1.1-crc-blocks/: Quartus Prime Lite 21.1.1 reports on Cyclone V, including the CRC blocks of ADI, ZipCPU and OpenTitan beside ours at seeds 1, 2 and 3.hardware/linear/taxi/: the CRC-32 modules measured in the taxi Ethernet MACs on the HTG9200, about 83 LUTs saved per channel on the 64-bit datapath.
Audits and other proofs:
hardware/audit/lfsr-taps/: the LFSR tap tables of Chisel and OpenTitan are maximal in all 2,568 entries;cc_lfsr_16bitof PULP common_cells is not.proofs/tfhe-rs-scalar-mul/: scalar multiplication in signed digits for tfhe-rsb07e249, 14.2 % fewer bootstraps on average at 16 bits and 22.9 % fewer at 64 bits.proofs/unit-dials/,proofs/fork-angle/andproofs/spark-tree/are new folders; each README states what it holds and how to replay it.