DFloat11 / Qwen3-32B-DF11

huggingface.co
Total runs: 8
24-hour runs: 0
7-day runs: 0
30-day runs: -10
Model's Last Updated: May 06 2025

Introduction of Qwen3-32B-DF11

Model Details of Qwen3-32B-DF11

DFloat11 Compressed Model: Qwen/Qwen3-32B

This is a losslessly compressed version of Qwen/Qwen3-32B using our custom DFloat11 format. The outputs of this compressed model are bit-for-bit identical to the original BFloat16 model, while reducing GPU memory consumption by approximately 30% .

🔍 How It Works

DFloat11 compresses model weights using Huffman coding of BFloat16 exponent bits, combined with hardware-aware algorithmic designs that enable efficient on-the-fly decompression directly on the GPU. During inference, the weights remain compressed in GPU memory and are decompressed just before matrix multiplications , then immediately discarded after use to minimize memory footprint.

Key benefits:

  • No CPU decompression or host-device data transfer -- all operations are handled entirely on the GPU.
  • Decompression overhead is constant per forward pass and independent of batch size , making DFloat11 increasingly efficient at larger batch sizes.
  • DFloat11 is much faster than CPU-offloading approaches , enabling practical deployment in memory-constrained environments.
  • At batch size = 1 , inference is approximately 2× slower than the original BF16 model, but the performance gap narrows significantly with larger batches.
  • The compression is fully lossless , guaranteeing that the model’s outputs are bit-for-bit identical to those of the original model.
🔧 How to Use
  1. Install the DFloat11 pip package (installs the CUDA kernel automatically; requires a CUDA-compatible GPU and PyTorch installed) :

    pip install dfloat11[cuda12]
    # or if you have CUDA version 11:
    # pip install dfloat11[cuda11]
    
  2. To use the DFloat11 model, run the following example code in Python:

    import torch
    from dfloat11 import DFloat11Model
    from transformers import AutoTokenizer
    
    model_id = "DFloat11/Qwen3-32B-DF11"
    
    model = DFloat11Model.from_pretrained(model_id, device_map="auto")
    
    tokenizer = AutoTokenizer.from_pretrained(model_id)
    tokenizer.pad_token = tokenizer.eos_token
    
    prompt = "Question: What is a binary tree and its applications? Answer:"
    inputs = tokenizer(prompt, return_tensors="pt", padding=True).to(model.device)
    
    with torch.no_grad():
        output = model.generate(
            **inputs,
            max_new_tokens=256,
            do_sample=True,
        )
    
    print(tokenizer.batch_decode(output, skip_special_tokens=True))
    
📄 Learn More

Runs of DFloat11 Qwen3-32B-DF11 on huggingface.co

8
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-10
30-day runs

More Information About Qwen3-32B-DF11 huggingface.co Model

Qwen3-32B-DF11 huggingface.co

Qwen3-32B-DF11 huggingface.co is an AI model on huggingface.co that provides Qwen3-32B-DF11's model effect (), which can be used instantly with this DFloat11 Qwen3-32B-DF11 model. huggingface.co supports a free trial of the Qwen3-32B-DF11 model, and also provides paid use of the Qwen3-32B-DF11. Support call Qwen3-32B-DF11 model through api, including Node.js, Python, http.

Qwen3-32B-DF11 huggingface.co Url

https://huggingface.co/DFloat11/Qwen3-32B-DF11

DFloat11 Qwen3-32B-DF11 online free

Qwen3-32B-DF11 huggingface.co is an online trial and call api platform, which integrates Qwen3-32B-DF11's modeling effects, including api services, and provides a free online trial of Qwen3-32B-DF11, you can try Qwen3-32B-DF11 online for free by clicking the link below.

DFloat11 Qwen3-32B-DF11 online free url in huggingface.co:

https://huggingface.co/DFloat11/Qwen3-32B-DF11

Qwen3-32B-DF11 install

Qwen3-32B-DF11 is an open source model from GitHub that offers a free installation service, and any user can find Qwen3-32B-DF11 on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3-32B-DF11 install, users can directly use Qwen3-32B-DF11 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Qwen3-32B-DF11 install url in huggingface.co:

https://huggingface.co/DFloat11/Qwen3-32B-DF11

Url of Qwen3-32B-DF11

Qwen3-32B-DF11 huggingface.co Url

Provider of Qwen3-32B-DF11 huggingface.co

DFloat11
ORGANIZATIONS

Other API from DFloat11

huggingface.co

Total runs: 2.6K
Run Growth: 719
Growth Rate: 27.40%
Updated:June 26 2025