Sign In

🎨 LoRA Γ— Sampler Γ— Scheduler Grid Forge β€” Triple Strike Against Chaos in Generation!

5

🎨 LoRA Γ— Sampler Γ— Scheduler Grid Forge β€” Triple Strike Against Chaos in Generation!

🎨 LoRA Γ— Sampler Γ— Scheduler Grid Forge β€” Triple Strike Against Chaos in Generation!

Ever found yourself testing a LoRA, switching samplers, tweaking schedulers β€” and a couple of hours later you can’t remember which exact combo gave you that perfect shot? LoRA Γ— Sampler Γ— Scheduler Grid Forge turns that chaos into neat, labeled grids where everything is clear at a glance.

It’s the tool that saves you hours of testing and makes your experiments reproducible and easy to understand.

🌟 What Makes This Script Special

πŸ’‘ Triple comparison in a single frame β€” LoRA weight Γ— Sampler Γ— Scheduler. No more juggling dozens of combinations in your head.

⚑ Two modes of operation:

  • XY Grid β€” automatically iterates through all combinations you’ve selected.

  • Batch Grid β€” manually assemble custom sets when you need targeted checks.

πŸ–‹ On-grid labels β€” with a custom font so everything looks clean and on-brand.

πŸ›‘ Fallback images β€” instead of empty cells on errors, you get a readable message, not a hole in your grid.

🧹 Duplicate filtering β€” no wasted generation or accidental repeats.

πŸ“ Flexible parameter control β€” from prompt and seed to dimensions, padding, and output format (PNG/WEBP).

πŸ“¦ Individual cell saving β€” perfect for detailed analysis and presentation prep.

🎯 Who This Is a Must-Have For

  • Artists and art directors who want to quickly find β€œgolden” combinations without folder chaos.

  • LoRA creators who need to see how weight and parameters affect style and anatomy.

  • Teams that need to share results in a clear, reproducible way.

πŸš€ How It Speeds Up Your Workflow

  • Time saver β€” one run instead of dozens of scattered tests.

  • Clear documentation β€” the grid itself is ready for an article, post, or report.

  • Quality control β€” easily spot where a model β€œdrifts” or stays consistent.

πŸ’¬ "It’s like having your own visual microscope for generation β€” only instead of lenses, you’ve got LoRA, sampler, and scheduler."

βš™οΈ Installation

cd /extensions/
git clone https://github.com/PupaBoo/lora_x_sampler_x_scheduler_grid_forge
cd lora_x_sampler_x_scheduler_grid_forge
pip install -r requirements.txt

(Optional) Add the Barlow-SemiBold.ttf font to the fonts/ folder for improved label display.

🩡 I uploaded the script directly to this article for convenience. Use and enjoy it! 🩡

πŸ–₯ How to Use

  1. Launch Forge WebUI and select LoRA Γ— Sampler Γ— Scheduler Grid Forge from the txt2img script dropdown.

  2. Choose a mode:

    • XY Grid β€” set LoRA weights, samplers, and schedulers for the axes.

    • Batch Grid β€” add combinations manually or via the interface.

  3. Configure parameters (prompt, seed, steps, CFG, dimensions, padding, format).

  4. Enable labels and individual cell saving if needed.

Click Generate and watch progress in the terminal.

πŸ“ Output Structure

outputs/
└── πŸ§ͺ LoRa x Sampler x Scheduler Grid (Forge)/
    β”œβ”€β”€ cells/                                  # Individual cell images
    β”‚   β”œβ”€β”€ LoRAName_W0.50_Sampler_Scheduler_0_0.webp
    β”‚   └── ...
    β”œβ”€β”€ xy_grid_1700000000_001.webp             # XY Grid output (WEBP format)
    β”œβ”€β”€ xy_grid_1700000000_001.png              # XY Grid output (PNG format)
    β”œβ”€β”€ batch_grid_1700000000_001.webp          # Batch Grid output (WEBP format)
    └── batch_grid_1700000000_001.png           # Batch Grid output (PNG format)

πŸ›  Requirements

  • Stable Diffusion Forge

  • Python 3.7+

  • Libraries: gradio, Pillow (included with Forge)

⚑ Technical Features

  • Auto-Correction: Intelligent name matching for samplers and schedulers.

  • Validation: Comprehensive configuration validation with helpful error messages.

  • Unicode Support: Proper handling of special characters and emojis in names.

  • Font Caching: Optimized performance through font caching mechanisms.

  • Memory Management: Efficient handling of large grids with auto-scaling.

⚠️ Limitations

  • Mode Restriction: Works exclusively in txt2img mode.

  • Resource Intensive: Large grids may require significant VRAM and processing time.

  • Font Dependency: Optimal text rendering requires Barlow-SemiBold.ttf availability.

  • Grid Size: Very large combinations may produce extremely large output files.

πŸ“œ License

MIT License Β© 2025 - Free to use with attribution.

πŸ™Œ Acknowledgments

  • Built with Gradio and Pillow libraries

  • Developed with AI assistance tools

  • Inspired by the needs of the Stable Diffusion artist community

🀝 Contributing

Feedback, bug reports, and feature suggestions are welcome. Please report issues with detailed descriptions of the problem and your configuration.

πŸ“Έ Examples

batch_grid.webp

🧩 Batch Grid

xy_grid.webp

πŸ”„ XY Grid

xxy_grid_small_steps.webp

πŸ“Š Small Steps Grid

xxy_grid_with_trigger_word.webp

⚑ With Trigger Word

xxy_grid_without_trigger_word.webp

🚫 Without Trigger Word

xy_grid_huge.webp

πŸ‹ Huge Grid

🩡 You can download it from here or from the attached files. Or if it is more convenient for you, then install it here🩡

5