File size: 847 Bytes
9d98a3f
 
 
 
 
ea22cf6
9d98a3f
ea22cf6
 
 
 
 
 
 
060453f
3967229
2be1acd
 
 
 
060453f
ea22cf6
 
 
 
 
9d98a3f
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
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)