jburtoft commited on
Commit
93ab316
1 Parent(s): 08e5765

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -0
README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This is a neuron compiled model from https://huggingface.co/Lykon/dreamshaper-xl-1-0
2
+
3
+ It was compiled on the 20240123 version of the Hugging Face Deep Learing AMI. Using SDK 2.6.1. It should run on an inf2.8xlarge and maybe an inf2.xlarge.
4
+
5
+ To run:
6
+
7
+ ```
8
+ from optimum.neuron import NeuronStableDiffusionXLPipeline
9
+ pipeline = NeuronStableDiffusionXLPipeline.from_pretrained("jburtoft/Lykon-dreamshaper-xl-1-0-Neuron", device_ids=[0, 1])
10
+ prompt = "a photo of an astronaut thinking about diffusion"
11
+ # generate image
12
+ image = pipeline(prompt).images[0]
13
+ image.save("generated_image3.jpg")
14
+ ```