Repository navigation
NeuralOps v1.7.0 — Core Hardening and High-Level Pipeline Ergonomics
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, andexportalongside 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.HFCacheBridgeto 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_implwith 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:
- 📥 Master's Thesis Monograph (317 Pages, 205 MB)
- 📥 Thesis Oral Defense Slide Deck (50 Slides, 172 MB)
- 📥 NeurIPS 2026 Conference Paper (64 MB)
- 📥 ICLR 2027 Conference Paper (64 MB)
- 📥 MLSys 2027 Conference Paper (68 MB)
📦 PyPI Package Distribution
- Published to PyPI: https://pypi.org/project/neuralops/1.7.0/
- Installation:
pip install --upgrade neuralops==1.7.0