Int4 ==== 4-bit integer data type (Quantization). .. raw:: html

PyTorch

API: torch.int4
Strategy: Direct Mapping

JAX (Core)

API:
Strategy: Custom / Partial

NumPy

API:
Strategy: Custom / Partial

Keras

API:
Strategy: Custom / Partial

TensorFlow

API:
Strategy: Custom / Partial

Apple MLX

API:
Strategy: Custom / Partial

Flax NNX

API:
Strategy: Custom / Partial

PaxML / Praxis

API:
Strategy: Custom / Partial