lzyvegetable commited on
Commit
2ac3e6b
1 Parent(s): ade7b6b

Upload folder using huggingface_hub

Browse files
DreamShaperXL_Lightning-SFW.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:832e7bb2302c3cd67c818ca4fe9dcbedf696d3070dab5463127263ec4db9899f
3
+ size 6939220250
DreamShaperXL_Lightning.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdbe56354b8f876b736f24d3ad867ecd4140c019f57642ec8ddd878088d44f64
3
+ size 6939220250
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: openrail++
5
+ tags:
6
+ - stable-diffusion
7
+ - stable-diffusion-diffusers
8
+ - stable-diffusion-xl
9
+ - stable-diffusion-xl-lightning
10
+ - text-to-image
11
+ - art
12
+ - artistic
13
+ - diffusers
14
+ - anime
15
+ - dreamshaper
16
+ - turbo
17
+ - lcm
18
+ duplicated_from: lykon/dreamshaper-xl-lightning
19
+ ---
20
+
21
+ # Dreamshaper XL Lightning
22
+
23
+ `lykon/dreamshaper-xl-lightning` is a Stable Diffusion model that has been fine-tuned on [stabilityai/stable-diffusion-xl-base-1.0](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0).
24
+
25
+ Please consider supporting me:
26
+ - on [Patreon](https://www.patreon.com/Lykon275)
27
+ - or [buy me a coffee](https://snipfeed.co/lykon)
28
+
29
+ ## Diffusers
30
+
31
+ For more general information on how to run text-to-image models with 🧨 Diffusers, see [the docs](https://huggingface.co/docs/diffusers/using-diffusers/conditional_image_generation).
32
+
33
+ 1. Installation
34
+
35
+ ```
36
+ pip install diffusers transformers accelerate
37
+ ```
38
+
39
+ 2. Run
40
+ ```py
41
+ from diffusers import AutoPipelineForText2Image, DPMSolverMultistepScheduler
42
+ import torch
43
+
44
+ pipe = AutoPipelineForText2Image.from_pretrained('lykon/dreamshaper-xl-lightning', torch_dtype=torch.float16, variant="fp16")
45
+ pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
46
+ pipe = pipe.to("cuda")
47
+
48
+ prompt = "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors"
49
+
50
+ generator = torch.manual_seed(0)
51
+ image = pipe(prompt, num_inference_steps=4, guidance_scale=2).images[0]
52
+ image.save("./image.png")
53
+ ```
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e75c862029ca1d27e695de534a3f27aaf369db6cb7c915fec271260eb4f458a
3
+ size 334643268