Adding Neuron-optimized model files
Browse files🤖 Neuron Export Bot: On behalf of [badaoui](https://huggingface.co/badaoui), adding AWS Neuron-optimized model files.
Neuron-optimized models can achieve high-performance inference on AWS Inferentia and Trainium chips. Learn more:
- [AWS Neuron Documentation](https://awsdocs-neuron.readthedocs-hosted.com)
- [🤗 Optimum Neuron Guide](https://huggingface.co/docs/optimum-neuron/index)
- README.md +17 -14
- neuron/model_index.json +46 -0
README.md
CHANGED
@@ -4,26 +4,29 @@ tags:
|
|
4 |
- stable-diffusion
|
5 |
- stable-diffusion-diffusers
|
6 |
- text-to-image
|
|
|
7 |
widget:
|
8 |
-
- text:
|
9 |
example_title: Amazon rainforest
|
10 |
-
- text:
|
11 |
example_title: Pikachu in Paris
|
12 |
-
- text:
|
13 |
example_title: Expressionist robot
|
14 |
-
- text:
|
15 |
example_title: Insect robot
|
16 |
-
- text:
|
17 |
example_title: Snowy disney cabin
|
18 |
-
extra_gated_prompt:
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
27 |
extra_gated_heading: Please read the LICENSE to access this model
|
28 |
---
|
29 |
|
|
|
4 |
- stable-diffusion
|
5 |
- stable-diffusion-diffusers
|
6 |
- text-to-image
|
7 |
+
- neuron
|
8 |
widget:
|
9 |
+
- text: A high tech solarpunk utopia in the Amazon rainforest
|
10 |
example_title: Amazon rainforest
|
11 |
+
- text: A pikachu fine dining with a view to the Eiffel Tower
|
12 |
example_title: Pikachu in Paris
|
13 |
+
- text: A mecha robot in a favela in expressionist style
|
14 |
example_title: Expressionist robot
|
15 |
+
- text: an insect robot preparing a delicious meal
|
16 |
example_title: Insect robot
|
17 |
+
- text: A small cabin on top of a snowy mountain in the style of Disney, artstation
|
18 |
example_title: Snowy disney cabin
|
19 |
+
extra_gated_prompt: "This model is open access and available to all, with a CreativeML\
|
20 |
+
\ OpenRAIL-M license further specifying rights and usage.\nThe CreativeML OpenRAIL\
|
21 |
+
\ License specifies: \n\n1. You can't use the model to deliberately produce nor\
|
22 |
+
\ share illegal or harmful outputs or content \n2. The authors claim no rights on\
|
23 |
+
\ the outputs you generate, you are free to use them and are accountable for their\
|
24 |
+
\ use which must not go against the provisions set in the license\n3. You may re-distribute\
|
25 |
+
\ the weights and use the model commercially and/or as a service. If you do, please\
|
26 |
+
\ be aware you have to include the same use restrictions as the ones in the license\
|
27 |
+
\ and share a copy of the CreativeML OpenRAIL-M to all your users (please read the\
|
28 |
+
\ license entirely and carefully)\nPlease read the full license carefully here:\
|
29 |
+
\ https://huggingface.co/spaces/CompVis/stable-diffusion-license\n "
|
30 |
extra_gated_heading: Please read the LICENSE to access this model
|
31 |
---
|
32 |
|
neuron/model_index.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "NeuronStableDiffusionXLPipeline",
|
3 |
+
"_diffusers_version": "0.34.0",
|
4 |
+
"feature_extractor": [
|
5 |
+
"transformers",
|
6 |
+
"CLIPImageProcessor"
|
7 |
+
],
|
8 |
+
"force_zeros_for_empty_prompt": true,
|
9 |
+
"image_encoder": [
|
10 |
+
null,
|
11 |
+
null
|
12 |
+
],
|
13 |
+
"requires_aesthetics_score": false,
|
14 |
+
"safety_checker": [
|
15 |
+
"stable_diffusion",
|
16 |
+
"StableDiffusionSafetyChecker"
|
17 |
+
],
|
18 |
+
"scheduler": [
|
19 |
+
"diffusers",
|
20 |
+
"PNDMScheduler"
|
21 |
+
],
|
22 |
+
"text_encoder": [
|
23 |
+
"optimum.neuron.modeling_diffusion",
|
24 |
+
"NeuronModelTextEncoder"
|
25 |
+
],
|
26 |
+
"text_encoder_2": [
|
27 |
+
null,
|
28 |
+
null
|
29 |
+
],
|
30 |
+
"tokenizer": [
|
31 |
+
"transformers",
|
32 |
+
"CLIPTokenizer"
|
33 |
+
],
|
34 |
+
"tokenizer_2": [
|
35 |
+
null,
|
36 |
+
null
|
37 |
+
],
|
38 |
+
"unet": [
|
39 |
+
"optimum.neuron.modeling_diffusion",
|
40 |
+
"NeuronModelUnet"
|
41 |
+
],
|
42 |
+
"vae": [
|
43 |
+
"optimum.neuron.modeling_diffusion",
|
44 |
+
"NeuronModelVae"
|
45 |
+
]
|
46 |
+
}
|