matrix stringlengths 6 40 | rows int64 800 67.7M | cols int64 800 67.7M | nnz int64 10.4k 139M | kind stringlengths 13 48 | tier stringclasses 4
values | square bool 2
classes | avg_row float64 2 424 | density float64 0 0.06 |
|---|---|---|---|---|---|---|---|---|
Pajek_SciMet | 3,084 | 3,084 | 10,413 | directed multigraph | 10000-1000000 | true | 3.4 | 0.001095 |
Sandia_adder_dcop_38 | 1,813 | 1,813 | 11,246 | subsequent circuit simulation problem | 10000-1000000 | true | 6.2 | 0.003421 |
DIMACS10_delaunay_n11 | 2,048 | 2,048 | 12,254 | undirected graph | 10000-1000000 | true | 6 | 0.002922 |
VDOL_reorientation_2 | 1,544 | 1,544 | 17,910 | optimal control problem | 10000-1000000 | true | 11.6 | 0.007513 |
Gset_G57 | 5,000 | 5,000 | 20,000 | undirected weighted random graph | 10000-1000000 | true | 4 | 0.0008 |
Nasa_barth4 | 6,019 | 6,019 | 23,492 | duplicate structural problem | 10000-1000000 | true | 3.9 | 0.000648 |
Gset_G55 | 5,000 | 5,000 | 24,996 | duplicate undirected random graph | 10000-1000000 | true | 5 | 0.001 |
Bai_mhd4800b | 4,800 | 4,800 | 27,520 | electromagnetics problem | 10000-1000000 | true | 5.7 | 0.001194 |
LeGresley_LeGresley_4908 | 4,908 | 4,908 | 30,482 | power network problem | 10000-1000000 | true | 6.2 | 0.001265 |
Meszaros_scagr7-2b | 9,743 | 13,847 | 35,885 | linear programming problem sequence | 10000-1000000 | false | 3.7 | 0.000266 |
Gset_G4 | 800 | 800 | 38,352 | undirected random graph | 10000-1000000 | true | 47.9 | 0.059925 |
GHS_indef_qpband | 20,000 | 20,000 | 45,000 | optimization problem | 10000-1000000 | true | 2.2 | 0.000113 |
Boeing_msc01440 | 1,440 | 1,440 | 46,270 | structural problem | 10000-1000000 | true | 32.1 | 0.022314 |
Rajat_rajat06 | 10,922 | 10,922 | 46,983 | circuit simulation problem | 10000-1000000 | true | 4.3 | 0.000394 |
FIDAP_ex3 | 1,821 | 1,821 | 52,685 | computational fluid dynamics problem | 10000-1000000 | true | 28.9 | 0.015888 |
Hollinger_mark3jac020sc | 9,129 | 9,129 | 56,175 | economic problem | 10000-1000000 | true | 6.2 | 0.000674 |
Brunetiere_thermal | 3,456 | 3,456 | 66,528 | thermal problem | 10000-1000000 | true | 19.2 | 0.00557 |
GHS_indef_bloweybq | 10,001 | 10,001 | 69,991 | materials problem | 10000-1000000 | true | 7 | 0.0007 |
Rommes_descriptor_xingo6u | 20,738 | 20,738 | 73,916 | eigenvalue/model reduction problem | 10000-1000000 | true | 3.6 | 0.000172 |
NYPA_Maragal_5 | 4,654 | 3,320 | 93,091 | least squares problem | 10000-1000000 | false | 20 | 0.006025 |
AG-Monien_se | 32,768 | 32,768 | 98,300 | undirected graph sequence | 10000-1000000 | true | 3 | 0.000092 |
SNAP_wiki-Vote | 8,297 | 8,297 | 103,689 | directed graph | 10000-1000000 | true | 12.5 | 0.001506 |
JGD_Margulies_cat_ears_4_4 | 19,020 | 44,448 | 132,888 | combinatorial problem | 10000-1000000 | false | 7 | 0.000157 |
DRIVCAV_cavity19 | 4,562 | 4,562 | 138,187 | subsequent computational fluid dynamics problem | 10000-1000000 | true | 30.3 | 0.00664 |
DRIVCAV_cavity16 | 4,562 | 4,562 | 138,187 | computational fluid dynamics problem sequence | 10000-1000000 | true | 30.3 | 0.00664 |
Oberwolfach_rail_20209 | 20,209 | 20,209 | 139,233 | model reduction problem | 10000-1000000 | true | 6.9 | 0.000341 |
ML_Graph_Fashion_MNIST_norm_10NN | 10,000 | 10,000 | 158,304 | undirected weighted graph | 10000-1000000 | true | 15.8 | 0.001583 |
Oberwolfach_t2dah_e | 11,445 | 11,445 | 176,117 | duplicate model reduction problem | 10000-1000000 | true | 15.4 | 0.001345 |
Goodwin_Goodwin_023 | 6,005 | 6,005 | 182,168 | computational fluid dynamics | 10000-1000000 | true | 30.3 | 0.005052 |
PARSEC_SiNa | 5,743 | 5,743 | 198,787 | theoretical/quantum chemistry problem | 10000-1000000 | true | 34.6 | 0.006027 |
GHS_indef_spmsrtls | 29,995 | 29,995 | 229,947 | statistical/mathematical problem | 10000-1000000 | true | 7.7 | 0.000256 |
Mallya_lhr10c | 10,672 | 10,672 | 232,633 | chemical process simulation problem | 10000-1000000 | true | 21.8 | 0.002043 |
Pajek_EAT_SR | 23,219 | 23,219 | 325,589 | directed weighted graph | 10000-1000000 | true | 14 | 0.000604 |
Nemeth_nemeth13 | 9,506 | 9,506 | 474,472 | subsequent theoretical/quantum chemistry problem | 10000-1000000 | true | 49.9 | 0.005251 |
SNAP_sx-askubuntu | 159,316 | 159,316 | 596,933 | directed temporal multigraph | 10000-1000000 | true | 3.7 | 0.000024 |
Schenk_IBMSDS_3D_28984_Tetra | 28,984 | 28,984 | 599,170 | semiconductor device problem | 10000-1000000 | true | 20.7 | 0.000713 |
Mittelmann_neos2 | 132,568 | 134,128 | 685,087 | linear programming problem | 10000-1000000 | false | 5.2 | 0.000039 |
GHS_indef_olesnik0 | 88,263 | 88,263 | 744,216 | 2D/3D problem | 10000-1000000 | true | 8.4 | 0.000096 |
Lourakis_bundle1 | 10,581 | 10,581 | 770,901 | computer graphics/vision problem | 10000-1000000 | true | 72.9 | 0.006886 |
DIMACS10_vsp_mod2_pgp2_slptsk | 101,364 | 101,364 | 778,736 | random unweighted graph | 10000-1000000 | true | 7.7 | 0.000076 |
Tromble_language | 399,130 | 399,130 | 1,216,334 | directed weighted graph | 1000000-10000000 | true | 3 | 0.000008 |
ATandT_twotone | 120,750 | 120,750 | 1,224,224 | frequency-domain circuit simulation problem | 1000000-10000000 | true | 10.1 | 0.000084 |
Li_pli | 22,695 | 22,695 | 1,350,309 | duplicate electromagnetics problem | 1000000-10000000 | true | 59.5 | 0.002622 |
Botonakis_thermomech_dM | 204,316 | 204,316 | 1,423,116 | thermal problem | 1000000-10000000 | true | 7 | 0.000034 |
VanVelzen_std1_Jac3 | 21,982 | 21,982 | 1,455,848 | chemical process simulation problem | 1000000-10000000 | true | 66.2 | 0.003013 |
VLSI_mosfet2 | 46,994 | 46,994 | 1,499,460 | semiconductor device problem | 1000000-10000000 | true | 31.9 | 0.000679 |
Nemeth_nemeth23 | 9,506 | 9,506 | 1,506,810 | subsequent theoretical/quantum chemistry problem | 1000000-10000000 | true | 158.5 | 0.016675 |
Um_2cubes_sphere | 101,492 | 101,492 | 1,647,264 | electromagnetics problem | 1000000-10000000 | true | 16.2 | 0.00016 |
DIMACS10_mo2010 | 343,565 | 343,565 | 1,656,568 | undirected weighted graph | 1000000-10000000 | true | 4.8 | 0.000014 |
Cunningham_qa8fm | 66,127 | 66,127 | 1,660,579 | acoustics problem | 1000000-10000000 | true | 25.1 | 0.00038 |
Simon_venkat50 | 62,424 | 62,424 | 1,717,792 | subsequent computational fluid dynamics problem | 1000000-10000000 | true | 27.5 | 0.000441 |
Simon_venkat01 | 62,424 | 62,424 | 1,717,792 | computational fluid dynamics problem sequence | 1000000-10000000 | true | 27.5 | 0.000441 |
Boeing_pcrystk03 | 24,696 | 24,696 | 1,751,178 | duplicate materials problem | 1000000-10000000 | true | 70.9 | 0.002871 |
JGD_GL7d_GL7d14 | 171,375 | 47,271 | 1,831,183 | combinatorial problem | 1000000-10000000 | false | 10.7 | 0.000226 |
Simon_appu | 14,000 | 14,000 | 1,853,104 | directed weighted random graph | 1000000-10000000 | true | 132.4 | 0.009455 |
GHS_indef_darcy003 | 389,874 | 389,874 | 2,101,242 | 2D/3D problem | 1000000-10000000 | true | 5.4 | 0.000014 |
FEMLAB_poisson3Db | 85,623 | 85,623 | 2,374,949 | computational fluid dynamics problem | 1000000-10000000 | true | 27.7 | 0.000324 |
ANSYS_Delor295K | 295,734 | 1,823,928 | 2,401,323 | least squares problem | 1000000-10000000 | false | 8.1 | 0.000004 |
DIMACS10_vsp_msc10848_300sep_100in_1Kout | 21,996 | 21,996 | 2,442,056 | random unweighted graph | 1000000-10000000 | true | 111 | 0.005047 |
Bodendiek_CurlCurl_1 | 226,451 | 226,451 | 2,472,071 | model reduction problem | 1000000-10000000 | true | 10.9 | 0.000048 |
Freescale_nxp1 | 414,604 | 414,604 | 2,656,177 | circuit simulation problem | 1000000-10000000 | true | 6.4 | 0.000015 |
Andrianov_net150 | 43,520 | 43,520 | 3,121,200 | optimization problem | 1000000-10000000 | true | 71.7 | 0.001648 |
DIMACS10_delaunay_n19 | 524,288 | 524,288 | 3,145,646 | undirected graph | 1000000-10000000 | true | 6 | 0.000011 |
Goodwin_Goodwin_095 | 100,037 | 100,037 | 3,226,066 | computational fluid dynamics | 1000000-10000000 | true | 32.2 | 0.000322 |
PARSEC_GaAsH6 | 61,349 | 61,349 | 3,381,809 | theoretical/quantum chemistry problem | 1000000-10000000 | true | 55.1 | 0.000899 |
Schenk_ISEI_barrier2-3 | 113,076 | 113,076 | 3,805,068 | subsequent semiconductor device problem | 1000000-10000000 | true | 33.7 | 0.000298 |
Ronis_xenon2 | 157,464 | 157,464 | 3,866,688 | materials problem | 1000000-10000000 | true | 24.6 | 0.000156 |
Oberwolfach_t3dh_e | 79,171 | 79,171 | 4,352,105 | duplicate model reduction problem | 1000000-10000000 | true | 55 | 0.000694 |
TSOPF_TSOPF_RS_b678_c1 | 18,696 | 18,696 | 4,396,289 | power network problem | 1000000-10000000 | true | 235.1 | 0.012577 |
Schenk_ISEI_para-5 | 155,924 | 155,924 | 5,416,358 | semiconductor device problem sequence | 1000000-10000000 | true | 34.7 | 0.000223 |
SNAP_com-Youtube | 1,134,890 | 1,134,890 | 5,975,248 | undirected graph with communities | 1000000-10000000 | true | 5.3 | 0.000005 |
DIMACS10_rgg_n_2_19_s0 | 524,288 | 524,288 | 6,539,532 | undirected random graph | 1000000-10000000 | true | 12.5 | 0.000024 |
Mittelmann_cont1_l | 1,918,399 | 1,921,596 | 7,031,999 | linear programming problem | 1000000-10000000 | false | 3.7 | 0.000002 |
Gleich_flickr | 820,878 | 820,878 | 9,837,214 | directed graph | 1000000-10000000 | true | 12 | 0.000015 |
DNVS_x104 | 108,384 | 108,384 | 10,167,624 | structural problem | 1000000-10000000 | true | 93.8 | 0.000866 |
PARSEC_Si87H76 | 240,369 | 240,369 | 10,661,631 | theoretical/quantum chemistry problem | 10000000-60000000 | true | 44.4 | 0.000185 |
Meszaros_tp-6 | 142,752 | 1,014,301 | 11,537,419 | linear programming problem | 10000000-60000000 | false | 80.8 | 0.00008 |
BenElechi_BenElechi1 | 245,874 | 245,874 | 13,150,496 | 2D/3D problem | 10000000-60000000 | true | 53.5 | 0.000218 |
Bodendiek_CurlCurl_3 | 1,219,574 | 1,219,574 | 13,544,618 | model reduction problem | 10000000-60000000 | true | 11.1 | 0.000009 |
TSOPF_TSOPF_RS_b2383_c1 | 38,120 | 38,120 | 16,171,169 | power network problem | 10000000-60000000 | true | 424.2 | 0.011128 |
Schenk_AFE_af_shell6 | 504,855 | 504,855 | 17,588,875 | subsequent structural problem | 10000000-60000000 | true | 34.8 | 0.000069 |
DIMACS10_333SP | 3,712,815 | 3,712,815 | 22,217,266 | undirected graph | 10000000-60000000 | true | 6 | 0.000002 |
Freescale_FullChip | 2,987,012 | 2,987,012 | 26,621,990 | circuit simulation problem | 10000000-60000000 | true | 8.9 | 0.000003 |
FlowIPM22_Spielman_k300 | 9,045,202 | 9,045,202 | 27,226,204 | undirected weighted graph | 10000000-60000000 | true | 3 | 0 |
Schenk_nlpkkt80 | 1,062,400 | 1,062,400 | 28,704,672 | optimization problem | 10000000-60000000 | true | 27 | 0.000025 |
DIMACS10_rgg_n_2_21_s0 | 2,097,152 | 2,097,152 | 28,975,990 | undirected random graph | 10000000-60000000 | true | 13.8 | 0.000007 |
JGD_GL7d_GL7d20 | 1,437,547 | 1,911,130 | 29,893,084 | combinatorial problem | 10000000-60000000 | false | 20.8 | 0.000011 |
SNAP_sx-stackoverflow | 2,601,977 | 2,601,977 | 36,233,450 | directed temporal multigraph | 10000000-60000000 | true | 13.9 | 0.000005 |
Fluorem_RM07R | 381,689 | 381,689 | 37,464,962 | computational fluid dynamics problem | 10000000-60000000 | true | 98.2 | 0.000257 |
Gleich_wikipedia-20061104 | 3,148,440 | 3,148,440 | 39,383,235 | directed graph | 10000000-60000000 | true | 12.5 | 0.000004 |
Hardesty_Hardesty3 | 8,217,820 | 7,591,564 | 40,451,632 | computer graphics/vision problem | 10000000-60000000 | false | 4.9 | 0.000001 |
DIMACS10_kron_g500-logn19 | 524,288 | 524,288 | 43,562,265 | undirected multigraph | 10000000-60000000 | true | 83.1 | 0.000158 |
Dziekonski_dielFilterV2real | 1,157,456 | 1,157,456 | 48,538,952 | electromagnetics problem | 10000000-60000000 | true | 41.9 | 0.000036 |
GAP_GAP-road | 23,947,347 | 23,947,347 | 57,708,624 | directed weighted graph | 10000000-60000000 | true | 2.4 | 0 |
Janna_Hook_1498 | 1,498,023 | 1,498,023 | 60,917,445 | structural problem | 10000000-60000000 | true | 40.7 | 0.000027 |
FlowIPM22_Spielman_k400 | 21,413,602 | 21,413,602 | 64,401,604 | undirected weighted graph | 60000000-150000000 | true | 3 | 0 |
LAW_ljournal-2008 | 5,363,260 | 5,363,260 | 79,023,142 | directed graph | 60000000-150000000 | true | 14.7 | 0.000003 |
DIMACS10_rgg_n_2_23_s0 | 8,388,608 | 8,388,608 | 127,002,786 | undirected random graph | 60000000-150000000 | true | 15.1 | 0.000002 |
Janna_Cube_Coup_dt0 | 2,164,760 | 2,164,760 | 127,206,144 | structural problem | 60000000-150000000 | true | 58.8 | 0.000027 |
GenBank_kmer_U1a | 67,716,231 | 67,716,231 | 138,778,562 | undirected graph | 60000000-150000000 | true | 2 | 0 |
Dr.Sparse OTF Test Set
100 sparse matrices from the SuiteSparse Matrix Collection, converted to the flat binary format the Dr.Sparse benchmark harness reads. This is the held-out evaluation set for LLM-generated CUDA sparse kernels (SpMV / SpMM / SpGEMM), kept separate from the matrices the models were developed against.
Layout
Matrices are grouped into size tiers by row count, the convention Dr.Sparse task discovery scans for:
| tier | rows | matrices | size |
|---|---|---|---|
level1_small |
< 3,500 | 8 | 2.6 MB |
level2_medium |
3,500 – 34,000 | 35 | 155 MB |
level3_large |
34,000 – 1,100,000 | 38 | 2.1 GB |
level4_huge |
> 1,100,000 | 19 | 8.6 GB |
summary.csv and manifest.json carry per-matrix rows, cols, nnz, kind,
square, avg_row and density. Row counts span 800 to 67.7M and nnz spans
10.4K to 138.8M.
Binary format
Each .bin is CSR plus a dense vector, little-endian, no padding:
int32 num_rows
int32 num_cols
int32 nnz
int32 row_ptr[num_rows + 1]
int32 col_ind[nnz]
float32 values[nnz]
float32 x[num_cols] # dense RHS vector, for SpMV
Reading one in Python:
import numpy as np
def read_bin(path):
with open(path, "rb") as f:
rows, cols, nnz = np.fromfile(f, dtype=np.int32, count=3)
row_ptr = np.fromfile(f, dtype=np.int32, count=rows + 1)
col_ind = np.fromfile(f, dtype=np.int32, count=nnz)
values = np.fromfile(f, dtype=np.float32, count=nnz)
x = np.fromfile(f, dtype=np.float32, count=cols)
return rows, cols, nnz, row_ptr, col_ind, values, x
The C++ side of the harness reads the same layout in level_sparse/data_loader.h.
Use with Dr.Sparse
The tiers match the layout Dr.Sparse task discovery scans, so downloading
straight into level_sparse/otf_test_set/ needs no staging step:
hf download KinGeorge/Dr.Sparse-OTF-test-set --repo-type dataset \
--local-dir level_sparse/otf_test_set # all 100, 11.6 GB
./run_b200_eval_parallel.sh --model qwen3.8 --dry-run
level4_huge is 8.6 GB of the total, so for a quick smoke test pull only the
small tiers. Note that --include takes one pattern per flag — passing
several after a single --include silently matches nothing:
hf download KinGeorge/Dr.Sparse-OTF-test-set --repo-type dataset \
--local-dir level_sparse/otf_test_set \
--include "level1_small/*" --include "level2_medium/*" # 158 MB
If you already have the .bin files elsewhere on disk, point the staging
script at them instead and it will lay the tiers out as symlinks:
python level_sparse/stage_otf_test_set.py --src /path/to/flat/bins
Provenance and licence
Matrices are redistributed from the SuiteSparse Matrix Collection (Davis & Hu,
The University of Florida Sparse Matrix Collection, ACM TOMS 38(1), 2011),
whose entries are CC BY 4.0. Only the storage format was changed: the .mtx
sources were converted to CSR (single precision) and a dense x vector drawn
from a standard normal was appended so SpMV has a fixed right-hand side. That
vector is baked into each file, so results are reproducible across runs, but it
was not generated from a recorded seed and is not reproducible from the .mtx
source alone. Matrix values are otherwise unmodified. Please cite SuiteSparse if
you use this set.
- Downloads last month
- 39