Design Make Gibbs kernels composable [DO NOT MERGE] - #2243
Conversation
Benchmark reportthis PR + run time: 1 faster
compile time: unchanged across 32 benchmarksSignificant changes (1) ─────── run time ─────── ───── compile time ─────
benchmark baseline this PR Δ baseline this PR Δ
──────────────────────────────────────────────────────────────────────────────
+ categorical_log_prob 1.7 ms 1.5 ms -9.0% 54.7 ms 50.9 ms -6.9%Red is slower, green is faster; a row is coloured by the worse of its two columns. A delta in parentheses cleared the threshold on a measurement below the resolution floor, so it is shown without being called a change. † marks a benchmark that could not be compared — see below. Full results
|
| baseline | this PR | |
|---|---|---|
| ref | master |
make-gibbs-kernels-composable |
| commit | 26cc211a |
8b5a19a6 |
| numpyro | 0.21.0 | 0.21.0 |
| jax | 0.11.0 | 0.11.0 |
| backend | cpu | cpu |
| python | 3.14.7 | 3.14.7 |
Runner: Linux-6.17.0-1022-azure-x86_64-with-glibc2.39, 4 CPUs.
Produced by this benchmark run.
Related to #898
@fehiepsi this is the scaffolding design ready for feedback. Once we are happy with the design, I will proceed with the implementation.