Skip to content

JAxtar v0.1.1

Latest

Choose a tag to compare

@tinker495 tinker495 released this 25 Nov 23:13
bbc5432

JAX implementations of batched A* and Q* search for neural heuristic search research.

Release v0.1.1 (bbc54321) pairs JAxtar with Xtructure v0.1.4 (1b0a4e9d) and PuXle v0.2.0 (146d4df6), incorporating batched search and host/device loop optimizations (#84, #86, #93) alongside Xtructure v0.1.4 BGPQ and deduplication kernels.

Highlights

  • Dependency & Type-Checking Alignment: Updated uv.lock to Xtructure v0.1.4 (1b0a4e9d) and PuXle v0.2.0 (146d4df6) while keeping @main tracking in pyproject.toml, and fixed BeamSearchLoopState static_fields=("params",) tuple specification.
  • Controlled Benchmark Summary (JAxtar v0.1.1 vs. GPUAStar @ RTX 4080 SUPER, 280 W, 2,100 MHz, 100% CPU-verified):
    • Matched Fixed-Batch (pop_ratio=inf, w=0.6):
Domain / Batch Variant (Solved) Median (ms) vs. PyTorch vs. CUDA
15-Puzzle B=1,000 (n=500) JAxtar FP32 (500/500) 194.5 5.97x 0.94x
15-Puzzle B=1,000 (n=500) JAxtar W8A8 (500/500) 81.4 14.32x 2.24x
15-Puzzle B=10,000 (n=500) JAxtar FP32 (500/500) 1,199.0 2.40x 1.13x
15-Puzzle B=10,000 (n=500) JAxtar W8A8 (500/500) 338.5 8.48x 4.00x
Rubik's Cube B=10,000 (n=50) JAxtar FP32 (50/50) 5,890.6 1.63x 1.04x
Rubik's Cube B=10,000 (n=50) JAxtar W8A8 (50/50) 1,333.0 7.63x 4.49x
  • Non-Neural GPU Search Kernels (pop_ratio=inf, w=0.6, FP32):
Domain / Batch GPUAStar-CUDA (ms/step) JAxtar v0.1.1 (ms/step) Delta
15-Puzzle B=1,000 0.84 0.65 -22.6%
15-Puzzle B=10,000 2.54 0.85 2.99x faster
Rubik's Cube B=1,000 0.83 1.38 +66.3%
Rubik's Cube B=10,000 3.32 2.71 -18.4%
  • Robustness & Generalization: Zero crashes or workspace restarts through B=50,000 (5/5 solved on both domains), astar_d unique-state reduction up to 9.81x on Rubik's Cube, and Q* world-model solving down to 33.4–43.2 ms (3.26x–3.73x vs. WM A*).

Source snapshot for version 0.1.1. Citation metadata.

Citation