Repository navigation
v0.4.2 — documentation and ArrowSpace 0.28 compatibility
arrowspace_tuner v0.4.2 is a compatibility and documentation patch.
Fixed
- Fixed public examples that imported
ArrowSpaceBuilderfrom the wrong
package. Import it fromarrowspace. Closes #40. - Fixed clean-install tuning failures when PyTorch is not installed:
GPSamplerimports PyTorch lazily; the tuner now detects unavailable
PyTorch before sampler selection and falls back toTPESampler.
Users with PyTorch installed keepGPSampleras the default.
Compatibility
- Verified compatibility with ArrowSpace 0.26.0, 0.27.3, and 0.28.1
(support range>= 0.26.0, < 0.29): full 99-test suite per matrix cell
in CI (Python 3.12 and 3.13), plus a wheel smoke test that installs the
built wheel into a clean environment and runs the README examples.
Resolves #41. - Added regression tests for builder-key round trips,
Nonesearch rows,
and zero-lambda probe handling.
Upgrade
pip install --upgrade arrowspace-tuner==0.4.2No change to the supported ArrowSpace floor: arrowspace >= 0.26.0, < 0.29.
The upper bound is a tested ceiling, not a known incompatibility
(see #43 for widening it).
API
No public API changes are introduced in this release.
import arrowspace_tuner
from arrowspace import ArrowSpaceBuilder
graph_params = arrowspace_tuner.tune(embeddings)
aspace, gl = ArrowSpaceBuilder().build(graph_params, embeddings)