alfredplpl's picture
Update README.md
3967229 verified
---
license: other
license_name: flux-1-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/README.md
---
# FLUX.1 [dev] Modern Anime FP8
![eyecatch](eyecatch.jpg)
FLUX.1 dev Modern Anime FP8 is an anime model with 8-bit float by PyTorch.
We can load this model by ComfyUI.
## Usage
- ComfyUI
1. Download [this model](modern-anime-fp8.safetensors).
2. Move the file to ComfyUI/models/unet.
3. Lunch ComfyUI with fp8 option ([detail](https://github.com/comfyanonymous/ComfyUI/issues/2157)).
```bash
python main.py --fp8_e4m3fn-unet
```
4. Load [this workflow](flux-workflow.json).
5. Queue prompt. (trigger words: modern anime style,)
6. Get the following image.
![example](example.jpg)
## How to cast fp8
[here](https://huggingface.co/Kijai/flux-fp8/discussions/7#66ae0455a20def3de3c6d476)