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 .safetensors file onto it.
  • convert_lora_dragdrop.bat - Windows helper. Drag a .safetensors file 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.md
  • convert_lora_dragdrop.py
  • convert_lora_dragdrop.command
  • convert_lora_dragdrop.bat

Usage

macOS

  1. Put convert_lora_dragdrop.py and convert_lora_dragdrop.command in the same folder.
  2. If needed, make the helper executable:
chmod +x convert_lora_dragdrop.command
  1. Double-click convert_lora_dragdrop.command and choose your fal.ai Krea 2 LoRA, or drag the LoRA file onto the .command file.
  2. Copy the generated *_comfy_krea2.safetensors file to ComfyUI/models/loras.

Windows

  1. Put convert_lora_dragdrop.py and convert_lora_dragdrop.bat in the same folder.
  2. Drag your fal.ai Krea 2 LoRA .safetensors file onto convert_lora_dragdrop.bat.
  3. Copy the generated *_comfy_krea2.safetensors file to ComfyUI\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.weight and base_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