SDXL Dev Models
Collection
Are just in initial stage sdxl LoRA • 17 items • Updated • 6
How to use prithivMLmods/Canopus-Art-Medium-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("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("prithivMLmods/Canopus-Art-Medium-LoRA")
prompt = "A Dog, a simple vector illustration in the style of dark and sublime, against a light green background"
image = pipe(prompt).images[0]


Canopus-Art 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 | 20 |
| Epoch | 15 | Save Every N Epochs | 1 |
pipe = StableDiffusionXLPipeline.from_pretrained(
"------------------------------",
torch_dtype=torch.float16,
use_safetensors=True,
)
(or)
-----------------------------------------------------------
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16,
use_safetensors=True,
)
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
pipe.load_lora_weights("prithivMLmods/Canopus-Art-Medium-LoRA", weight_name="prithivMLmods/Canopus-Art-Medium-LoRA.safetensors", adapter_name="mdm")
pipe.set_adapters("mdm")
pipe.to("cuda")
You should use art to trigger the image generation.
You should use illustration to trigger the image generation.
| Parameter | Value |
|---|---|
| Prompt | An illustration of a deer with large antlers, in the style of 18th century, dark gray and light brown, realistic renderings of the human form, 1860–1969, bengal school of art, die brücke, angura kei --ar 258:197 --v 5.1 --style raw |
| Sampler | euler |
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Base model
stabilityai/stable-diffusion-xl-base-1.0