"""
helix_cdc.quant - Quantization/Dequantization Utilities

Provides dequantization for GGML quantized formats.

Current support:
  - Q6_K (GGML_TYPE_Q6_K) - 6-bit quantization with scales
  - FP8 block affine (int8 + scale/bias per block)

References:
  - llama.cpp: https://github.com/ggerganov/llama.cpp
  - GGML spec: https://github.com/ggerganov/ggml

License:
  Implementation ported from llama.cpp (MIT license)
"""

from .q6k import dequantize_q6k_blocks, dequantize_q6k_tensor
from .fp8_block_affine import (
    quantize_fp8_block_affine,
    fp8_block_affine_linear_forward,
    write_fp8_block_affine_hxz,
    read_fp8_block_affine_hxz,
)

__all__ = [
    'dequantize_q6k_blocks',
    'dequantize_q6k_tensor',
    'quantize_fp8_block_affine',
    'fp8_block_affine_linear_forward',
    'write_fp8_block_affine_hxz',
    'read_fp8_block_affine_hxz',
]
