Flux.1 D + Flux.1 Kontext Workflows + SageAttention + GGUF + MultiGPU

详情

模型描述

我的 TG 频道 - https://t.me/StefanFalkokAI

我的 TG 聊天室 - https://t.me/+y4R5JybDZcFjMjFi

你好!我向大家介绍我使用 Flux.1 D 和 Flux.1 Kontext 为 ComfyUI 生成图像的工作流程。

我已包含 Flux 模型的工作流程。

你需要拥有 Flux 1.D 模型(/model/618692?modelVersionId=691639)、Flux 1.Kontext(https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/tree/main/split_files/diffusion_models)、clips(https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main)和 vae(https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/ae.safetensors)。

此外,我推荐一款不错的 Flux SPRO 模型 - /model/1953067?modelVersionId=2210446

GGUF Flux.1 D - https://huggingface.co/city96/FLUX.1-dev-gguf/tree/main

GGUF Flux.1 Kontext - https://huggingface.co/QuantStack/FLUX.1-Kontext-dev-GGUF/tree/main

你还需要安装 Sageattention 2.2.0(带 Triton)(https://huggingface.co/Kijai/PrecompiledWheels/tree/main)和 Torch 2.7.0+ 以实现更快的生成速度(https://github.com/pytorch/pytorch/releases),同时需要下载并安装 CUDA 12.8(https://developer.nvidia.com/cuda-12-8-0-download-archive)和 VS Code(https://visualstudio.microsoft.com/downloads/)。

安装 Sageattention 的说明(1.0.6 版本);如何安装 Sageattention 2.2.0:将 .whl 文件重命名为 .zip,然后将 .zip 中的文件夹复制到 ComfyUI\python_embeded\Lib\site-packages。

如果遇到问题或发现工作流程有错误,请留下评论。

此模型生成的图像

未找到图像。