• John Karabudak's avatar
    added support for the new Flux image gen model using ComfyUI · ad6e8edc
    John Karabudak authored
    this commit adds three environment variables:
    
    - COMFYUI_FLUX: determines whether Flux is used, the workflow is completely different so this is necessary.
    - COMFYUI_FLUX_WEIGHT_DTYPE: sets the weight precision for Flux. you will probably want to set this to "fp8_e4m3fn" as the fp16 weights take up about 24GB of VRAM. optional, defaults to "default".
    - COMFYUI_FLUX_FP8_CLIP: Flux requires two CLIP models downloaded, one of which is available in fp8 and fp16. set to true if you are using the fp8 CLIP weights.
    ad6e8edc
main.py 17.6 KB