⚡️ DFloat11: Lossless LLM Compression for Efficient GPU Inference

DFloat11 is a lossless compression framework that reduces the size of LLMs and Diffusion Models by approximately 30% while preserving bit-for-bit identical outputs to the original model. It enables efficient GPU inference on resource-constrained hardware without sacrificing accuracy.

🚀 Key Features

🛠 Installation

Ensure you have a CUDA-compatible GPU and PyTorch installed.

# For CUDA 12
pip install -U dfloat11[cuda12]

# For CUDA 11
pip install -U dfloat11[cuda11]

🧪 Quick Start

For example usage, refer to the examples directory in the GitHub repository.

📄 Learn More