feat(comfyui): SDXL Lightning replaces FLUX as default image gen#606
Merged
Lightheartdevs merged 3 commits intomainfrom Mar 24, 2026
Merged
feat(comfyui): SDXL Lightning replaces FLUX as default image gen#606Lightheartdevs merged 3 commits intomainfrom
Lightheartdevs merged 3 commits intomainfrom
Conversation
FLUX.1 Schnell (12B params, 23GB, 4 separate model files totaling ~34GB) was taking 5-18 minutes per image on AMD RDNA 3 due to immature ROCm kernel optimization. SDXL Lightning 4-step (3.5B params, single 6.5GB checkpoint) generates images in 5-8 seconds on the same hardware. Changes: - docker-compose.base.yml: Replace FLUX pipeline (DualCLIPLoader + UNETLoader + FluxGuidance + SamplerCustomAdvanced) with standard SDXL pipeline (CheckpointLoaderSimple + KSampler). Euler sampler, sgm_uniform scheduler, CFG 1.5, 4 steps. - Phase 11: Replace 4-file FLUX download (~34GB) with single SDXL Lightning checkpoint (~6.5GB) from ByteDance/SDXL-Lightning on HF. - Phase 13: Update background task name from flux-download to sdxl-download. - tests/test-network-timeouts.sh: Update to match new download pattern. - .env.example: Update comment. ~60x faster subsequent generations. ~5x smaller download. Quality tradeoff: lower fidelity on text rendering and complex compositions, but very solid for most use cases. Users who want FLUX quality can download it manually into the checkpoints directory. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Phase 03 (Linux): "ComfyUI + FLUX, ~34GB" → "ComfyUI + SDXL Lightning, ~6.5GB" - Phase 03 (Windows): same prompt update - ComfyUI Dockerfile: header comment updated Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Updates ComfyUI README, Open WebUI README, CATALOG.md, main README acknowledgments, FAQ, and HOW-DREAM-SERVER-WORKS to reflect the switch from FLUX.1 Schnell to SDXL Lightning 4-step. OSS-LAUNCH-CHECKLIST left as-is (historical completed task). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
What stays the same
Verified on
Test plan
make testpasses (network timeout test updated)🤖 Generated with Claude Code