|
1 | 1 | { |
2 | 2 | "schema_version": 1, |
3 | | - "commit": "c234ba4", |
4 | | - "measured_at": "2026-04-29", |
| 3 | + "commit": "fe133f9", |
| 4 | + "measured_at": "2026-06-02", |
5 | 5 | "ops": [ |
6 | 6 | { |
7 | 7 | "name": "abs", |
|
315 | 315 | "name": "log_4decades_001_100", |
316 | 316 | "description": "log(x) over [0.01, 100] — 4 decades. With per-decade sectioning (default), each section's pre-cancellation magnitude is bounded by `section_factor=10`, so float32 ULP noise is ~1.2e-6 per section. The dominant residual error comes from the multiply_2d blending grid in routing.", |
317 | 317 | "n_samples": 4096, |
318 | | - "max_abs_error": 0.000247002, |
319 | | - "mean_abs_error": 0.000112631, |
320 | | - "p99_abs_error": 0.000169402, |
321 | | - "max_rel_error": 0.00372105, |
322 | | - "mean_rel_error": 4.25736e-05, |
323 | | - "p99_rel_error": 0.000264624, |
| 318 | + "max_abs_error": 0.000247478, |
| 319 | + "mean_abs_error": 0.000111867, |
| 320 | + "p99_abs_error": 0.000168088, |
| 321 | + "max_rel_error": 0.00370548, |
| 322 | + "mean_rel_error": 4.2368e-05, |
| 323 | + "p99_rel_error": 0.000263829, |
324 | 324 | "rel_valid_samples": 4096, |
325 | 325 | "worst_input": { |
326 | 326 | "x": 0.0179683 |
|
330 | 330 | "name": "log_6decades_wide", |
331 | 331 | "description": "log(x) over [0.01, 30000] — 6 decades. Stresses the sectioning path: a single-section piecewise log over this range fails outright (cancellation floor `(x_max/x_min) · 2⁻²³ ≈ 0.36 absolute, observed worst ~1.0 abs). Sectioning drops the floor to ~5e-3 absolute, dominated by compare-cancellation noise at large `x` propagating through multiply_2d blending.", |
332 | 332 | "n_samples": 4096, |
333 | | - "max_abs_error": 0.00302601, |
334 | | - "mean_abs_error": 0.00152333, |
335 | | - "p99_abs_error": 0.00279808, |
336 | | - "max_rel_error": 0.00114918, |
337 | | - "mean_rel_error": 0.000169692, |
338 | | - "p99_rel_error": 0.000399339, |
| 333 | + "max_abs_error": 0.00302315, |
| 334 | + "mean_abs_error": 0.00152277, |
| 335 | + "p99_abs_error": 0.00279686, |
| 336 | + "max_rel_error": 0.00114823, |
| 337 | + "mean_rel_error": 0.000169627, |
| 338 | + "p99_rel_error": 0.000398892, |
339 | 339 | "rel_valid_samples": 4096, |
340 | 340 | "worst_input": { |
341 | 341 | "x": 27070.5 |
|
374 | 374 | "name": "atan_cross_dot_nonuniform", |
375 | 375 | "description": "atan2(cross/dot) over [-2, 2] × [0.5, 10] on a non-uniform grid — rank-3 SVD via `low_rank_2d`.", |
376 | 376 | "n_samples": 4096, |
377 | | - "max_abs_error": 0.0651017, |
| 377 | + "max_abs_error": 0.0651015, |
378 | 378 | "mean_abs_error": 0.0158553, |
379 | 379 | "p99_abs_error": 0.0574396, |
380 | | - "max_rel_error": 0.33142, |
381 | | - "mean_rel_error": 0.0803217, |
382 | | - "p99_rel_error": 0.217151, |
| 380 | + "max_rel_error": 0.331451, |
| 381 | + "mean_rel_error": 0.0803216, |
| 382 | + "p99_rel_error": 0.21716, |
383 | 383 | "rel_valid_samples": 4096, |
384 | 384 | "worst_input": { |
385 | | - "a": 2.0, |
| 385 | + "a": -2.0, |
386 | 386 | "b": 3.36508 |
387 | 387 | } |
388 | 388 | } |
|
459 | 459 | { |
460 | 460 | "name": "multiply_2d", |
461 | 461 | "module": "torchwright.ops.arithmetic_ops", |
462 | | - "notes": "Single-sublayer product via 2D piecewise-linear lookup. Analytical worst-cell absolute bound is `step1*step2/4 = 0.25` for this configuration.", |
| 462 | + "notes": "Single-sublayer product built analytically via the quarter-square identity `a*b = ((a+b)^2 - (a-b)^2)/4` (O(n) neurons, no least-squares solve). Worst-cell absolute bound is `step1*step2/4 = 0.25` for this configuration.", |
463 | 463 | "distributions": [ |
464 | 464 | { |
465 | 465 | "name": "multiply_uniform_pm10", |
466 | 466 | "description": "a·b over [-10, 10]² with step=1 — generic uniform product grid; analytical bound `step1*step2/4 = 0.25`.", |
467 | 467 | "n_samples": 4096, |
468 | | - "max_abs_error": 0.0624998, |
469 | | - "mean_abs_error": 0.0201988, |
470 | | - "p99_abs_error": 0.0584654, |
471 | | - "max_rel_error": 2.15046, |
472 | | - "mean_rel_error": 0.00729335, |
| 468 | + "max_abs_error": 0.0624883, |
| 469 | + "mean_abs_error": 0.0201983, |
| 470 | + "p99_abs_error": 0.0584726, |
| 471 | + "max_rel_error": 2.14985, |
| 472 | + "mean_rel_error": 0.00729313, |
473 | 473 | "p99_rel_error": 0.0661755, |
474 | 474 | "rel_valid_samples": 4096, |
475 | 475 | "worst_input": { |
|
0 commit comments