Skip to content

Prepare v0.12.0 take 2: re-run benchmarks, refactor example notebook - #182

Merged
Gattocrucco merged 9 commits into
mainfrom
prepare-release
Jul 23, 2026
Merged

Prepare v0.12.0 take 2: re-run benchmarks, refactor example notebook#182
Gattocrucco merged 9 commits into
mainfrom
prepare-release

Conversation

@Gattocrucco

@Gattocrucco Gattocrucco commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator
  • Re-run benchmarks on cpu & gpu
  • Switch notebook to Bart from gbart
  • Fix a bug in the new Poisson sampler, though this bug did not affect bartz
  • Fix a bug in the benchmarking code

Gattocrucco and others added 9 commits July 23, 2026 08:29
StepMemorySharded passes a mesh, but StepMemory.make_state also
injected target_platform via a bartz<0.11.0 workaround. Current bartz
treats the two as mutually exclusive, so init asserted and the sharded
memory benchmark failed. Gate the workaround on no mesh being present.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
When lambda_ >= THETA_SPLIT the sampled k can exceed the pmf
truncation, leaving pmf_k == 0 and inf tangent coefficients.
Forward mode discards this branch, but the select transpose
routes a zero cotangent into it (inf * 0 = nan), poisoning the
lambda_ gradient. Guard pmf_k before dividing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The only significant regression is the compilation time with sparsity
on, as expected due to adding augmentation.
Switch from `gbart` to `Bart` and minimize further the amount of code.
The refreshed example notebook runs with the default 1000 burn-in +
1000 saved iterations, i.e. 2000 total MCMC iterations.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Gattocrucco Gattocrucco changed the title Prepare 0.12.0 release Prepare v0.12.0 take 2: re-run benchmarks, refactor example notebook Jul 23, 2026
@Gattocrucco
Gattocrucco merged commit 0179cf4 into main Jul 23, 2026
27 checks passed
@Gattocrucco
Gattocrucco deleted the prepare-release branch July 23, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant