Taliesin – bit-exact KV-cache restore, 21x faster, cross-GPU verified
21x KV-cache restore speedup sounds huge, but the Medium link returns a 500 error.
Bit-exact rotations via surd field extension, but is the problem worth solving?
Graphics programmers, numerical stability researchers, geometry enthusiasts, simulation developers
Metal-cpp backends (Cesium, Babylon.js Metal support) · Geometric Algebra libraries (Ganja.js, Versor) · Precision-focused renderers (double-precision OpenGL paths)
I’m not a professional graphics programmer, so I worked with Gemini CLI to pair-program the core engine and the Metal-cpp boilerplate. We based the math on Andrew Thomson’s 2026 framework for Spread-Quadray Rotors (SQR).
The Core Problem: Standard graphics engines rely on sin/cos approximations. Every time you rotate an object, floating-point error (transcendental drift) accumulates. Over long-running simulations, the geometry literally "warps."The Solution: By implementing Andrew’s framework using a Rational Surd field extension (Q[sqrt(3)]), we’ve achieved bit-exact rotation.
Paper: https://www.researchgate.net/publication/400414222_Spread-Quadray_Rotors_-v11_ Feb_2026_A_Tetrahedral_Alternative_to_Quaternions_for_Gimbal-Lock-Free_Rotatio n_Representation
Key Features: * Algebraic Determinism: A startup benchmark proves that rotating 360 degrees returns the engine to the exact starting bit-pattern. * Surd-Native Shaders: The Metal kernel performs algebraic arithmetic natively on the GPU, avoiding transcendental approximations. * Linear Jitterbugging: The complex VE-to-Octahedron transformation is handled as a simple linear interpolation in 4D space. * Topological Stability: In a live 60FPS loop, the SQR system is ~10x more stable than an industry-standard matrix.
21x KV-cache restore speedup sounds huge, but the Medium link returns a 500 error.
25% leaner than HyperLogLog with bit-exact validation against the Hash4j reference.
3D spatial reasoning CAPTCHA — clever premise, but multimodal LLMs will crack this within 12 months.
Zero production cost via conditional exports swapping to no-ops in production builds.
Pretty noise animation—novelty with no practical use beyond screensavers.
Ternary weight quantization claims are bold, but where's the code or paper?