Skip to content

NeuralOps v1.7.0 — Core Hardening and High-Level Pipeline Ergonomics

Choose a tag to compare

@tahamajs tahamajs released this 31 Oct 12:24
· 1545 commits to main since this release

NeuralOps v1.7.0 — Core Hardening and High-Level Pipeline Ergonomics

What's Changed

🚀 High-Level Pipeline & Ergonomics

  • HuggingFace-style Pipeline API: Introduced neuralops.pipeline("text-generation", model=..., tokenizer=...) enabling 1-line generation, tokenization, and decoding for subquadratic transformer architectures.
  • Top-Level Public Aliases: First-class top-level exports for transplant, compress, and export alongside standard module APIs.
  • Production CLI Ergonomics: Modernized CLI parser with ergonomic aliases --output, --dataset, --calibration-dataset, and --target-attention, complete with formatted architecture mismatch diagnostic cards.

🛡️ Core Hardening & Dispatch Optimization

  • Zero-Overhead Dynamic Dispatch: Resolved forward signature caching in UniversalAttentionWrapper (_cached_dispatch_mode), executing direct dispatch per token in $\mathcal{O}(1)$ with zero lambda allocations and zero caught exceptions during autoregressive generation.
  • HFCacheBridge Recurrent State Hardening: Hardened neuralops.surgery.hf_cache_bridge.HFCacheBridge to keep 4D recurrent state matrices (B, H, Dk, Dv) intact without slicing feature dimensions during sequence cropping.
  • Multi-Batch Calibration Healing: Replaced static single-batch slicing in _heal_replaced_model_impl with dynamic cyclic indexing across all cached calibration batches (step % len(in_list)), eliminating single-batch starvation and warning on non-finite loss.
  • Eradication of Silent Swallows: Replaced bare exception swallows in Triton low-rank routines with structured logging warnings and trace diagnostics.

📚 Academic Manuscripts & Master's Thesis

The complete 317-page university thesis monograph, 50-slide oral defense deck, and conference submissions are published in the dedicated Academic Monographs Release:

📦 PyPI Package Distribution