diff --git a/development/comfyui-server/startup-flags.mdx b/development/comfyui-server/startup-flags.mdx index 8b6da247f..9f7775b4a 100644 --- a/development/comfyui-server/startup-flags.mdx +++ b/development/comfyui-server/startup-flags.mdx @@ -106,6 +106,11 @@ python main.py --disable-auto-launch | `--fp8_e5m2-unet` | Store UNet weights in fp8 (e5m2). | | `--fp8_e8m0fnu-unet` | Store UNet weights in fp8 (e8m0fnu). | +The suffix in each FP8 flag identifies the IEEE-compatible format: +- **e4m3fn** — 4 exponent bits, 3 mantissa bits. Good balance of precision and range for model weights on NVIDIA Ada Lovelace and newer GPUs. +- **e5m2** — 5 exponent bits, 2 mantissa bits. Wider dynamic range but lower precision than e4m3fn. Useful when weight magnitudes vary widely. +- **e8m0fnu** — 8 exponent bits, 0 mantissa bits. Maximum dynamic range with no fractional precision (acts as a per-tensor scale factor). + ### VAE precision | Flag | Description | @@ -125,6 +130,8 @@ python main.py --disable-auto-launch | `--fp32-text-enc` | Store text encoder weights in fp32. | | `--bf16-text-enc` | Store text encoder weights in bf16. | +See the [UNET precision](#unet-precision) table for the explanation of each FP8 format suffix. + ### Other inference options | Flag | Default | Description |