DFloat11/BAGEL-7B-MoT-DF11

Model

24

stars

4

commits

2

repos using this model

5

linked in READMEs

May 28, 2025

updated

70% size, 100% accuracy
any-to-any
df11
dfloat11
lossless compression
qwen2
safetensors
Browse cluster: Compression Algorithms and Neural Models β†’

README

DFloat11 Compressed Model: ByteDance-Seed/BAGEL-7B-MoT

This model uses DFloat11 lossless compression. It's 32% smaller than the original BFloat16 model, yet produces bit-identical outputs and runs efficiently on GPUs.

πŸ“Š Performance Comparison

MetricBAGEL-7B-MoT (BFloat16)BAGEL-7B-MoT (DFloat11)
Model Size29.21 GB19.89 GB
Peak GPU Memory
(1024x1024 image generation)
30.07 GB21.76 GB
Generation Time
(on an A100 GPU)
54 seconds58 seconds

πŸ” How It Works

We apply Huffman coding to the exponent bits of BFloat16 model weights, which are highly compressible. We leverage hardware-aware algorithmic designs to enable highly efficient, on-the-fly weight decompression directly on the GPU. Find out more in our research paper.

πŸ”§ How to Use

A complete usage guide is available in our GitHub repository (forked from the official Bagel repository): https://github.com/LeanModels/Bagel-DFloat11.

πŸ“„ Learn More

Contributors

LeanQuant

4 commits

DFloat11/BAGEL-7B-MoT-DF11

Model

24

stars

4

commits

2

repos using this model

5

linked in READMEs

May 28, 2025

updated

70% size, 100% accuracy
any-to-any
df11
dfloat11
lossless compression
qwen2
safetensors
Browse cluster: Compression Algorithms and Neural Models β†’

README

DFloat11 Compressed Model: ByteDance-Seed/BAGEL-7B-MoT

This model uses DFloat11 lossless compression. It's 32% smaller than the original BFloat16 model, yet produces bit-identical outputs and runs efficiently on GPUs.

πŸ“Š Performance Comparison

MetricBAGEL-7B-MoT (BFloat16)BAGEL-7B-MoT (DFloat11)
Model Size29.21 GB19.89 GB
Peak GPU Memory
(1024x1024 image generation)
30.07 GB21.76 GB
Generation Time
(on an A100 GPU)
54 seconds58 seconds

πŸ” How It Works

We apply Huffman coding to the exponent bits of BFloat16 model weights, which are highly compressible. We leverage hardware-aware algorithmic designs to enable highly efficient, on-the-fly weight decompression directly on the GPU. Find out more in our research paper.

πŸ”§ How to Use

A complete usage guide is available in our GitHub repository (forked from the official Bagel repository): https://github.com/LeanModels/Bagel-DFloat11.

πŸ“„ Learn More

Contributors

LeanQuant

4 commits