Dataset Viewer
The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
fal.ai Krea 2 LoRA to ComfyUI converter
Converts fal.ai Krea 2 LoRA .safetensors key names into a format ComfyUI's Krea2 loader can read.
This does not change the weights. It only renames the safetensors keys, for example from:
base_model.model.blocks.0.attn.wq.lora_A.weight
to:
transformer_blocks.0.attn.to_q.lora_down.weight
Files
convert_lora_dragdrop.py- the actual converter, works on macOS, Windows, and Linux with Python 3.convert_lora_dragdrop.command- macOS helper. Double-click it or drag a.safetensorsfile onto it.convert_lora_dragdrop.bat- Windows helper. Drag a.safetensorsfile onto it.
No torch or safetensors Python package is required.
Sharing
The easiest way to share this is a public GitHub Gist with these files:
README.mdconvert_lora_dragdrop.pyconvert_lora_dragdrop.commandconvert_lora_dragdrop.bat
Usage
macOS
- Put
convert_lora_dragdrop.pyandconvert_lora_dragdrop.commandin the same folder. - If needed, make the helper executable:
chmod +x convert_lora_dragdrop.command
- Double-click
convert_lora_dragdrop.commandand choose your fal.ai Krea 2 LoRA, or drag the LoRA file onto the.commandfile. - Copy the generated
*_comfy_krea2.safetensorsfile toComfyUI/models/loras.
Windows
- Put
convert_lora_dragdrop.pyandconvert_lora_dragdrop.batin the same folder. - Drag your fal.ai Krea 2 LoRA
.safetensorsfile ontoconvert_lora_dragdrop.bat. - Copy the generated
*_comfy_krea2.safetensorsfile toComfyUI\models\loras.
Terminal
python3 convert_lora_dragdrop.py /path/to/your_lora.safetensors
On Windows, use:
py -3 convert_lora_dragdrop.py C:\path\to\your_lora.safetensors
Notes
- This is for fal.ai Krea 2 LoRAs with keys like
base_model.model.*.lora_A.weightandbase_model.model.*.lora_B.weight. - Update ComfyUI first. Older ComfyUI builds may not include Krea2 LoRA key mapping.
- Load the converted LoRA with the Krea2 base model in ComfyUI.
- Downloads last month
- 56