Update README.md
Browse files
README.md
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
|
4 |
-
|
5 |
pipeline_tag: text-to-image
|
|
|
6 |
---
|
|
|
7 |
# Stable-Diffusion XL Base 1.0 - AMD Optimized ONNX
|
8 |
|
9 |
## Original Model
|
@@ -14,6 +16,17 @@ _io32: model input is fp32, model will convert the input to fp16, perform ops in
|
|
14 |
|
15 |
_io16: model input is fp16, perform ops in fp16 and write the final result in fp16
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
```csharp
|
18 |
// csharp example
|
19 |
// Create Pipeline
|
@@ -29,4 +42,4 @@ var result = await pipeline.GenerateImageAsync(promptOptions, schedulerOptions);
|
|
29 |
await result.SaveAsync("Result.png");
|
30 |
```
|
31 |
## Inference Result
|
32 |
-

|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model:
|
4 |
+
- stabilityai/stable-diffusion-xl-base-1.0
|
5 |
pipeline_tag: text-to-image
|
6 |
+
library_name: diffusers
|
7 |
---
|
8 |
+
|
9 |
# Stable-Diffusion XL Base 1.0 - AMD Optimized ONNX
|
10 |
|
11 |
## Original Model
|
|
|
16 |
|
17 |
_io16: model input is fp16, perform ops in fp16 and write the final result in fp16
|
18 |
|
19 |
+
## Running
|
20 |
+
|
21 |
+
### 1. Using Amuse GUI Application
|
22 |
+
|
23 |
+
Use Amuse GUI application to run it: https://www.amuse-ai.com/
|
24 |
+
|
25 |
+
|
26 |
+
### 2. C# Inference Demo
|
27 |
+
|
28 |
+
https://github.com/TensorStack-AI/OnnxStack
|
29 |
+
|
30 |
```csharp
|
31 |
// csharp example
|
32 |
// Create Pipeline
|
|
|
42 |
await result.SaveAsync("Result.png");
|
43 |
```
|
44 |
## Inference Result
|
45 |
+

|