Skip to main content

Asynchronous Self-Healing KV Cache for Silicon-Native LLMs by GDI Nexus

Project description

ASH-KV: The Self-Healing Middleware for LLMs

Hardware License Version Company

ASH-KV is a high-performance, hardware-aware middleware layer designed for High-Assurance Inference. Developed by GDI Nexus, it surgically intercepts and corrects the KV cache at the silicon level, preventing logical drift and clinical hallucinations with zero detectable latency.


🏛️ Core Value Pillars

⚡ Zero-Latency Integrity

Surgical KV cache mutation at Metal (Apple Silicon) and CUDA (NVIDIA) speeds. Our Fused Kernels ensure that the "Immune System" adds virtually 0% overhead to inference throughput.

🔌 Hardware Agnostic (Universal HAL)

The Hardware Abstraction Layer (HAL) automatically detects your silicon and hot-swaps between MLX and PyTorch backends. The same code runs on an M4 MacBook or an NVIDIA H100 server.

🛡️ Zero-Shot Healing (Universal Tensor Math)

No hardcoded rules. ASH-KV monitors Attention Manifold Entropy (Varentropy) in real-time. By detecting mathematical uncertainty at the tensor level, it prunes logical drift across any domain—coding, medicine, or creative writing.

♾️ Infinite Horizon (NVMe Paging)

Break the VRAM ceiling. ASH-KV dynamically offloads "Cold" context chunks to NVMe storage, allowing for 100k+ token windows on consumer-grade hardware without OOM crashes.


🚀 Quick Start

1. Installation

pip install mlx-ash-kv

2. Corporate Integration (3 Lines of Code)

Integrate ASH-KV into any production pipeline to add an immediate safety layer.

from mlx_ash_kv.api import protect

# Wrap your existing model with the ASH-KV shield
protected_model, cache, shield, proxies = protect(model, sensitivity=0.85)

# Inference continues normally, but with real-time surgical healing

🛠️ Command Center (CLI)

ASH-KV comes with a professional CLI for systems verification and benchmarking.

  • ash-kv install: Verify hardware drivers, silicon backend, and NVMe Paging Stress Test.
  • ash-kv benchmark: Run the 100-case "Hard Truth" evaluation suite.
  • ash-kv monitor: Launch the Live Diagnostic TUI to see layer-wise health and [HOT/WARM] memory distribution.
  • ash-kv demo: Launch the Gradio B2B Reliability Playground.

🔬 About GDI Nexus

GDI Nexus is a premier AI infrastructure firm. We are the architects of the AI-first era, blending deep data science with elite cloud orchestration. Our mission is to empower global enterprises with autonomous, reliable, and structurally resilient AI ecosystems.

Locations

  • USA (HQ): Woodbridge, VA 22191
  • India: Fingerpost Kandal, Udagamandalam, Tamil Nadu 643001

Contact: contactus@gdinexus.com | www.gdinexus.com


⚠️ DISCLAIMER

ASH-KV is a hardware-level reliability layer designed to assist professionals. It is NOT a substitute for professional medical or legal judgment. All AI-generated outputs, even those "healed" by ASH-KV, must be verified by qualified human professionals before making clinical or legal decisions.


© 2026 GDI Nexus Software Solutions LLP. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlx_ash_kv-8.2.3.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mlx_ash_kv-8.2.3-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file mlx_ash_kv-8.2.3.tar.gz.

File metadata

  • Download URL: mlx_ash_kv-8.2.3.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for mlx_ash_kv-8.2.3.tar.gz
Algorithm Hash digest
SHA256 05cd8836c92a0cdb18fd7d41c9f014d8181f1f8c109db238ea666c0f99a74bff
MD5 92640c3a658e47d9abe1b69e7e47f9b1
BLAKE2b-256 c2d054fe985a53fbb399f85309871cd17bb069022760e96d5d424a8c8f1e0b41

See more details on using hashes here.

File details

Details for the file mlx_ash_kv-8.2.3-py3-none-any.whl.

File metadata

  • Download URL: mlx_ash_kv-8.2.3-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for mlx_ash_kv-8.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f23ca7f54ab4dfbc2ac66e341f5814c0ec0fa2aa3ad9b973c27c041ca04758b
MD5 a26bff25fd3b7c07fa2bf4f3023ad0db
BLAKE2b-256 a33aed219162b9ff1b9f6e3d85b0215c825e7e140d99ba53c629cc46e8e9b2cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page