Views
No views yet
| File | Size | Description |
|---|---|---|
adapter.safetensors | ~23 MB | Projection adapter (3× Linear 1536→2560, concatenated to 7680) |
transformer_lora/adapter_model.safetensors | ~7.5 MB | PEFT LoRA weights (rank 16) for Flux2Transformer2DModel |
transformer_lora/adapter_config.json | ~1 KB | PEFT LoRA configuration |
1# Clone the code repo
2# git clone https://github.com/ElMiloPy/flux2tiny.git
3
4from pipeline import Flux2TinyPipeline
5
6pipe = Flux2TinyPipeline(
7 adapter_path="path/to/adapter.safetensors",
8 lora_path="path/to/transformer_lora",
9)
10
11image = pipe("A cat sitting on a windowsill at sunset", height=512, width=512)
12image.save("output.png")1python generate.py "A cat sitting on a windowsill at sunset" \
2 --adapter path/to/adapter.safetensors \
3 --lora path/to/transformer_lora \
4 --size 512x512