Flux LoRA Collections
Collection
Flux THE LoRA β’ 131 items β’ Updated β’ 33
How to use prithivMLmods/Flux-GArt-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("prithivMLmods/Flux-GArt-LoRA")
prompt = "GArt, a man in a blue jacket and blue jeans is riding a brown horse down a dirt road in the middle of a desert. The man is wearing a black cowboy hat, a blue long sleeved shirt, and black boots. The horse is facing the left side of the road, and the sun is setting in the background, casting a shadow on the road. The road is divided into two sections, each section having a yellow line painted on it. To the left and right of the image, there are cactus plants with yellow flowers growing on the ground. In the distance, there is a mountain range. The sky is a deep orange, with a few wispy clouds in the sky."
image = pipe(prompt).images[0]import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("prithivMLmods/Flux-GArt-LoRA")
prompt = "GArt, a man in a blue jacket and blue jeans is riding a brown horse down a dirt road in the middle of a desert. The man is wearing a black cowboy hat, a blue long sleeved shirt, and black boots. The horse is facing the left side of the road, and the sun is setting in the background, casting a shadow on the road. The road is divided into two sections, each section having a yellow line painted on it. To the left and right of the image, there are cactus plants with yellow flowers growing on the ground. In the distance, there is a mountain range. The sky is a deep orange, with a few wispy clouds in the sky."
image = pipe(prompt).images[0]


The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.
prithivMLmods/Flux-GArt-LoRA
Image Processing Parameters
| Parameter | Value | Parameter | Value |
|---|---|---|---|
| LR Scheduler | constant | Noise Offset | 0.03 |
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
| Network Dim | 64 | Multires Noise Iterations | 10 |
| Network Alpha | 32 | Repeat & Steps | 15 & 2500 |
| Epoch | 10 | Save Every N Epochs | 1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 14
import torch
from pipelines import DiffusionPipeline
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "prithivMLmods/Flux-GArt-LoRA"
trigger_word = "GArt"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
You should use GArt to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Base model
black-forest-labs/FLUX.1-dev