Skip to content

Luna CE v4.1.1

Latest

Choose a tag to compare

@Spunc595 Spunc595 released this 02 Nov 22:42
· 1 commit to main since this release

Luna CE v4.1.1

Corrective release. No change to search or evaluation: the benchmark
node counts are identical to v4.1.0 (depth 18, 1 thread: 590,820 and
980,165).

Fixed

  • The Windows executable is now a baseline x86-64 build. The v4.1.0
    luna-v4.1.0-windows-x86_64.exe was built by mistake for the build
    machine's own CPU (POPCNT, LZCNT, BMI1/BMI2 and AVX2 required) and
    failed to start on older CPUs. v4.1.1 needs only SSE3 and CMPXCHG16B;
    the AVX2 NNUE kernel is used at runtime where the CPU supports it.
    .cargo/config.toml no longer sets target-cpu=native.
  • Startup messages are now UCI info string lines, so GUIs and tools
    that read the engine's output no longer see non-UCI text before
    uciok.

Added

  • UCI option Move Overhead (default 50 ms, range 0-5000 ms). The
    default reproduces the previous behaviour exactly.
  • Build and test safeguards: a compile-time check that
    resources/net.bin has the expected size; tests on the embedded
    network (output weights within the SIMD-safe limit; a weight of 129,
    or a file one byte short or long, is rejected); a test that the
    scalar and AVX2 evaluation give identical results on 1,972 distinct
    positions.
  • scripts/build_release.ps1 builds the Windows executable and checks
    its CPU features and disassembly (no POPCNT, LZCNT or BMI
    instructions).

Notes

  • The eval debug command's output is unchanged.
  • The Windows executable was not tested dynamically on a CPU without
    AVX2 or POPCNT.
  • Speed of the baseline build compared with a native build was not
    established.
  • Release binaries were built from commit 61b7ce2; the tagged commit
    (b703e86) differs from it only in README.md.

Files

  • luna-v4.1.1-windows-x86_64.exe (baseline: SSE3 + CMPXCHG16B)
  • luna-v4.1.1-linux-aarch64 (needs glibc 2.34 or newer)
  • luna-v4.1.1-android-arm64 (built with NDK r27d, API 21)
  • SHA256SUMS (all three files; verify with sha256sum -c SHA256SUMS)