README.md 465 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
# Nunchaku INT4 FLUX.1 Kontext Demo

![demo](https://huggingface.co/mit-han-lab/nunchaku-artifacts/resolve/main/nunchaku/assets/kontext.png)

This interactive Gradio application allows you to edit an image with natural language. Simply run:

```shell
python run_gradio.py
```

- To further reduce GPU memory usage, you can enable the W4A16 text encoder by specifying `--use-qencoder`.
- By default, we use our INT4 model. Use `-p bf16` to switch to the BF16 model.