Skip to content

v1.5.6

Choose a tag to compare

@DefTruth DefTruth released this 20 Nov 07:57
· 64 commits to main since this release
b311070

🚀 Cache-DiT v1.5.6 Release Notes

Release Date: 2026-11-20
Comparison: v1.5.5...v1.5.6

📋 Overview

Cache-DiT v1.5.6 focuses on new cache forecasting/probing algorithms and opt-in fused MLP operators across native FP8, native FP4, and SVDQ. It also adds a native MXFP4 weight-only backend and consolidates calibrator configuration on a common CLI.

✨ Core Highlights

1. 🧠 New Cache Algorithms

  • HiCache (#1359): adds the damped-Hermite extrapolation basis to DBCache, with configurable order and damping sigma, while preserving the existing TaylorSeer path.
  • BRACE (#1368): adds experimental barycentric rational forecasting with Chebyshev enhancement, non-uniform full-compute anchors, independent named streams, and numerical fallback guards.
  • BeziCast (#1369): adds experimental forecasting over non-uniform anchors using Bernstein equivalent weights and Tikhonov stabilization. The optional equivalent-weight guardrail remains disabled by default.
  • SeaCache probe (#1370): adds an opt-in, model-agnostic SEA/Wiener-filtered probe inside DBCache. It supports image/video and flow/VP/AB schedules, including CP/TP configurations, without introducing a new cache type or changing the default path.

The new predictors and SeaCache are opt-in. Their validation includes model-level experiments, but results are workload- and configuration-dependent rather than a universal speed/quality ranking.

2. ⚡ Fused MLP Operators

  • Native FP8 (#1371): adds exact/tanh GELU epilogues for per-row, per-tensor, and per-block GEMMs, plus a SwiGLU producer that fuses gating, amax, and E4M3 quantization. Enable with QuantizeConfig.fp8_fused_mlp or --fp8-fused-mlp.
  • Native FP4 (#1373): adds exact/tanh GELU epilogues for both NVFP4 scale paths and a fused SwiGLU producer for separate-gate and half-split inputs. Enable with QuantizeConfig.fp4_fused_mlp or --fp4-fused-mlp.
  • SVDQ correctness and coverage (#1377, #1379): adds runtime-specific geometry and pass guardrails, broader standalone gated/nested-GELU detection, stable hit/skip statistics, and safe fallback behavior.
  • SVDQ activation variants (#1381): native and CuTe producers now support SiLU, tanh-GELU, and exact-GELU gate activation, explicit gate-first/value-first ordering, standalone GEGLU, and FLUX.2/FLUX.3 standalone FFNs.

Fused MLP remains opt-in and retains the existing numerical/layout contracts. Actual benefit depends on model, runtime, and shape; unsupported structures continue through the unfused path.

3. 🧮 Native MXFP4 Weight-Only Quantization

#1367 adds cache-dit's native OCP MXFP4 backend: E2M1 packed weights with E8M0 group-of-32 scales, regional quantization, layer exclusion, and configurable packing device. It does not require Blackwell NVFP4 tensor cores. Use --mxfp4 or mxfp4_weight_only; activations remain in the model dtype.

4. 🧰 Unified Calibrator Configuration

#1366 standardizes algorithm selection on:

--calibrator <name> --calibrator-params key=value,key=value

Python and YAML calibrator configuration remain supported.

⚠️ Upgrade Notes

  • DBPrune has been removed, including its public symbols, configuration, and dedicated CLI surface (#1366).
  • Legacy calibrator selector flags such as --taylorseer, --dmd, and --foca, along with algorithm-specific option aliases, have been removed. Migrate to --calibrator and --calibrator-params.
  • The pure-Python package and CUDA-extension package are published from the same commit:
# Default PyPI package
pip install -U cache-dit

# CUDA 13 extension build (requires a compatible CUDA 13 PyTorch stack)
pip install -U cache-dit --extra-index-url https://vipshop.github.io/cache-dit/whl/cu13/

🙏 Contributors

Thanks to @DefTruth and @tridu33 for contributing to this release.

Full Changelog: v1.5.5...v1.5.6