Update README.md
Browse files
README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
license: openrail++
|
3 |
---
|
4 |
|
5 |
-
This checkkpoint is compiled
|
6 |
|
7 |
## Compilation
|
8 |
|
@@ -46,7 +46,7 @@ stable_diffusion.save_pretrained(save_directory)
|
|
46 |
from optimum.neuron import NeuronStableDiffusionXLPipeline
|
47 |
from diffusers import EulerDiscreteScheduler
|
48 |
|
49 |
-
pipe = NeuronStableDiffusionXLPipeline.from_pretrained("
|
50 |
pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing")
|
51 |
pipe("A girl smiling", num_inference_steps=4, guidance_scale=0).images[0].save("output.png")
|
52 |
|
|
|
2 |
license: openrail++
|
3 |
---
|
4 |
|
5 |
+
This checkkpoint is compiled by [ByteDance/SDXL-Lightning](https://huggingface.co/ByteDance/SDXL-Lightning) for AWS Inf2.
|
6 |
|
7 |
## Compilation
|
8 |
|
|
|
46 |
from optimum.neuron import NeuronStableDiffusionXLPipeline
|
47 |
from diffusers import EulerDiscreteScheduler
|
48 |
|
49 |
+
pipe = NeuronStableDiffusionXLPipeline.from_pretrained("aws-neuron/SDXL-Lightning-4steps-neuronx")
|
50 |
pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing")
|
51 |
pipe("A girl smiling", num_inference_steps=4, guidance_scale=0).images[0].save("output.png")
|
52 |
|