CPU Einsum Benchmark Results

Generated from the explicit runs below; each section retains its own provenance and thread settings.

Threads: 1

Source report: data/results/amd-cpu/cpu/einsum/20261008_044146/report.md.

Latest run: ./scripts/run_all.sh 1.

This file is generated from one suite run under data/results/amd-cpu/cpu/einsum/20261008_044146.

CPU Information

Thread Environment

Tenferro CPU BLAS Backend

Python Backend Providers

Julia / OMEinsum.jl Backend

Logs:

Strategy: opt_flops

Median ± IQR (ms). JULIA_NUM_THREADS=1, OMP_NUM_THREADS=1, RAYON_NUM_THREADS=1.

Instance tenferro-rs trace mode (ms) tenferro-rs eager mode (ms) PyTorch Python (ms) JAX Python (XLA CPU dot) (ms) OMEinsum.jl OpenBLAS (ms)
bin_batched_matmul_b32_m128_n128_k128 8.041 ± 1.233 4.497 ± 0.023 4.499 ± 0.016 4.424 ± 0.034 7.573 ± 6.740
bin_batched_matmul_b32_m64_n64_k64 0.928 ± 0.013 0.643 ± 0.004 0.665 ± 0.005 0.696 ± 0.017 1.355 ± 0.858
bin_batched_outer_product_compact_j16_k16_o64_t64 0.228 ± 0.011 0.201 ± 0.010 0.145 ± 0.003 0.390 ± 0.013 1.866 ± 1.033
bin_batched_outer_product_noncompact_j16_k16_o64_t64 0.447 ± 0.020 0.203 ± 0.002 0.144 ± 0.002 0.389 ± 0.029 4.313 ± 8.472
bin_elementwise_mul_2048x2048 8.014 ± 0.720 7.203 ± 0.057 8.546 ± 0.071 11.574 ± 0.109 9.267 ± 0.526
bin_elementwise_mul_512x512 0.120 ± 0.028 0.109 ± 0.001 0.102 ± 0.004 0.215 ± 0.014 0.102 ± 0.013
bin_matmul_1024 73.319 ± 0.251 60.173 ± 0.124 68.856 ± 0.120 60.932 ± 0.326 58.290 ± 21.616
bin_matmul_256 1.407 ± 0.022 1.023 ± 0.004 1.418 ± 0.011 1.136 ± 0.154 0.931 ± 0.005
bin_omeinsum_batched_matmul_8x8_batch_4 0.037 ± 0.008 0.025 ± 0.001 0.024 ± 0.001 0.132 ± 0.015 0.012 ± 0.001
bin_omeinsum_high_d_12x12_contract_4_batch_4 0.086 ± 0.027 0.055 ± 0.002 0.112 ± 0.002 0.175 ± 0.018 0.061 ± 0.014
bin_omeinsum_matmul_10x10 0.040 ± 0.001 0.012 ± 0.000 0.023 ± 0.000 0.081 ± 0.014 0.021 ± 0.001
bin_outer_product_4096 32.203 ± 0.792 31.695 ± 0.212 29.972 ± 0.274 32.704 ± 0.515 248.725 ± 3.003
bin_permuted_r4_abcd_dbef_acef_d32 64.389 ± 0.071 61.233 ± 0.169 64.450 ± 0.152 63.156 ± 0.180 54.196 ± 21.077
gm_queen5_5_3.wcsp 3730.311 ± 29.708 5226.689 ± 24.361 5016.644 ± 24.283 3797.926 ± 29.786 6100.841 ± 38.125
lm_batch_likelihood_brackets_4_4d 29.651 ± 0.163 41.360 ± 0.186 28.332 ± 0.187 14.072 ± 0.147 21.846 ± 10.555
lm_batch_likelihood_sentence_3_12d 72.438 ± 0.290 94.953 ± 0.921 86.351 ± 0.463 75.642 ± 1.047 90.402 ± 39.068
lm_batch_likelihood_sentence_4_4d 30.104 ± 0.327 36.808 ± 0.061 31.382 ± 0.086 16.019 ± 0.139 31.566 ± 23.883
nary_matmul_chain_64 0.081 ± 0.024 0.047 ± 0.000 0.063 ± 0.002 0.108 ± 0.014 0.071 ± 0.010
str_matrix_chain_multiplication_100 12.198 ± 0.049 13.691 ± 0.112 14.764 ± 0.123 13.299 ± 0.129 13.238 ± 0.637
str_mps_varying_inner_product_200 17.989 ± 0.197 21.493 ± 0.633 21.501 ± 0.115 20.941 ± 0.174 21.596 ± 8.797
str_nw_mera_closed_120 1881.070 ± 15.787 1845.474 ± 22.745 1789.876 ± 4.668 1953.739 ± 3.886 1357.225 ± 13.432
str_nw_mera_open_26 1589.292 ± 14.882 1350.582 ± 2.822 1144.561 ± 1.022 1521.554 ± 1.993 1206.042 ± 48.242
tensornetwork_permutation_focus_step409_316 360.671 ± 1.948 507.990 ± 0.825 776.886 ± 1.904 580.989 ± 13.488 462.041 ± 43.418
tensornetwork_permutation_light_415 351.515 ± 2.001 420.994 ± 2.438 736.212 ± 2.696 600.092 ± 17.738 444.987 ± 77.202
Strategy: opt_size

Median ± IQR (ms). JULIA_NUM_THREADS=1, OMP_NUM_THREADS=1, RAYON_NUM_THREADS=1.

Instance tenferro-rs trace mode (ms) tenferro-rs eager mode (ms) PyTorch Python (ms) JAX Python (XLA CPU dot) (ms) OMEinsum.jl OpenBLAS (ms)
bin_batched_matmul_b32_m128_n128_k128 8.041 ± 1.233 4.497 ± 0.023 4.499 ± 0.016 4.424 ± 0.034 7.573 ± 6.740
bin_batched_matmul_b32_m64_n64_k64 0.928 ± 0.013 0.643 ± 0.004 0.665 ± 0.005 0.696 ± 0.017 1.355 ± 0.858
bin_batched_outer_product_compact_j16_k16_o64_t64 0.228 ± 0.011 0.201 ± 0.010 0.145 ± 0.003 0.390 ± 0.013 1.866 ± 1.033
bin_batched_outer_product_noncompact_j16_k16_o64_t64 0.447 ± 0.020 0.203 ± 0.002 0.144 ± 0.002 0.389 ± 0.029 4.313 ± 8.472
bin_elementwise_mul_2048x2048 8.014 ± 0.720 7.203 ± 0.057 8.546 ± 0.071 11.574 ± 0.109 9.267 ± 0.526
bin_elementwise_mul_512x512 0.120 ± 0.028 0.109 ± 0.001 0.102 ± 0.004 0.215 ± 0.014 0.102 ± 0.013
bin_matmul_1024 73.319 ± 0.251 60.173 ± 0.124 68.856 ± 0.120 60.932 ± 0.326 58.290 ± 21.616
bin_matmul_256 1.407 ± 0.022 1.023 ± 0.004 1.418 ± 0.011 1.136 ± 0.154 0.931 ± 0.005
bin_omeinsum_batched_matmul_8x8_batch_4 0.037 ± 0.008 0.025 ± 0.001 0.024 ± 0.001 0.132 ± 0.015 0.012 ± 0.001
bin_omeinsum_high_d_12x12_contract_4_batch_4 0.086 ± 0.027 0.055 ± 0.002 0.112 ± 0.002 0.175 ± 0.018 0.061 ± 0.014
bin_omeinsum_matmul_10x10 0.040 ± 0.001 0.012 ± 0.000 0.023 ± 0.000 0.081 ± 0.014 0.021 ± 0.001
bin_outer_product_4096 32.203 ± 0.792 31.695 ± 0.212 29.972 ± 0.274 32.704 ± 0.515 248.725 ± 3.003
bin_permuted_r4_abcd_dbef_acef_d32 64.389 ± 0.071 61.233 ± 0.169 64.450 ± 0.152 63.156 ± 0.180 54.196 ± 21.077
gm_queen5_5_3.wcsp 1517.324 ± 6.332 2044.036 ± 8.997 2145.622 ± 6.188 1608.049 ± 5.848 2317.757 ± 40.953
lm_batch_likelihood_brackets_4_4d 26.444 ± 0.094 31.902 ± 0.177 30.527 ± 0.120 15.014 ± 0.351 43.782 ± 24.807
lm_batch_likelihood_sentence_3_12d 74.271 ± 2.239 109.947 ± 0.317 87.391 ± 0.419 81.782 ± 0.761 91.309 ± 33.481
lm_batch_likelihood_sentence_4_4d 31.381 ± 0.299 37.568 ± 0.250 32.541 ± 0.188 15.049 ± 0.095 35.930 ± 34.565
nary_matmul_chain_64 0.081 ± 0.024 0.047 ± 0.000 0.063 ± 0.002 0.108 ± 0.014 0.071 ± 0.010
str_matrix_chain_multiplication_100 13.720 ± 0.499 13.884 ± 0.089 14.793 ± 0.118 12.985 ± 0.150 13.388 ± 0.673
str_mps_varying_inner_product_200 16.634 ± 0.203 18.282 ± 0.091 20.223 ± 0.177 19.867 ± 0.331 18.182 ± 1.384
str_nw_mera_closed_120 1609.278 ± 5.937 1618.480 ± 5.772 1521.999 ± 2.704 1693.001 ± 2.855 1201.490 ± 49.617
str_nw_mera_open_26 1603.150 ± 4.701 1361.131 ± 3.967 1151.588 ± 1.545 1567.663 ± 2.097 1183.234 ± 45.784
tensornetwork_permutation_focus_step409_316 360.671 ± 1.948 507.990 ± 0.825 776.886 ± 1.904 580.989 ± 13.488 462.041 ± 43.418
tensornetwork_permutation_light_415 351.515 ± 2.001 420.994 ± 2.438 736.212 ± 2.696 600.092 ± 17.738 444.987 ± 77.202

Collection recovery

Completed einsum measurements retained from the initial collection; CPU ops were recollected after the input-restoration fix. Component commits and original metadata are recorded in run.yaml and einsum_run.yaml. Exact commands: data/results/amd-cpu/cpu/refresh/20261008_044136/commands_remaining.sh.

Threads: 4

Source report: data/results/amd-cpu/cpu/einsum/20261008_053424/report.md.

Latest run: ./scripts/run_all.sh 4.

This file is generated from one suite run under data/results/amd-cpu/cpu/einsum/20261008_053424.

CPU Information

Thread Environment

Tenferro CPU BLAS Backend

Python Backend Providers

Julia / OMEinsum.jl Backend

Logs:

Strategy: opt_flops

Median ± IQR (ms). JULIA_NUM_THREADS=4, OMP_NUM_THREADS=4, RAYON_NUM_THREADS=4.

Instance tenferro-rs trace mode (ms) tenferro-rs eager mode (ms) PyTorch Python (ms) JAX Python (XLA CPU dot) (ms) OMEinsum.jl OpenBLAS (ms)
bin_batched_matmul_b32_m128_n128_k128 5.336 ± 0.817 2.098 ± 0.012 1.156 ± 0.004 1.462 ± 0.060 5.514 ± 5.856
bin_batched_matmul_b32_m64_n64_k64 0.973 ± 0.117 0.558 ± 0.013 0.187 ± 0.003 0.691 ± 0.021 0.532 ± 0.317
bin_batched_outer_product_compact_j16_k16_o64_t64 0.172 ± 0.177 0.139 ± 0.073 0.057 ± 0.002 0.303 ± 0.072 0.500 ± 1.517
bin_batched_outer_product_noncompact_j16_k16_o64_t64 0.193 ± 0.010 0.088 ± 0.004 0.057 ± 0.002 0.280 ± 0.088 5.171 ± 5.319
bin_elementwise_mul_2048x2048 3.237 ± 0.203 3.125 ± 0.606 3.146 ± 0.254 5.125 ± 0.339 9.641 ± 0.241
bin_elementwise_mul_512x512 0.092 ± 0.031 0.046 ± 0.013 0.042 ± 0.003 0.204 ± 0.078 0.095 ± 0.307
bin_matmul_1024 28.080 ± 0.669 17.526 ± 0.065 25.707 ± 0.127 16.242 ± 0.625 31.283 ± 8.470
bin_matmul_256 0.646 ± 0.005 0.322 ± 0.008 0.712 ± 0.005 0.472 ± 0.050 0.531 ± 0.004
bin_omeinsum_batched_matmul_8x8_batch_4 0.043 ± 0.016 0.016 ± 0.001 0.024 ± 0.001 0.133 ± 0.008 0.012 ± 0.001
bin_omeinsum_high_d_12x12_contract_4_batch_4 0.139 ± 0.101 0.063 ± 0.002 0.111 ± 0.001 0.180 ± 0.057 0.038 ± 0.001
bin_omeinsum_matmul_10x10 0.056 ± 0.006 0.016 ± 0.001 0.023 ± 0.001 0.097 ± 0.015 0.020 ± 0.001
bin_outer_product_4096 11.289 ± 5.566 10.359 ± 0.476 8.632 ± 0.148 10.395 ± 0.208 236.050 ± 3.601
bin_permuted_r4_abcd_dbef_acef_d32 19.830 ± 0.517 19.187 ± 0.337 20.217 ± 0.103 18.428 ± 1.013 22.307 ± 5.293
gm_queen5_5_3.wcsp 1883.194 ± 18.585 1871.317 ± 20.567 1686.025 ± 10.116 1494.468 ± 49.425 5507.456 ± 45.829
lm_batch_likelihood_brackets_4_4d 14.103 ± 1.650 21.766 ± 1.049 8.017 ± 0.276 14.823 ± 0.767 17.815 ± 4.619
lm_batch_likelihood_sentence_3_12d 32.334 ± 6.084 49.351 ± 4.432 19.719 ± 0.265 31.113 ± 3.536 56.072 ± 6.914
lm_batch_likelihood_sentence_4_4d 15.228 ± 2.173 22.535 ± 2.141 8.701 ± 0.070 15.979 ± 2.602 33.554 ± 16.101
nary_matmul_chain_64 0.066 ± 0.024 0.032 ± 0.002 0.047 ± 0.001 0.114 ± 0.023 0.071 ± 0.027
str_matrix_chain_multiplication_100 5.220 ± 0.317 4.974 ± 0.873 5.760 ± 0.044 5.737 ± 0.213 8.881 ± 0.743
str_mps_varying_inner_product_200 15.989 ± 4.644 15.559 ± 1.342 14.009 ± 0.091 17.653 ± 0.664 21.768 ± 2.104
str_nw_mera_closed_120 571.352 ± 10.271 521.686 ± 14.381 559.056 ± 1.791 501.404 ± 4.278 630.384 ± 11.938
str_nw_mera_open_26 598.579 ± 4.306 453.522 ± 7.202 355.086 ± 1.786 398.911 ± 7.203 696.408 ± 37.167
tensornetwork_permutation_focus_step409_316 142.288 ± 5.471 184.822 ± 9.267 234.708 ± 0.795 205.838 ± 4.333 330.805 ± 28.403
tensornetwork_permutation_light_415 139.924 ± 6.792 184.155 ± 6.678 228.366 ± 0.985 218.839 ± 3.603 337.892 ± 8.323
Strategy: opt_size

Median ± IQR (ms). JULIA_NUM_THREADS=4, OMP_NUM_THREADS=4, RAYON_NUM_THREADS=4.

Instance tenferro-rs trace mode (ms) tenferro-rs eager mode (ms) PyTorch Python (ms) JAX Python (XLA CPU dot) (ms) OMEinsum.jl OpenBLAS (ms)
bin_batched_matmul_b32_m128_n128_k128 5.336 ± 0.817 2.098 ± 0.012 1.156 ± 0.004 1.462 ± 0.060 5.514 ± 5.856
bin_batched_matmul_b32_m64_n64_k64 0.973 ± 0.117 0.558 ± 0.013 0.187 ± 0.003 0.691 ± 0.021 0.532 ± 0.317
bin_batched_outer_product_compact_j16_k16_o64_t64 0.172 ± 0.177 0.139 ± 0.073 0.057 ± 0.002 0.303 ± 0.072 0.500 ± 1.517
bin_batched_outer_product_noncompact_j16_k16_o64_t64 0.193 ± 0.010 0.088 ± 0.004 0.057 ± 0.002 0.280 ± 0.088 5.171 ± 5.319
bin_elementwise_mul_2048x2048 3.237 ± 0.203 3.125 ± 0.606 3.146 ± 0.254 5.125 ± 0.339 9.641 ± 0.241
bin_elementwise_mul_512x512 0.092 ± 0.031 0.046 ± 0.013 0.042 ± 0.003 0.204 ± 0.078 0.095 ± 0.307
bin_matmul_1024 28.080 ± 0.669 17.526 ± 0.065 25.707 ± 0.127 16.242 ± 0.625 31.283 ± 8.470
bin_matmul_256 0.646 ± 0.005 0.322 ± 0.008 0.712 ± 0.005 0.472 ± 0.050 0.531 ± 0.004
bin_omeinsum_batched_matmul_8x8_batch_4 0.043 ± 0.016 0.016 ± 0.001 0.024 ± 0.001 0.133 ± 0.008 0.012 ± 0.001
bin_omeinsum_high_d_12x12_contract_4_batch_4 0.139 ± 0.101 0.063 ± 0.002 0.111 ± 0.001 0.180 ± 0.057 0.038 ± 0.001
bin_omeinsum_matmul_10x10 0.056 ± 0.006 0.016 ± 0.001 0.023 ± 0.001 0.097 ± 0.015 0.020 ± 0.001
bin_outer_product_4096 11.289 ± 5.566 10.359 ± 0.476 8.632 ± 0.148 10.395 ± 0.208 236.050 ± 3.601
bin_permuted_r4_abcd_dbef_acef_d32 19.830 ± 0.517 19.187 ± 0.337 20.217 ± 0.103 18.428 ± 1.013 22.307 ± 5.293
gm_queen5_5_3.wcsp 701.870 ± 8.029 820.139 ± 9.067 777.598 ± 6.752 641.971 ± 11.748 1952.444 ± 17.190
lm_batch_likelihood_brackets_4_4d 15.318 ± 2.300 21.135 ± 2.440 8.843 ± 0.177 15.073 ± 1.663 36.189 ± 10.632
lm_batch_likelihood_sentence_3_12d 36.430 ± 5.499 44.406 ± 2.326 20.311 ± 0.080 32.371 ± 2.677 59.792 ± 7.669
lm_batch_likelihood_sentence_4_4d 15.968 ± 2.777 22.272 ± 3.487 9.557 ± 0.106 14.571 ± 0.891 25.270 ± 11.051
nary_matmul_chain_64 0.066 ± 0.024 0.032 ± 0.002 0.047 ± 0.001 0.114 ± 0.023 0.071 ± 0.027
str_matrix_chain_multiplication_100 5.373 ± 0.455 5.080 ± 0.043 5.739 ± 0.055 6.515 ± 0.396 8.863 ± 0.559
str_mps_varying_inner_product_200 16.067 ± 2.413 16.288 ± 2.914 13.993 ± 0.140 16.297 ± 0.885 18.255 ± 7.422
str_nw_mera_closed_120 461.765 ± 5.849 445.002 ± 8.336 457.249 ± 2.970 430.970 ± 14.292 503.279 ± 16.666
str_nw_mera_open_26 583.995 ± 3.814 446.992 ± 6.155 355.250 ± 1.833 413.274 ± 14.026 666.321 ± 42.274
tensornetwork_permutation_focus_step409_316 142.288 ± 5.471 184.822 ± 9.267 234.708 ± 0.795 205.838 ± 4.333 330.805 ± 28.403
tensornetwork_permutation_light_415 139.924 ± 6.792 184.155 ± 6.678 228.366 ± 0.985 218.839 ± 3.603 337.892 ± 8.323