Module backends

Module backends 

Source
Expand description

Entropy/compression backend implementations and backend discovery. Backend discovery helpers and canonical backend naming.

This module provides:

  • canonical backend name resolution for CLI/Python inputs,
  • feature-aware availability reporting,
  • exported lists of enabled backend families.

Modules§

calibration
Online probability calibration wrapper for rate predictors.
ctw
Context Tree Weighting (CTW) and Factorized Action-Conditional CTW (FAC-CTW).
llm_policy
Shared policy parser/compiler for online LLM backends.
mambazip
Mamba-1 based rate/compression backend.
match_model
Contiguous/sparse local match predictor primitives.
particle
Particle-latent rate backend. Particle-latent filter ensemble rate backend.
ppmd
Bounded-memory PPMD-style byte model.
rosaplus
ROSA: Rapid Online Suffix Automaton
rwkvzip
RWKV7-based rate/compression backend.
sparse_match
Sparse/gapped match predictor that wraps match_model.
text_context
Text/repeat context feature extraction for adaptive backends.
zpaq_rate
ZPAQ-backed sequential rate model.

Enums§

BackendAvailability
Outcome of resolving a backend alias to a canonical backend name.

Constants§

AVAILABLE_COMPRESSION_BACKENDS
Canonical names for available compression backends in this build.
AVAILABLE_RATE_BACKENDS
Canonical names for rate backends recognized by CLI/API alias resolution.

Functions§

parse_rate_coder
Parse a generic entropy coder alias ("ac"/"rans").
parse_rwkv7_coder
Parse an RWKV entropy coder alias ("ac"/"rans").
resolve_compression_backend_name
Resolve a user-provided compression backend alias to a canonical backend name.
resolve_rate_backend_name
Resolve a user-provided rate backend alias to a canonical backend name.