From 40077100374b2b07fe73df16532ea41c1848af5d Mon Sep 17 00:00:00 2001 From: John Karabudak Date: Fri, 2 Aug 2024 14:23:25 -0230 Subject: [PATCH] added documentation on the new Flux model support --- docs/getting-started/env-configuration.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index b05976d..3b1e4a6 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -640,6 +640,21 @@ Query: [query] - Default: `False` - Description: Sets ComfyUI to Stable Diffusion 3 mode. SD3 will work without this set, but the image quality will be significantly lower. Requires a recent version of ComfyUI. +#### `COMFYUI_FLUX` + +- Default: `False` +- Description: Sets ComfyUI to Flux mode. Only set if Flux is required, as the workflow is completely different and is not at all compatible with other models. Requires a recent version of ComfyUI. Flux currently does not support custom cfg_scale settings. + +#### `COMFYUI_FLUX_WEIGHT_DTYPE` + +- Default: `default` +- Description: Ignored if Flux is not enabled. Sets the weight precision for Flux. Available options are `default` and `fp8_e4m3fn`. The latter is recommended if you don't have lots of spare VRAM. + +#### `COMFYUI_FLUX_FP8_CLIP` + +- Default: `False` +- Description: Ignored if Flux is not enabled. Sets the Flux CLIP model to 8-bit precision, saving VRAM. Recommended to enable if you don't have lots of spare VRAM. + #### `IMAGES_OPENAI_API_KEY` - Default: `${OPENAI_API_KEY}`