ComfyUI Extension: multi-lora-stack
A complete replacement for rgthree's Power Lora Loader with zero dependencies and two specialized versions to fit any workflow.
Custom Nodes (0)
README
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
loaders
category:- 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