Changelog
1.1.0
Features and performance
Use fitted bounding boxes for expansion geometry and opening tests, improving speed in most cases and making the algorithm less prone to edge cases.
Reuse compiled functions when softening, opening angle or tree regularization thresholds change without changing their shapes or dtypes. Structural choices, including expansion order and allocation factors, remain static.
Provide consistent compilation helpers for FMM, multipole and lattice operations, nested configuration pytrees and readable
cfg.print()output.
Fixes and compatibility
Too small allocations raise catchable errors (jz-tree’s runtime checks) that name the configuration value to increase, consistently on all ranks. Requires jz-tree 1.2 or newer: the communication helpers take
fix_parent/fix_childinstead oferr_hint_*.Check the interaction list allocation before inserting interactions. Previously,
InsertInteractionscould write past a too small allocation before the check reported it.Correct the self-potential contribution to mass gradients.
Give distributed simulation regression tests sufficient communication buffers for eight-GPU runs; production allocation defaults are unchanged.
Skip empty receiver leaves in direct-interaction CUDA kernels.
Support the shared opt-in JAX communication workarounds before backend initialization.
Respect explicit CUDA architecture settings; require an explicit target when building without a GPU.
Use the supplied compilation helpers instead of relying on whole-config hashing.
Force-configuration derivatives remain unsupported; particle positions, masses
and the dynamic interaction strength G can be differentiated.
Performance comparison
Morton nodes (old, dashed) versus bounding boxes (new, solid), with p=5, float32,
40 million Hernquist particles and four A100s. The labels indicate opening angle.
The horizontal axis is the 90th percentile of the symmetric relative force error.
Curves show mean runtime and one standard deviation over five synchronized calls,
using the slowest rank each time and excluding compilation, warm-up and input
preparation. Both versions use identical inputs. Measurements use the jax-fixes
baseline, before the subsequent interface changes.

1.0.1
Fixed invalid expansion scaling for tree cells spanning positive and negative coordinates and for tiny or coincident-particle cells. These cases could produce NaNs in FMM results and gradients, including MMD losses used in differentiable simulations. Updating is recommended, especially for differentiable workloads; the fix requires the updated CUDA backend as well as the Python package.
Added regression tests for forces, gradients, and reversible integration, with a compact subset retained in
--quickmode.Improved the
hello_world.pydependency hints and refreshed the getting-started guide and example outputs.
1.0.0
First public release.