Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

lym00
/
nunchaku_svdquant_deepcompressor_0.1.0_quantization_flux.1_kontext_dev_test

Model card Files Files and versions
xet
Community
nunchaku_svdquant_deepcompressor_0.1.0_quantization_flux.1_kontext_dev_test / README.md
lym00's picture
lym00
Update README.md
f807ff6 verified 2 months ago
preview code
|
raw
history blame
1.29 kB
metadata
license: apache-2.0

Repos

https://github.com/mit-han-lab/deepcompressor

Installation

https://github.com/mit-han-lab/deepcompressor/issues/56

https://github.com/nunchaku-tech/deepcompressor/issues/80

Windows

https://learn.microsoft.com/en-us/windows/wsl/install

https://www.anaconda.com/docs/getting-started/miniconda/install

Environment

python 3.10

cuda 12.8

torch 2.7

Quantization

https://github.com/nunchaku-tech/deepcompressor/blob/main/examples/diffusion/README.md

Model Path: https://github.com/nunchaku-tech/deepcompressor/issues/70#issuecomment-2788155233

Save model: --save-model true or --save-model /PATH/TO/CHECKPOINT/DIR

Example: python -m deepcompressor.app.diffusion.ptq examples/diffusion/configs/model/flux.1-kontext-dev.yaml examples/diffusion/configs/svdquant/nvfp4.yaml

Folder Structure

  • refer black-forest-labs/FLUX.1-Kontext-dev

Dependencies

https://github.com/Dao-AILab/flash-attention

https://github.com/facebookresearch/xformers

https://github.com/openai/CLIP

https://github.com/THUDM/ImageReward

Wheels

https://huggingface.co/datasets/siraxe/PrecompiledWheels_Torch-2.8-cu128-cp312

https://huggingface.co/lldacing/flash-attention-windows-wheel