{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreic3az262e2cl6cqjwdqsq42hbsmo4bhmy666bgm3mnpnu62ed2nmq",
    "uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mgymebbdkj42"
  },
  "path": "/t/wave-coherence-scoring-phase-aware-alternative-to-cosine-similarity/173375#post_8",
  "publishedAt": "2026-03-13T07:50:57.000Z",
  "site": "https://discuss.huggingface.co",
  "tags": [
    "GitHub - atech-hub/kerr-engine · GitHub",
    "GitHub - atech-hub/Wave-Coherence-as-a-Computational-Primitive: Harmonic coherence as a universal relationship detection operator · GitHub"
  ],
  "textContent": "Kerr Engine — Pure Rust training engine for Kerr-ODE transformers (3x faster than PyTorch at 128-dim, full GPU via WGSL)\n\nReleased the training engine for the Wave Coherence project as a standalone repo under Apache 2.0.\n\nWhat it is: a specialised Rust engine for training and running Kerr-ODE transformers — the architecture that replaces dense MLP layers with physics-inspired wave propagation (98.1% of MLP at 44% of parameters).\n\nKey numbers:\n\n  * 3x faster than PyTorch+CUDA at 128-dim, on CPU alone, GPU off\n\n  * Full GPU backward pass at 768-dim via 13 WGSL compute shaders (NVIDIA, AMD, Intel, Apple — no CUDA dependency)\n\n  * Hand-derived analytical gradients verified against PyTorch autograd (max diff 7.63e-6)\n\n  * 6,500 lines of Rust, 4 dependencies, `cargo build --release` and you’re done\n\n\n\n\nThe WGSL backward pass shaders (attention backward, batched outer product, batched linear backward) appear to be the first open-source implementations of ML training backward passes in WGSL.\n\nRepo: GitHub - atech-hub/kerr-engine · GitHub Parent project: GitHub - atech-hub/Wave-Coherence-as-a-Computational-Primitive: Harmonic coherence as a universal relationship detection operator · GitHub\n\nNote: The Kerr-ODE is a novel architecture — it doesn’t work with LM Studio, Ollama, or llama.cpp today. The engine trains and runs inference natively. Ecosystem connector patterns are documented and published as prior art (Pattern 68) for anyone who wants to build bridges.\n\nBuilt with AI collaboration (Claude Desktop + Claude Code). Stated openly.",
  "title": "Wave-Coherence Scoring: Phase-Aware Alternative to Cosine Similarity"
}