Changelog
Versions are MAJOR.MINOR with the minor number simply incrementing. There is
no third component, and 1.10 is followed by 1.11, which orders correctly under
PEP 440. PyPI never permits a version to be reused, so a bad upload is
permanent; the next number is the only remedy.
Each entry says what changed for someone using the package. Where a change is in the build or in a document rather than in the evaluator, it says so.
1.7 - 2026-11-03
1.6 was uploaded to TestPyPI only. 1.7 contains the changes listed under 1.6 below and the two changes that follow.
Changed
- The warning about derivatives below the native starting frequency gives
the measured size.
modes_grad(..., f_low=...)and the other hybridized derivatives warn, once per process, that the derivatives do not include thePN_RATIO_POWERLAWcorrection used for the waveform values. The warning gave a difference of 1.7e-3 to 5.2e-3 of peak, measured before 1.6. Measured on 1.6 against finite differences of the waveform, for mass ratios 1.2 to 7.5 and spins up to 0.8, the difference is at most 1e-4 of each mode's peak amplitude atf_low= 0.004, and at most 5.1e-4 at 0.003 and 0.002. The derivatives are unchanged, andNRHJ_GRADIENT_FLAG_GUARDworks as before. - The
modes_graddocstrings, three of its error messages and docs/USAGE.md say "below the native starting frequency" where they said "below reach". Option values such ashybridization="extend_if_below_reach"are unchanged.
1.6 - 2026-10-25 (TestPyPI only)
Added
- Derivatives of hybridized AA waveforms now run through merger and
ringdown. In 1.5,
hybrid_gradients.hybrid_modes_gradand the batchedhybrid_gradient_batchstopped at the end of the inspiral, while the hybridized waveform itself ran on to the end of the ringdown. The PN extension changes the waveform only before the point where it joins the model, so after that point the derivative is the oneNRHJSurAA.modes_grad(with_mr=True)already gives, and the hybrid derivatives now use it. The newwith_mrargument defaults to"auto"(on when the model carries a merger-ringdown model), as onmodes_grad. On 15 parameter points, the derivatives after the join are bitwise the native ones, and in the ringdown they match finite differences of the hybridized waveform to 5e-7 to 9e-5 of the peak amplitude.with_mr=Falsereturns exactly what 1.5 returned. Hybridized derivatives are computed in NumPy; there is no compiled version yet. modes_gradandget_td_waveform_modes_geometric(..., with_derivatives=True)acceptf_lowon the default timing mode. Below the model's native starting frequency they return the derivatives of the hybridized waveform, through merger and ringdown. Above it, they return the native derivatives on the span the waveform call keeps. Both used to refuse anyf_low. Withouttimes=, the samples are close to but not exactly the waveform call's (up to about 0.2 M apart after the join). Passtimes=to get the derivatives on the waveform's own samples.
Changed
- Models load with
safe=Falseby default.NRHJSurAA.load,load_h5,NRHJSurAdA.loadand the constructors now default to the fast evaluation path. The results differ from the bitwise-reproducible path by at most 4.5e-10 relative on the waveform and 1.4e-9 on its derivatives. Passsafe=Trueto get results that reproduce bit for bit, as before. The compiled (Kokkos) backend is unaffected. nrhjsur-smokeruns on the fast path by default (--safe false), the same as the loader, andnrhjsur-benchprints which path it timed.- The batched AA call is as fast as in 1.4 again. In 1.5,
AABatch.physicalbegan to start each row and set its reference phase exactly as the single-waveform call does. That search ran in single-threaded NumPy and made the batched call 1.2 to 1.7 times slower than in 1.4. It is now vectorised over the batch, and on one AMD EPYC 7742 node (128 threads) the batched call is within 8% of 1.4 for batches of 1 to 4096. The output is bitwise the same as in 1.5. hybrid_gradient_batchrows that do not need the PN extension now also run through merger and ringdown by default, so every row of a batch covers the same span.row_time_spansandshared_timestake the samewith_mrargument. Passwith_mr=Falsefor the 1.5 behaviour.
Fixed
- Batched AA derivatives follow the model's
safesetting and the model file's PN normaliser.modes_grad_batch(and the native rows ofhybrid_gradient_batch) evaluated on the bitwise-reproducible path even for a model loaded withsafe=False, and used the process's PN normaliser instead of the one the model file was built with. Both now matchNRHJSurAA.modes_grad, row for row and bit for bit. Withsafe=Falsea batched row takes 28% less time on one core (165 ms against 228 ms, 8 rows on the released model). Withsafe=Trueand the released v3 files the batch gives the same numbers as before; older model files built with the 2PN-spin normaliser now get the right derivatives from the batch.
1.5 - 2026-10-15
Changed
- Python 3.10 and 3.11 are supported, with wheels.
requires-pythonwas>=3.12from the first scaffold with no recorded reason, and nothing in the package needed it: the code itself runs on 3.8, and the real floor is the dependencies, wherescipy>=1.14requires Python 3.10. The tier-1 test suite gives the same result on 3.10 and 3.11 as on 3.12, both the NumPy-only and the compiled install. The floor is now>=3.10, the classifiers list 3.10 and 3.11, the cibuildwheel matrix builds cp310 and cp311 on every platform, and CI runs the suite on both. On those versions pip resolves older numpy and scipy than on 3.12 (numpy 2.2 and scipy 1.15 on 3.10), all inside the ranges already declared; no dependency floor moved. - Windows (MSVC) builds compile the sample-axis vectorised evaluator
kernels. 1.4 had to leave them out of the Windows wheel because cl.exe
rejects the OpenMP
simddirective (error C7660), so Windows ran the 1.3 scalar kernels. The directive is now written through one macro,NRHJ_SIMD_PRAGMAincpp/simd_pragma.hpp: GCC, Clang and AppleClang get the sameomp simdpragma as before, and cl.exe gets its ownloop(ivdep)hint (nothing at the two reduction loops, where ivdep would not be a safe promise).NRHJ_EVAL_SAMPLE_SIMD,NRHJ_TAU_SAMPLE_SIMDandNRHJ_EVAL_NO_CONTRACTnow default ON with MSVC as on every other host compiler, and stay overridable. Linux and macOS are unchanged: on x86-64 GCC the compile commands and the assembly ofevaluator.cppandgpr.cppare identical before and after, and so are the waveform, hybrid and gradient outputs bit for bit. Measured on windows-latest (wheels run 38654735855, 2026-10-14): cl.exe compiles it with no C7660,nrhjsur-verify --strictpasses 17 of 17, and on one thread the vectorised kernels are 1.43x faster at B=1 (median over 7 alternating rounds; range 1.1 to 1.9) and about 1.5x at B=64 in most rounds (that runner was noisy: median ratio 1.09, range 1.04 to 2.27). - Build record:
_compiled_build_record.jsonnow also listsnrhj_eval_sample_simd,nrhj_tau_sample_simdandnrhj_eval_no_contract, so a wheel says which kernels it carries. wheels.ymlgains an opt-insimd_timinginput (default off) that, on the Windows arm, builds a second wheel with the scalar kernels and times both on the same runner (ci/simd_ab_timing.py). Build and CI only; no change to the evaluator.- A spin with magnitude above 1 is refused.
|spin1z| > 1,|spin2z| > 1or a NaN spin now raisesValueErrornaming the parameter, its value and, for array input, the first offending index (spin1z = 1.5 at index 2 is outside [-1, 1]). Exactly|spin| = 1is accepted, and nothing changes for any spin inside that range: waveforms, derivatives, remnants and error estimates there are bitwise what 1.4 served. It applies on both backends to every method that takes the spins: on NRHJSurAA the four waveform methods (withwith_derivatives=Truetoo),modes_grad,modes_grad_named,predict_pieces,get_orbital_dynamics, both error estimates, both remnant methods, the superseded aliases andphysical_batch;AABatch.physicalandAABatch.geometric;modes_grad_batch,hybrid_gradient_batch,shared_timesandhybrid_modes_grad; and on NRHJSurAdAmodes,modes_grad,modes_grad_named,strain,strain_gradandtime_derivative. Through 1.4 such a point was evaluated: the model does not clamp, so at mass ratio 2 the (2, 2) mode at spin1z = 1.2 differed from spin1z = 0.998 by 126%, and the peak amplitude at 2.0 was 6.9 times larger. If you passed spins above 1 on purpose, that call now raises. - The relative error estimate is NaN, not
inf, where a mode is exactly zero.get_waveform_error_estimatereturns per mode an absolute and a relative (phase) envelope; the relative one was a bare division and came backinfat every sample of the odd-m modes of an equal-mass, equal-spin binary (q = 1, chi = 0 gave 78672infof 137676 values), and at the first sample on the compiled backend at some points. It is now NaN exactly where the served mode is zero, since the ratio is undefined there, and bitwise the old value everywhere else. The absolute envelope is unchanged. - The catalogue edges count as inside the training range. The stored
box is the extent of the training simulations, which lies just inside
the nominal values: the largest trained mass ratio is 7.999879, so the
q = 8 in the model's name was reported outside (
in_hull(8, 0, 0)was False, and the waveform and error estimate warned), and so was spin 0.998. The box test now allows 1e-4 in log mass ratio and 5e-4 in each spin, in one place used byin_hull,hull_mask, the out-of-range warnings and the error estimate's own check. Classification only: no prediction moves.
Fixed
- The compiled AA gradient path now differentiates the waveform users
get, over its last 20 M before the peak. On an artifact with a
merger-ringdown arm, the waveform is the cosine blend of the inspiral and
merger-ringdown arms from -20 M to -5 M. In 1.4,
NRHJSurAA.modes_gradandmodes_grad_batchinclude that blend by default (with_mr="auto").execution.aa_gradient_device.modes_grad_batch_devicestill defaulted towith_mr=False, so there it returned the derivative of the inspiral arm alone. On the released AA v3 at q=4, chi=(0.6, 0.2), its derivative was 1.1e-2 of peak from finite differences of the waveform's values and frommodes_grad. Its default is nowwith_mr="auto"like the others, and it agrees withmodes_gradto 5e-5, the level the two paths agreed at before 1.4. Before -20 M, nothing changes. Passwith_mr=Falseto get the inspiral arm alone, as before.AAHMCLikelihood(engine="device")keeps its inspiral-only behaviour. The compiled evaluator itself did not change. 1.4's acceptance compared the compiled path with SIMD on against SIMD off and could not see this. - AA parameter derivatives are now taken at the times you pass. This
changes the numbers every AA gradient path returns:
NRHJSurAA.modes_grad,get_td_waveform_modes_geometric(..., with_derivatives=True),modes_grad_batch(host and compiled) andmodes_grad_batch_device. The waveform is returned on the raw tau clock, where the peak is attau_end(theta), not at 0. Through 1.4 every one of these paths heldt - tau_end(theta)fixed instead oft, so the derivative carried an extrahdot * dtau_end/dtheta. That is about 7e-4 of peak in the inspiral and 1e-2 near and after the peak. At (2.4, 0.15, -0.10) over t in [0, 50] M, the (2,2) relative L2 error against finite differences of the waveform at fixed t was 6.1e-3, 1.1e-2 and 1.4e-2 for (q, chi1z, chi2z). It is now 2.8e-5, 6.6e-5 and 1.6e-4. A likelihood on fixed data times needs the derivative at fixed t, so its gradient was off by the same amount; that includesAAHMCLikelihood. The old convention is still available asclock="peak-aligned"onmodes_grad,modes_grad_batchandmodes_grad_batch_device, and it returns 1.4's numbers bit for bit. If your analysis samples or marginalises the arrival time, the uncertainties on q, chi1z and chi2z are the same under either convention; the change matters where the arrival time is held fixed.modes_grad_batch(convert_dh_to_raw_tau=...)keeps its meaning: True is the new default, and an explicit False isclock="peak-aligned". The hybrid paths already used fixed times and are unchanged.nrhjsur-verify's AA derivative reference values are re-pinned to the new convention. Only those 17 arrays moved, each by exactly the clock term; every other reference value is byte for byte as before. - Both fixes leave every waveform value bit-for-bit unchanged, from every
path. A new test,
tests/test_aa_grad_vs_waveform_fd.py, checks each derivative path against finite differences of the waveform's values, in the inspiral, through merger and after the peak. It shares no code with any gradient path. - The compiled backend now warns outside the training range. On
backend="kokkos", an in-range spin outside the training box (for example spin1z = 0.999, above the box top of 0.997995) was served with no warning (seen on 1.1, 1.3 and 1.4), while the NumPy backend warned. It now emits oneOutOfHullWarningper call, giving how many of the batch's points are outside, on the waveform methods,physical_batch,AABatchand the device path ofmodes_grad_batch. - The out-of-range warning no longer claims the model clamps. It said
the model "clamps to the boundary"; it does not. Every fit in the released
artifacts is evaluated unchanged outside the box, so the waveform is an
extrapolation that keeps moving away from the boundary waveform. The
warnings,
in_hull,hull_maskand the documentation now say so. The one clamp that exists is the remnant map's final spin, held to the range its mixing tables cover. - The error estimate's own out-of-range warning names its box. It tests
the box of one content group, and the odd-m ratio group is trained on a
subset of the simulations with a narrower spin range (top 0.9499), so it
could warn at spin1z = 0.99 while
in_hullwas True. The message now says it means that group's box. NRHJSurAdA.modes_gradon the NumPy backend now differentiates the whole waveform. It differentiated the inspiral alone, so through merger and ringdown it returned the derivative of the clamped inspiral endpoint (1.75 relative L2 error in d/dq at t = 10, 20, 30 M for q = 2.4), and 0.0603 where the waveform is zero. It now takes the full inspiral-merger-ringdown gradient and agrees with central differences ofmodesto 3.3e-5 of the peak or better, and is exactly zero outside the support.NRHJSurAdA.modes_gradon the kokkos backend now honourst. It ignored the requested samples and returned the model's own grid (18030 samples for a request of 3). The two backends now return identical derivatives on the samet.nrhjsur-verifycompares the AdA derivatives against the corrected path. Its stored AdA derivative references were recorded from the inspiral-only path fixed above, so--strictfailed on every platform (2.39 of peak, d(3, 2)/dchi1z at q = 1). The 21 AdA derivative arrays are re-recorded withscripts/generate_verify_reference_values.py; the other 151 arrays are byte-identical. The new values agree with central differences ofmodesat the same points and times to 3.7e-5 of the peak on both backends; the old ones were off by up to 1.73.hybrid_gradients.hybrid_modes_gradno longer returns NaN at equal mass and equal spins. At q = 1 with chi1z = chi2z the (2,1), (3,3), (4,3) and (5,5) modes came back NaN in both the waveform and its derivatives, where the waveform is zero. The waveform is now zero there, and the derivative matches finite differences to 2.5e-8 of its peak. Elsewhere the output is bitwise unchanged.NRHJSurAdA.modesandstrainon the kokkos backend return zeros outside the waveform's support, as the NumPy backend and the documented serving contract always did, instead of raising for the whole grid. A detector segment longer than the waveform now gives the same strain on both backends. The Fisher path (PhysicalModel,strain_grad) still raises on such a grid, as documented. In-support results are bitwise unchanged.- Gradient batches running at the same time in different threads no longer
change each other's settings.
modes_grad_batchkept its model, clock and span in one module-level dict that every call overwrote, so awith_mr=Falsecall started while awith_mr=Truecall was running cut the second one's merger-ringdown rows took=Falseand zeros. Each call now carries its own state;hybrid_gradient_batchand the device gradient batch, which still need a module-level dict, hold a lock for the call. - Two threads looking for the compiled module at once no longer corrupt
sys.path. On a machine without a usable compiled module each attempt adds candidate directories tosys.pathand removes them again; two threads doing so together raisedValueError: list.remove(x): x not in listinstead ofImportError(56 of 1200 calls in a four-thread test). The attempt is now serialised. - On an x86-64 CPU without AVX2 the wheel falls back to NumPy instead of crashing. The Linux wheels are built for x86-64-v3 and the Windows wheel for AVX2. The CPU's features are now compared with the build record before the compiled module is imported; if one is missing the module is not imported, one warning names the missing features, and the default backend is NumPy. Before, the import died with an illegal instruction. See INSTALL.md section 1a.
NRHJSurAA.loadno longer unpickles a.pklfile unless asked. Unpickling runs code chosen by whoever wrote the file. A.pklpath now raisesValueErrorunlessallow_pickle=Trueis passed. Released models are HDF5 and are unaffected;nrhjsur-smoke --pklpasses the opt-in.- A model path that does not exist raises instead of loading another
file.
resolve_modeland every loader searched for a registered file name even when the caller gave a directory, soNRHJSurAA.load("/missing/NRHJSur3dq8_AA_v3.h5")loaded the cached release copy. A path with a directory component now resolves to exactly that file or raisesFileNotFoundError; bare names are searched as before. - Loading a registered model checks its SHA-256. Only downloads were
checked before, so a damaged or altered file already on disk loaded
silently. The loaders now verify registered files by default and remember
the result per file (path, size, inode, mtime, ctime) in the cache
directory, so the hash runs on the first load only (about 20 ms for the AA
file, then 0.2 ms).
verify=Falseturns it off; unregistered files load as before. NRHJSurAdA.load()with no path loads the released AdA model. It defaulted to a development file that exists only on the build machines, so it raisedFileNotFoundErroreverywhere else. It now resolvesRELEASE_ADA, asNRHJSurAA.load()resolvesRELEASE_AA.- A mode subset no longer changes the modes it returns on the physical
faces.
get_td_waveform_modes,get_td_waveformandphysicaltook the phase reference from the requested modes only. A subset without the (2, 1) and (3, 3) came back with every odd-m mode of the opposite sign to themodes="all"result, and a subset without the (2, 2) raisedKeyError. Every requested mode is now bitwise themodes="all"one. physical_batch/AABatch.physicalacceptf_min=0. It meant a PN extension to 0 Hz and raisedValueError: f_low must be positiveafter divide-by-zero warnings; it is now the full native span of each row, as on the single-waveform faces (hybridization="require"withf_min=0raises, as it does there).AABatch.physical(outputs="polarizations")agrees withoutputs="all"whenf_minstarts a row inside the merger blend. The fast path took its phase reference from the inspiral alone; at (40, 20) solar masses the two differed by 6.5e-4 (relative L2) atf_min = 150Hz and 5e-2 at 200 Hz. They now agree to rounding at everyf_min.- Batched output now matches the single-waveform call: same start
sample, same reference phase.
physical_batch/AABatch.physicalsetarg h_22 = -2 phaseon each row's first sample, wherephysicalandget_td_waveformuse the first sample at which the (2, 2) frequency reachesf_ref(two or three samples later atdelta_t = 1/8192), and they located thef_minstart on a coarse subsample of the model's phase grid, about 0.04 M away from the single-waveform call's crossing, so some rows started one sample early. Both now use the single-waveform call's rules, and the batch acceptsf_ref(defaultf_min): a batched row equalsphysical(..., times=t)on the batch's gridtto the evaluator's rounding and starts on the same sample. Before, at (40, 20) solar masses the two differed by 4.6e-2 (relative L2) atf_min = 20Hz and 5.8e-2 at 25 Hz; (30, 30) at 22 Hz and (70, 10) at 30 Hz differed by 2.0e-2 and 3.2e-2 and started one sample early. For anf_minabove the native starting frequency the batched output changes against 1.4 by a constant phase rotation, which the reference phase absorbs in parameter estimation, and on some rows by one leading sample; the shared grid can gain or lose one leading sample.f_min=0and PN-extended rows are unchanged. - Batched modes now carry the reference phase.
physical_batch/AABatch.physicalapplied thef_refpin andphaseto the polarizations only; the returned(l, m)modes were unrotated, so at (40, 20) solar masses,f_min = 20Hz,f_ref = 35Hz,phase = 0.3the (2, 2) differed fromphysical(..., phi_ref=0.3)by 1.944 (relative L2) and did not change withf_reforphase. Each row's modes are now the single-waveform call's (source_frame="lal"), bitwise on the compiled backend; the polarizations are unchanged. - A batched row whose
f_minis never reached is empty. Whenf_minlies past the highest (2, 2) frequency a row reaches (200 Hz at (40, 20) solar masses),physicalreturns an empty waveform with aUserWarning; the batch kept a stale start and returned 302 nonzero samples without a warning. The row is now all zeros with an empty mask and the same warning, prefixed by the row index; other rows are unchanged. - A single-precision batch puts the reference phase on the same sample as
the float64 batch. With the
f_refrule above,AABatch(model, single_precision=True).physicalfound the first sample where the (2, 2) frequency reachesf_reffrom float32 waveform values, whose rounding is larger than the frequency change between neighbouring samples, so on some rows the reference moved by one or two samples: a constant phase offset of 2 pi f_ref delta_t per sample (3.1e-2 rad at 20 Hz anddelta_t = 1/4096) and up to 8.3e-2 of peak strain away from the float64 batch on 19 of 96 random rows (aLIGO mismatch up to 2e-3); 1.4 differed by 4.0e-5. The few samples the rule needs, and each row's span ends, are now evaluated in float64 from the same coefficients, so the start sample, the reference sample, its phase and the odd-m root are the float64 batch's; the rest of the waveform stays float32. Worst deviation over the same rows is 3.4e-5. The float64 samples cost 0.07 ms per call at B = 1 (2%) and 0.5 ms at B = 64 (under 1%). The float64 batch is unchanged bit for bit. - NRHJSurAdA with a custom
blend: the NumPy waveform uses it. The NumPy reconstruction used the default (-20, -5) M window whateverblendwas given at load, while the compiled backend and every gradient path used the custom one: atblend=(-15, -10)the NumPymodes_gradwas 1.35e-3 to 1.84e-3 (relative L2) from finite differences of the NumPymodes, and the two backends' values differed by 1.1e-4. They now agree to 1e-10, and the derivative matches finite differences to 2e-6. The default window is unchanged, bitwise. execution.aa_gradient_device.modes_grad_batch_devicechecks its parameters. Called directly it accepted|chi| > 1(finite values,ok=Trueat chi1z = 1.2) and did not warn outside the training box. It now refuses such spins withValueErrorand warns once per call, asmodes_grad_batchdoes.hybrid_gradient_batch.row_edge_frequencyrefuses them too.- A separate merger-ringdown file is SHA-256 verified on load. With
verify=True(the default) both loaders checked the model file and then load its registered merger-ringdown file (NRHJSur3dq8_MR_v3.h5) with only the content digest that binds the arm to the model, which a change elsewhere in the file does not move. The arm file is now checked against the registry like the model file, with the same cache and the same exemption for a source checkout'smodel_release/. - Windows: a rewritten model file is no longer served from the
verification cache. The cache key assumed
st_ctimemoves on every write; on Windows it is the creation time, so a same-length in-place rewrite with its modification time restored kept its "verified" entry. Windows now hashes the file on every load (about 20 ms); Linux and macOS keep the cache.
1.4 - 2026-09-17
Changed
- The compiled evaluator is vectorised across samples, and every entry point is faster. The hot kernels ran one sample at a time in scalar double, 75% of all floating-point work in a single waveform and 91% in a batched call. Four kernels now take consecutive samples as SIMD lanes with each sample's own operations kept in its own order: the piece evaluation at fixed phase and at time samples, the Newton stage of the tau inversion, both parameter-gradient kernels, and the hybrid PN-extension synthesis, whose cosine-ramp stitch now also happens inside the kernel instead of as a NumPy pass over every mode. Measured on one core against 1.3's default build, same session, interleaved: native waveform 1.54x, batched B=64 2.45x, hybridised waveform 2.0x, batched gradients 1.5 to 1.6x. The scalar share of the floating-point work fell to 27% (native) and 18% (batched). Reproducibility: every one of these kernels is bit-for-bit identical to the scalar kernel it replaces when built at the same floating-point contraction setting, verified on 321 output arrays across the native, batched, hybrid and gradient routes, and the results do not depend on the batch size or the thread count. Portable across compilers and architectures: plain loops with OpenMP simd hints, no intrinsics.
- Two build defaults moved, and the last bits move with them. The
evaluator's source is now compiled with floating-point contraction off
(
NRHJ_EVAL_NO_CONTRACT=ON), which is the condition under which the vector and scalar bodies agree, and the tau inversion's default seed is the midpoint (NRHJ_TAU_WARM_START=OFF) because the vectorised Newton runs on that arm. Both change results against 1.3 at the level of the last floating-point bit, a relative 1e-16, far inside every verify tolerance;nrhjsur-verify --strictpasses on the new build. The runtimewarm_startargument still selects the secant seed for a caller who wants it. The new kernels are host-side (NRHJ_EVAL_SAMPLE_SIMD,NRHJ_TAU_SAMPLE_SIMD, both default ON) and switch themselves off in a CUDA build, which keeps the per-sample kernels it always had. - Python 3.14 gets a wheel.
requires-pythonhad admitted 3.14 without a wheel to match, so every 3.14 user compiled Kokkos at install time and those without a working OpenMP toolchain fell to the NumPy backend or to an install failure. Reported twice on 2026-09-10. The cibuildwheel matrix and the classifiers now list cp314; the free-threaded runtime stays out. nrhjsur-benchandshow_configreport the cores the process could actually use. With the default thread binding, the OpenMP runtime pins the main thread to one place at initialisation, after which the affinity mask reads as one core on any machine; the count is now taken at import, before the runtime exists, so the header no longer makes a healthy eight-core install look single-threaded. The timings were always right.- The advice printed when the compiled backend is missing points at the
wheels first. The published wheels carry OpenMP, so the simplest fix is
a reinstall without
--no-binary; building from source with libomp is the second suggestion, not the first.
Documentation
- The PN-extension amplitude-roll note in
physics/action_extend.pycarries the v3 measurements (decay exponents 3.75 to 8.34 across the hull, worst case (5,5) at 15.5%) in place of the v2 numbers it was written from; the code did not change.
1.3 - 2026-09-10
Fixed
- A deposit outage was reported as a broken install, seventeen times
over. Reported by a tester on 1.2 while Zenodo was returning HTTP 504.
The fetch itself behaved: it retried, and its message said in capitals
that the install was not at fault.
nrhjsur-verifythen undid that. TheConnectionErrorescaped the artifact check, so the run printed[FAIL] model files foundwrapped around two screens of urllib frames; and because nothing was recorded on that path, every later check resolved the same artifact again and paid the whole retry budget again -- 140.81 s per check, seventeen checks. The deposit is now asked at most once per run: the first unreachable resolution is remembered, that check SKIPs with one line naming the outage and pointing at status.zenodo.org, and every artifact-dependent check below skips with one line of its own. A run during an outage now reports 2 passed, 0 failed, 15 skipped and no traceback. A fourth retry was added (backoff 2, 5, 12, 30 s), measured against the outage's actual shape: three consecutive requests for one file on 2026-09-09 took 30 s (timeout), 22 s (200) and 1.6 s (200), so 19 s of total backoff was a coin toss and 49 s is a better one.
Changed
- The merger-ringdown parameter derivatives no longer carry the remnant
map's finite-difference noise. d(M_f, chi_f)/d(q, chi1z, chi2z) was a
central difference with step 1e-5 on the fitted remnant map, a sum of
exponentials whose value moves 4e-10 per ulp of
exp; divided by 2e-5 that is ~1e-4 relative noise in the Jacobian, and it was the amplifier behind the parameter-derivative check moving between C libraries. It is now the map's closed-form Gaussian-process gradient, on the NumPy route and in the compiled module (swsph_scalar_map_grad, bitwise the NumPy body on the shipped build). Measured 2026-09-09 at q=1, chi=0: dchi_f/dchi1z read 0.15292775 (h=1e-5), 0.152908614 (1e-4), 0.152912396 (1e-3), 0.152912097 (1e-2); the closed form gives 0.15291226. One ulp ofexpnow moves the full derivative chain by 4e-9 of peak instead of 1.9e-4. This changes released derivative values at the 1e-4 relative level in the merger-ringdown samples near q=1:nrhjsur-verify's parameter-derivative check reads 2.6e-4 of peak against the references recorded with the finite-difference Jacobian, the same distance (2.5e-4) a converged finite difference at h=1e-3 or 1e-2 sits from them, so the references carried the old noise. They are re-recorded, and the derivative check's tolerance drops from 1e-4 to the waveform's 1e-5: on the hosted runners it now deviates by 4.5e-6 (macOS arm64) and 2.3e-6 (Windows), beside the waveform check's 4.9e-6 and 2.5e-6, so the derivatives inherit only the waveform's own platform spread.remnant_jacobian(..., method="fd")keeps the old differences for comparison. Waveform values are untouched (compiled-vs-NumPy 1.1e-9 unchanged).
1.2 - 2026-09-09
Fixed
A macOS install aborted at interpreter exit.
libc++abi: terminating due to uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument, after the last line of output, on a build that had passed every check. Kokkos was being finalized during interpreter teardown in an order that touched an already-destroyed mutex. It is now finalized at exit in an order that does not abort, and the wheel self-test runs exactly this sequence in a subprocess and reads the exit status, which is the only place the abort was visible.A transient download error was reported as a missing model file. One HTTP 504 from the deposit destroyed a 30 MB fetch and produced "could not locate the model artifact", which reads as the user's mistake. The fetch now retries transient failures, and when the deposit is genuinely unreachable the message says so and names the outage rather than the file.
show_config()no longer downloads anything when asked what the install is.pip install nrhjsurrogatecould not resolve on Windows. spectools below 2026.9.9 declared waveformtools and sxstools unconditionally, which pull lalsuite and spinsfast, neither of which has a Windows wheel. The floor is now spectools 2026.9.9, which moves both to an extra this package does not use. This is what makes the Windows wheel installable at all.nrhjsur-verifyfailed on every machine except the one that recorded its reference values. Measured on an Intel laptop, an AMD desktop, and the macOS and Windows wheel runners: two to four of the seventeen checks failed, none for a wrong waveform. The physical-polarisation reference's first sample sat exactly on the model's support edge, so a platform whose span start lands one ulp later served it as zero (0.63 of peak reported); the recorder now keeps a margin. The parameter-derivative and error-estimate checks amplify last-bit differences between C libraries'expandlogby ten to thirteen orders of magnitude, through a finite-difference remnant Jacobian and a Gaussian-process variance cancellation respectively; their tolerances are now set from the measured cross-platform spread (1e-4 and 1e-1) and the mechanism is documented at each site. The waveform tolerance is 1e-5, ten times the largest measured platform difference. The references were re-recorded against the deposited artifacts.dynamics=Truereturned nothing on the compiled backend, which is the default. It now serves the orbital dynamics on both backends.
Changed
The published distribution is evaluation-only from any branch. The package find and the manifest on
mainnow excludenrhjsurrogate.constructionandnrhjsurrogate.regression, as the exported release branch always did, and two gates enforce it on the artifact: the static wheel gate lists the wheel's members and the wheel self-test asserts neither package is importable from the installed wheel.Every wheel is run before it is published. cibuildwheel's test now loads the compiled backend in a subprocess, obtains the six deposited model files (from a per-runner cache, or the deposit with the SHA-256 checked), and runs
nrhjsur-verify --strictandnrhjsur-bench --quickagainst them. The 1.1 wheels were published without ever having been imported: the test command had been placed under a TOML table where it was not an option and parsed as empty. An unreachable deposit is reported as a skip of the artifact stages, except in the release workflow, where it is a failure.
1.1 - 2026-09-06
Fixed
A build without OpenMP could not evaluate a waveform at all. Kokkos registers the
_serial-suffixed kernels only when Serial is not the default execution space, so in a Serial-only buildswsph_scalar_map_serialandswsph_extras64_serialwere never registered, the kernel lookup returnedNone, and the caller invoked it: every waveform throughbackend="kokkos"died withTypeError: 'NoneType' object is not callablein the remnant map. Measured: plain and hybrid both fail at B=1 and B=16. Only the gradient path survived, because it does not route through that lookup. In 1.0.0 this was reachable through a build where CMake could not find libomp — see the libomp search fix below, which is the same defect from the other end. The repair is on the Python side, so it fixes an already-installed build without a rebuild: the kernel lookup falls back to the unsuffixed symbol when the suffixed one is absent. The fallback is exact, not a downgrade — if_serialis missing because Serial is the default space, the unsuffixed symbol is the Serial kernel. In an OpenMP build the first lookup succeeds and behaviour is unchanged. Nothing previously benchmarked is affected: every Kokkos build measured on the cluster has OpenMP on, and what was benchmarked there as "the serial backend" was the_serialkernels inside an OpenMP build, which is a different object. The underlying asymmetry in the C++ registration is left in place; fixing it at source needs its own rebuild cycle.A build could silently be single-threaded, and nothing said so. Reported on a machine with clang 21.1.8 from nix in a pixi environment that had
llvm-openmpresolvable: the build record read statusbuiltandkokkos_openmpOFF. pip builds in an isolated environment, so CMake never looked at the prefix owning the interpreter.CONDA_PREFIXand the interpreter's own prefix are now appended toCMAKE_PREFIX_PATHbeforefind_package(OpenMP); this costs nothing when they do not exist and still loses to an explicit-DOpenMP_ROOT. A Serial build is a success to pip and to setup.py, so nothing had ever warned about it; import now warns when the cached OpenMP flag reads exactlyOFFon a multicore machine, anddescribe()reports it. The Serial-only build message names the remedy rather than only the outcome. This fix reaches a user only ifcpp/is provisioned alongside the package, since it lives incpp/cmake/kokkos_dependency.cmake.A build made on a login node could raise SIGILL on a compute node with nothing naming why. The default
-march=nativeis right on a workstation and a trap on a cluster: it targets the login node's ISA, builds cleanly, passes its smoke test there, and then dies on the first compute-node job with nothing in the traceback connecting it to a build-time choice. The default is unchanged, because it is correct for the common case. What changed is that the failure is diagnosable. A CMake warning does not reach the affected user — pip discards build-backend output on a successful install, and the login-node build is exactly the successful one; measured, zero cmake lines reach the pip log. So the build-time message is demoted to STATUS and the warning is raised at import instead, comparing the CPU now running against the one recorded at build, and staying silent on the machine that compiled it. It warns and never refuses: two nodes sharing a CPU model string can still differ, and a differing string does not prove an incompatible ISA. INSTALL.md gains a cluster section naming both remedies,-DNRHJ_MARCH_NATIVE=OFFand a named baseline such as-march=x86-64-v3.A binary built for one machine and run on another warned about a hazard that did not exist. The install record treated any ISA flag as "compile for this host's CPU" and recorded the build host's CPU model beside it, which the import-time check compares against the running CPU. For a binary compiled on one machine and run on another by design, that comparison never matches, so every user would be warned every time — which is how a warning stops being read. The record now distinguishes the two cases: the CPU model is recorded only for a genuinely host-specific build (
-march=native/-mcpu=native) and the import warning returns early otherwise. A record without the new key predates the split, when native was the only way a CPU model was written at all, so it reads as host-specific and the existing warning on it is unchanged.The shipped install guide contradicted itself on three load-bearing facts. Resolved against the code and the deposit rather than against the other documents. (1) Which generation ships: v3. INSTALL.md named
_v2in its quickstart, its artifact manifest and itssha256sum -cblock while section 4 told users to fetch_v3, so the block verified files the reader had not downloaded — and its digests were checkout copies carrying construction provenance the deposited files do not, so they could not have matched a download either. Digests are now quoted from the model registry and re-measured on the deposited artifacts, with the v2 generation kept as a second table because it is deposited too. (2) Where the merger-ringdown arm lives: a separate file, always. The paragraph claiming it was embedded in the shipped h5 and attached unconditionally contradicted the de-embedded statement seventy lines above it and every other shipped document. (3) Whether downloads work: they do. The "the deposit does not exist yet andfetch_modelrefuses to run" sentence was stale and is gone, and the resolution order now lists the download step and$LAL_DATA_PATHit had been missing.docs/USAGE.mddrops a status note claiming the AdA v3 artifact was not deposited, and its illustrativeFileNotFoundErrorno longer quotes a checkout digest.The shipped documents pointed at a branch a reader cannot see, and disagreed with each other on speed by 21x. INSTALL.md attributed the float32 envelope test and the canonical-anchor contract to an unmerged branch; both are in the tree, under
tests/, and the branch has since merged. It also told CUDA users to keep batches at B <= 64 because "the packing optimization is absent" pre-merge — the packing is present, so that caution cost throughput for no reason.nrhjsurrogate/driver/smoke.pycarried the same branch pointer in the module docstring that ships. On timings, INSTALL.md quoted 47 ms per waveform for kokkos against 114 ms for numpy whiledocs/USAGE.mdsection 9 quotes 2.2 ms and 87.5 ms at the sameOMP_NUM_THREADS=8; USAGE.md's were re-measured after the batched work landed and INSTALL.md's were not. No number was invented to settle it: INSTALL.md now points at the table USAGE.md owns and keeps current, because one document should own a benchmark.The documentation site published broken code samples. This affects the published site and the repository's wiki sources, not the installed package. The site builder carried two document-wide rewriting layers; both are gone. One rule, written to tidy the empty parentheses a removed citation leaves behind, matched every empty argument list in the documentation and deleted 18 of them, three inside fenced code blocks a reader copies —
print(nrhjsurrogate.thread_binding())published asprint(...thread_binding), which prints a bound method rather than the dict the next line shows as its output, andload_module().__file__published asload_module.__file__, which answers "which module was actually loaded" with a confident wrong answer. A whitespace-collapsing rule stripped continuation indent from published code and, on one page, turned "run the batched arm at about 60 threads, not 128" into a sentence ending at "not". A space-before-punctuation rule closed up the spacing in every displayed equation on the error-aware-likelihood page. The 45 internal citations the scrubber existed to remove are edited out of the nine wiki sources by hand, so each sentence still reads, and the leak gate now runs on sources nothing has rewritten — previously it inspected already-scrubbed HTML, so a page could pass while the repository copy still carried the citation. Verified by rebuilding and diffing the rendered text of all 16 pages against the previous build: 61 changed regions, every one a restoration.
Added
A native call with
dynamics=Truenow returns the orbital dynamics. Until nowresult["dynamics"]was filled only when the post-Newtonian extension engaged; on a native call it wasNoneeven with the flag set, and the paper describes the flag as serving the dynamics for every call. It now returns{"Phi", "t", "omega", "J", "E"}over the native orbital-phase grid, the same key names as the hybridised product, so one reading works for both. The default is unchanged (dynamics=False) and the added work runs only inside the branch that flag already guards, so a waveform-only call executes exactly the instructions it did before; measured, its output is bitwise identical with the flag off. With the flag on, the cost is one extrapredict_piecesevaluation.pip install nrhjsurrogategives a precompiled binary. Until now the release published a source distribution and nothing else, so every install compiled Kokkos on the user's machine and needed a C++17 toolchain to do it. Platform wheels are now published as well, carrying the compiled backend with the OpenMP execution space already enabled.A wheel cannot use
-march=native— that resolves against the CPU of the machine doing the build, which for a wheel is a CI runner — so the published wheels are pinned to a fixed baseline instead,x86-64-v3(AVX2 and FMA, Haswell 2013+ and Zen 1+). As far as it has been measured that costs nothing: three builds differing only in the ISA flag give, at batch 64, native 2.99 ms, x86-64-v3 2.88 ms, x86-64-v2 2.95 ms per waveform, the baseline arms coming out level with or nominally faster than native, which cannot be real and so is noise. That measurement was taken on an AVX2 machine with no AVX-512, wherenativeis itself a v3-class target, so it isolates tuning and not vector width; on an AVX-512 host a native build could use wider vectors than the wheel and that case is unmeasured. Anyone on such hardware can build for it withpip install --no-binary nrhjsurrogate nrhjsurrogate.scripts/release_wheel_gate.pyrefuses to publish a wheel built for one machine, a wheel that lost its OpenMP backend, a platform wheel carrying no extension module, and a purepy3-none-anywheel.The source distribution is still published and is still what an unmatched platform installs, so nothing that worked before stops working. To compile locally on a platform that does have a wheel, ask for it:
pip install --no-binary nrhjsurrogate nrhjsurrogate, which builds from source with-march=nativeexactly as 1.0.0 did.Scope, stated plainly: only the Linux x86_64 wheels have been built and gated. macOS and Windows have never been compiled — Apple Clang ships no OpenMP runtime, and the MSVC path in
cpp/has never been exercised — so those wheels are published only once CI produces them and the gate passes. Where no wheel exists the sdist route is unchanged.nrhjsur-benchtimes each mode of operation on your own machine — native span, analytic derivatives, hybridized, and batched at B=1…64 — against a NumPy reference, in about a minute (--quickfor twenty seconds). Every row names the backend that served it in its own column, taken from the resolvedmodel.backendrather than assumed, and the build facts are printed above the table. That is the point of it rather than a decoration: the two failure modes this release fixes — a fall back to NumPy, and a build without OpenMP — are each worth roughly an order of magnitude, are silent at the call site, and are indistinguishable from "the compiled backend just isn't faster on this machine" unless something times it and says which route it took. Timings are minimums over repeats, not means, because on a shared machine every perturbation makes a call slower and none makes it faster.It is a console script rather than a test on purpose:
MANIFEST.inprunestests/and does not shipscripts/, so a pytest could never reach anyone who installed from PyPI.nrhjsurrogate.show_config(), in the spirit ofnumpy.show_config(). Reports the version, whether the compiled module is present and importable, the Kokkos version and execution spaces, the ISA the binary was pinned to, which backend a defaultload()will actually choose, the resolved model artifact and whether it is on disk, thread and BLAS settings, and dependency versions.show_config(return_dict=True)returns it instead of printing, for pasting into a bug report. Every lookup is best-effort: a configuration report that raises is worst exactly when it is most needed.Import warns when there is no usable compiled backend. The existing notice speaks only when the build record says the build
failed, or succeeded without OpenMP. It stayed silent in two cases that cost the same order of magnitude: an install carrying no build record at all, and one whose record saysbuiltbut whose module will not import — an ABI or libstdc++ mismatch against the running interpreter, or a wheel whose extension did not land. Now that the default route is the compiled one, those are precisely the cases where the default quietly does not apply. The check usesimportlib.util.find_specrather than an import, because importing the extension runsKokkos::initialize, where the OpenMP runtime readsOMP_PROC_BINDexactly once — doing that atimport nrhjsurrogatewould fix thread affinity for every program that imports this package, whether or not it ever evaluates a waveform.NRHJ_BACKENDselects what gets compiled.NRHJ_BUILD_KOKKOSanswered "compile at all?" and nothing answered "compile what?". Backend selection was implicit and unreachable from pip: Serial always, OpenMP iffind_packagehappened to succeed, a device backend never. The nearest thing to forcing a serial build was-DCMAKE_DISABLE_FIND_PACKAGE_OpenMP, a CMake internal, and the nearest thing to a GPU build was a multi-line manual recipe in INSTALL.md.NRHJ_BACKEND=auto|numpy|serial|openmp|cudasays it directly and stays orthogonal toNRHJ_BUILD_KOKKOS, so "require + cuda" — a CUDA build or no install — is expressible, which is what a GPU CI job wants and what neither variable could say alone.openmpis the mode with teeth: it makes a missing OpenMP a configure error instead of a Serial build nobody notices. Thecudamode uses nvcc_wrapper as the project-wide compiler, because the obvious spelling —Kokkos_ENABLE_CUDAwith the host g++ still asCMAKE_CXX_COMPILER— compiles every translation unit and then fails at link withsymbol 'fatbinData' is already defined, the toolchain's LTO flags colliding with the CUDA fatbins. Verified on Fedora 43 / Ryzen 7 4800H / GCC 14.3.0 / CUDA 13.0 / GTX 1650 Ti, one fresh conda env per mode, from a source distribution built on a different machine withPYTHONPATHscrubbed.-DNRHJ_ISA_BASELINE=<flag>pins a build to a named instruction set and records it as such, which is what a binary meant for other machines needs. Putting the flag inCMAKE_CXX_FLAGSalso works and leaves the record unable to say which ISA the binary was pinned to, which is the one fact an illegal-instruction crash needs. Unlike the other flag branches this one fails rather than degrading to "no flag": whoever asks for a baseline is building for other machines, and quietly substituting this host's ISA would hand them a binary that crashes on anything older. Measured while picking a baseline, three builds differing only in the ISA flag, minimum of three interleaved repeats: at batch 64, native 2.99 ms, x86-64-v3 2.88 ms, x86-64-v2 2.95 ms per waveform; on the native span, 51.36 / 51.18 / 51.15 ms. The baselines coming out level with native is the tell that the spread is noise. The host was an AVX2 part with no AVX-512, so this isolates tuning rather than vector width, and AVX-512 hardware is unmeasured.A CUDA build no longer requires the user to know their compute capability. The arch is still never defaulted — nvcc_wrapper's blind
sm_70is what that rule exists to prevent — but asking the device is not guessing, sonvidia-smiis consulted when the user has already asked for CUDA and named no arch. It declines to answer whenever the answer would be a guess: nonvidia-smi, a driver too old forcompute_cap, no device, or several devices of differing capability, since one binary cannot serve two architectures.NRHJ_CUDA_ARCHalways wins.The install outcome is printed once, at the first import after an install. pip offers no post-install hook — it builds a wheel, installs that, and discards build output on success — so the first import is the only moment that reliably reaches the person who just typed
pip install. It is keyed on the build record's timestamp, so a reinstall speaks again and a reimport does not; the marker lives in the user cache rather than site-packages. Every step is best-effort, because a notice that raised would be worse than a missing notice.The build record carries the fields that make a device binary reasonable about: whether CUDA or HIP is enabled, the
Kokkos_ARCH_*actually switched on, the backend that was requested, and the ISA flag. Without them the install notice described a CUDA build as "OpenMP, 16 cores available" — true, and the least interesting half. It now names the device space first.Every shipped document now says which backend you get and how to check. README.md,
docs/QUICKSTART.md,docs/USAGE.md,docs/RELEASE_NOTES.md, INSTALL.md andexamples/usage/09_backends.pyeach carry the same through-line at the length that document warrants:NRHJ_BACKENDchooses what is compiled, it is orthogonal toNRHJ_BUILD_KOKKOSwhich chooses whether, andpython -m nrhjsurrogate.compiled_backendis how you find out what you actually got. That last one earns its repetition, because the two failure modes this release fixes — a fall back to NumPy, and a build that succeeds without OpenMP — are both silent at the call site and look identical to "the compiled backend is not faster".
Changed
The licence changed, from 1.1 onward. 1.0.0 was published under the MIT License and a copy obtained under those terms stays under them; a licence already granted is not retracted. From 1.1 the software is dual-licensed: the PolyForm Noncommercial License 1.0.0, plus an additional term on machine-learning training, for everyone by default; and a separate commercial licence from the author on request.
Noncommercial use — research, teaching, personal projects, publishing results — is free and needs no permission or contact. Commercial use now does. Using the source or documentation as training data for general-purpose code or language models is not permitted; building an emulator or reduced-order model of the waveforms this software produces is ordinary research use and remains permitted.
NOTICEstates the distinction, and the repository's contributing guide explains what it means for contributions.Practical consequence worth knowing: this is not an OSI-approved open-source licence, so tooling and redistributors that require one — some package channels and institutional mirrors — may treat 1.1 differently from 1.0.0.
A default call now uses the compiled backend. THIS CAN CHANGE YOUR NUMBERS.
NRHJSurAA.load()defaulted tobackend="numpy", somodel(q, chi1z, chi2z)— the obvious call on the obvious object — ran the NumPy route even on an install built specifically for the compiled one, and the fast path was reachable only by knowing to construct anAABatchedEvaluatorby hand.NRHJSurAdAhad resolvedbackend="auto"this way already; the two classes disagreed andNRHJSurAAwas the odd one. Measured on the released v3 artifact: 39.07 ms on the NumPy route against 1.63 ms compiled, for the same waveform.The compiled and NumPy routes are not bitwise identical — that difference is what the release's strict test arm exists to bound — so a pipeline that pinned results against 1.0.0 output will see the last bits move on upgrading, because the default route changed and not because either route changed. To keep exactly what 1.0.0 did, ask for it:
NRHJSurAA.load(backend="numpy").backend="kokkos"forces the other way and raises if the kernel is unusable, rather than downgrading silently."auto"asks about the artifact and not only the machine. A kernel built for the uniform 3.5PN mode weights refuses an artifact normalised under the legacy 2PN-spin convention, because serving it would mix normalisers (a measured 5e-2 on the (3,3) mode). That check now runs when the model is loaded, where the route is chosen, rather than at the first waveform call; under"auto"it selects the NumPy route and warns, and under an explicitbackend="kokkos"it still raises.lalsuiteis no longer a required dependency. It was made one in 1.0.0 so that the physical constants would come from LAL rather than being transcribed. The cost of that was larger than it looked:lalsuitepublishes four artifacts on PyPI —macosx_12_0_arm64,macosx_13_0_x86_64,manylinux_2_28_aarch64,manylinux_2_28_x86_64— and no source distribution, so as a hard requirement it madepip install nrhjsurrogateunresolvable on Windows entirely, for seven scalar constants and nothing else in the shipped package.Those seven are now vendored in
nrhjsurrogate/physics/constants.pyas exact IEEE-754 hex literals taken from LAL 7.7.0, and the two derived values keep the original expressions so they reproduce bit-for-bit rather than merely closely. This is deliberately not a return to the state that made LAL a requirement in the first place. That transcription drifted 1.582e-08 and survived because nothing ever compared it against LAL;tests/test_constants_match_lal.pynow asserts bitwise equality whereverlalis importable, and names the two historical wrong values so reintroducing either fails with the history attached. A decimal literal can be silently rounded in transcription and a hex float cannot, which removes the other ingredient.The vendored values are used unconditionally, including where
lalis installed: preferring LAL when present would make a result depend on whether an optional package happens to be importable.lalsuiteremains in thepeextra, sopip install nrhjsurrogate[pe]is unchanged.INSTALL.md is a user document rather than an internal audit log. It was written as an install-and-run kit and read like one: dated verification statements, the cluster and CPU model behind every timing, "written from spec, unverified", and a ledger of what was checked where. That record is for the authors, and the file ships to anyone who runs
pip install. The ledger, the CUDA verification detail, the macOS/OpenMP report, the internal-versus-deposited digest split, the retired-name mapping and the withdrawn 1.25-1.28x thread-binding measurement all move to a developer note thatMANIFEST.indoes not name, and which is therefore absent from the sdist (checked by building one). Timings keep their numbers and minimal hardware context — "on an 8-core machine, about 30 s" rather than the full cluster and toolchain. A shipped guide should state the number that stands, not retract one no user ever saw.The install guide is named after the package, not after one of the two model classes. The title was "NRHJSurAA - portable install & run kit".
NRHJSurAAis a live exported class, but it is one of two the package ships alongsideNRHJSurAdA, so titling the whole install guide after it told a reader they were installing half of what they were installing. Three names are now used consistently: the packagenrhjsurrogatefor installing, the classesNRHJSurAA/NRHJSurAdAin code, and the artifactNRHJSur3dq8_AA_v3forfetch_modelandload_h5.The retired project name is gone from user-facing text. It is not how the model is written in the paper. The compatibility itself is unchanged and is still documented:
NRAASUR_MODEL_DIRand its four siblings still work and still raise aDeprecationWarningnaming the replacement, and thenraasur-smokeconsole script is still an entry point to the same callable. What went is the rename archaeology around them — the retired-spelling table (the runtime warning already names the replacement, which is strictly more reliable than a table the user has to find), an inventory ofmodel_release/andpaper_data/files a pip user does not have, a quickstart that was agit clonerecipe for a repository the same document says is not public, and an autotuner described as "coming" on an internal branch.
Not covered
Stated because a changelog is the place a reader looks for what a release did not settle.
- The CUDA build is verified to configure, compile and link. No waveform has
been evaluated on the device and no parity class against the NumPy reference
has been measured, so
ACCURACY.mddeliberately has no CUDA row: a table of measured parity classes is exactly where an unmeasured one would get quoted. - The float32 route through the backend selector is unmeasured.
- The Serial-kernel registration asymmetry is fixed in Python, not in C++. The Python fallback covers installed builds without a rebuild; the tidier fix at source is still pending.
- The libomp search fix ships in
cpp/cmake/kokkos_dependency.cmakeand so reaches a user only whencpp/is provisioned alongside the package.
1.0.0 - 2026-09-04
First public release, uploaded to PyPI as a source distribution only. Two
aligned-spin models, NRHJSur3dq8_AA and NRHJSur3dq8_AdA, over
(q, chi1z, chi2z) with q <= 8, sharing a merger-ringdown arm distributed as a
separate file. NumPy evaluator plus an optional Kokkos backend compiled at
install time. Model artifacts are distributed separately from the code; see
docs/RELEASE_NOTES.md for what the models cover and where they are worse than
the previous generation.