Downloads · 30 days
32
3% of all-time downloads
MaziyarPanahi/sljm-bag-stable-diffusion-xl-base-1.0
sljm-bag-stable-diffusion-xl-base-1.0 is a text-to-image model from MaziyarPanahi. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
Downloads · 30 days
32
3% of all-time downloads
All-time downloads
1.2K
Public
Repo size
24.5 MB
Likes
3
Public
Click a slice to open those files.
.safetensors23.4 MB · 96%
From the Hugging Face model README
prj_path = "MaziyarPanahi/sljm-bag-stable-diffusion-xl-base-1.0"
model = "stabilityai/stable-diffusion-xl-base-1.0"
pipe = DiffusionPipeline.from_pretrained(
model,
torch_dtype=torch.float16,
)
pipe.to("cuda")
pipe.load_lora_weights(prj_path, weight_name="pytorch_lora_weights.safetensors")
refiner = StableDiffusionXLImg2ImgPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-refiner-1.0",
torch_dtype=torch.float16,
)
refiner.to("cuda")
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.