Multi LoRA Stack for ComfyUI
Powerful standalone ComfyUI custom nodes for managing multiple LoRAs in a single, dynamic interface
A complete replacement for rgthree's Power Lora Loader with zero dependencies and two specialized versions to fit any workflow.
✨ Features
🎛️ Dynamic Interface - Add unlimited LoRA slots with a single click
🔄 Easy Management - Toggle, reorder, and remove LoRAs with intuitive controls
💪 Dual Versions - Choose between full functionality or model-only optimization
📊 Visual Feedback - Clean, wide interface with clear status indicators
⚡ Performance - Efficient loading and processing of multiple LoRAs
🔧 No Dependencies - Standalone implementation, works with any ComfyUI installation
🚀 Quick Start
Installation
-
Clone or download this repository to your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes/ git clone https://github.com/ShmuelRonen/multi-lora-stack.git -
Restart ComfyUI
-
Find the nodes in the
loaderscategory:- Multi LoRA Stack - Full version with MODEL + CLIP
- Multi LoRA Stack (Model Only) - Streamlined model-only version
Basic Usage
- Add either node to your workflow
- Connect your base MODEL (and CLIP for full version)
- Click "➕ Add LoRA" to add LoRA slots
- Select LoRAs from the dropdown menus
- Adjust strength values as needed
- Toggle individual LoRAs on/off or use "Toggle All"
📊 Node Versions
| Feature | Multi LoRA Stack | Multi LoRA Stack (Model Only) |
|---|---|---|
| Inputs | MODEL + CLIP | MODEL only |
| Outputs | MODEL + CLIP | MODEL only |
| Best For | Style LoRAs, Character LoRAs, Complex workflows | Flux LoRAs, Performance-focused workflows |
| Interface | 4 connection points | 2 connection points |
| Performance | Standard | Optimized |
When to Use Which?
Choose Multi LoRA Stack (Full):
- Working with style or character LoRAs
- Need CLIP text encoding modifications
- Maximum compatibility with existing workflows
- Professional/production work
Choose Multi LoRA Stack (Model Only):
- Using modern LoRAs (especially Flux)
- Performance-critical workflows
- Prefer cleaner, simpler interface
- Experimental/testing workflows
🎛️ Controls
Main Controls
- ➕ Add LoRA - Adds a new LoRA slot
- Toggle All LoRAs - Enables/disables all LoRAs at once
Per-LoRA Controls
- Enable Toggle - Turn individual LoRAs on/off
- LoRA Dropdown - Select from available LoRAs
- Strength Slider - Adjust influence (-2.0 to +2.0)
- Remove Button - Delete the LoRA slot
📝 Technical Details
File Structure
multi-lora-stack/
├── __init__.py # Node registration
├── multi_lora_stack.py # Full version backend
├── multi_lora_stack_model_only.py # Model-only backend
└── web/
├── multi_lora_stack.js # Full version UI
└── multi_lora_stack_model_only.js # Model-only UI
Data Format
LoRA configurations are stored as JSON:
[
{
"on": true,
"lora": "flux/style_lora.safetensors",
"strength": 1.0
},
{
"on": false,
"lora": "character_lora.safetensors",
"strength": 0.8
}
]
Backend Processing
- Full Version: Uses ComfyUI's
LoraLoader()for MODEL + CLIP processing - Model Only: Uses ComfyUI's
LoraLoaderModelOnly()for optimized model-only processing
🔧 Installation Details
Method 1: Git Clone (Recommended)
cd ComfyUI/custom_nodes/
git clone https://github.com/yourusername/multi-lora-stack.git
Method 2: Manual Download
- Download the repository as ZIP
- Extract to
ComfyUI/custom_nodes/multi-lora-stack/ - Ensure the file structure matches the layout above
Method 3: Individual Files
Create the directory structure and copy files:
mkdir -p ComfyUI/custom_nodes/multi-lora-stack/web/
# Copy each file to its respective location
🐛 Troubleshooting
Nodes Don't Appear
- ✅ Verify file structure matches exactly
- ✅ Check ComfyUI console for error messages
- ✅ Restart ComfyUI completely
- ✅ Ensure all Python files are in the root directory
LoRA Dropdown Empty
- ✅ Verify LoRAs exist in
models/loras/directory - ✅ Test with ComfyUI's standard LoRA Loader first
- ✅ Check file permissions
JavaScript Errors
- ✅ Ensure JS files are in the
web/subdirectory - ✅ Check browser console (F12) for specific errors
- ✅ Clear browser cache and reload
LoRAs Not Loading
- ✅ Check ComfyUI console for debug output
- ✅ Verify LoRA names match exactly with files
- ✅ Ensure LoRAs are enabled (toggle on)
- ✅ Test strength values (non-zero)
🆚 Comparison with rgthree Power Lora Loader
| Feature | Multi LoRA Stack | rgthree Power Lora Loader |
|---|---|---|
| Dependencies | ✅ None (standalone) | ❌ Requires rgthree framework |
| Installation | ✅ Simple (drop-in) | ❌ Complex (dependencies) |
| Versions | ✅ Two optimized versions | ⚪ Single version |
| Compatibility | ✅ Any ComfyUI installation | ❌ Requires rgthree ecosystem |
| Updates | ✅ Independent updates | ❌ Dependent on rgthree updates |
| Interface | ✅ Wide, clean design | ⚪ Compact design |
🤝 Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Development Setup
# Clone the repo
git clone https://github.com/ShmuelRonen/multi-lora-stack.git
cd multi-lora-stack
# Make changes and test in ComfyUI
# Follow the installation instructions above for testing
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Inspired by rgthree's Power Lora Loader
- Built for the ComfyUI community
- Thanks to all contributors and testers
📞 Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- ComfyUI: ComfyUI Repository
⭐ If this project helps your workflow, please give it a star!
Made with ❤️ for the ComfyUI community