Files
zeekay 55d6061c47 feat(hybrid): wire DSL GDN/FlashAttention dispatch and unified HybridStateContract
- Wire hanzo_ml::gdn (try_conv1d_step, try_conv1d_stateful, try_gating, try_recurrence) into
  GatedDeltaNet and gated_delta_rule_recurrence behind HANZO_GDN_IMPL (legacy default).
- Wire hanzo_ml::flash_attn (try_flash_attn_paged for Standard 5D/4D paged KV, try_flash_attn_contiguous
  for Sdpa::run_attention) behind HANZO_FLASH_IMPL (legacy default). Zero new Metal shaders in Engine.
- Add Unified Hybrid-State Execution Contract (HybridStateContract + HybridStateCheckpoint) binding
  KV caches, paged block-table prefixes, GDN recurrent state, and Conv1D history for atomic snapshot,
  restore, prefix reuse (fork_prefix), cancellation, and speculative rollback.
- Enforce post-rollback KV/recurrent offset invariant in PagedSpeculativeCacheAccess::finish_verification.
- Verified CPU + CUDA DSL (F32/BF16) hybrid_contract, hybrid_cache (8/8), and models::gdn (13/13).
2026-11-19 14:21:26 -08:00
..

hanzo-engine

Core crate of hanzo including the models and associated executors.

Documentation: https://docs.rs/hanzo-engine/