veloxquant_mlx.core.exceptions module¶
Exception types raised across VeloxQuant-MLX’s quantizer, cache, and allocator code.
Each error subclasses the closest matching built-in exception (ValueError,
FileNotFoundError, RuntimeError) so callers can catch either the
specific VeloxQuant error or the general Python category, while still getting
a precise, greppable exception name at the raise site.
- exception veloxquant_mlx.core.exceptions.QuantizerConfigError[source]¶
Bases:
ValueErrorRaised when a quantizer or KV cache is misconfigured.
- exception veloxquant_mlx.core.exceptions.ArtifactNotFoundError[source]¶
Bases:
FileNotFoundErrorRaised when a required precomputed artifact is missing from the store.
- exception veloxquant_mlx.core.exceptions.CyclicPipelineError[source]¶
Bases:
RuntimeErrorRaised when a QuantizationGraph contains a cycle.
- exception veloxquant_mlx.core.exceptions.CodebookDimensionMismatch[source]¶
Bases:
ValueErrorRaised when a codebook’s shape does not match the expected dimension.
- exception veloxquant_mlx.core.exceptions.BlockPoolExhaustedError[source]¶
Bases:
RuntimeErrorRaised when a BlockPoolAllocator has no free blocks left to allocate.
- exception veloxquant_mlx.core.exceptions.OwnerAlreadyActiveError[source]¶
Bases:
ValueErrorRaised when an owner id is reused while still checked out to another caller.