Update README.md
Browse files
README.md
CHANGED
|
@@ -7,16 +7,11 @@ library_name: diffusers
|
|
| 7 |
libraries: ONNX
|
| 8 |
---
|
| 9 |
|
| 10 |
-
# black-forest-labs/FLUX.1-schnell
|
| 11 |
|
| 12 |
## Original Model
|
| 13 |
https://huggingface.co/black-forest-labs/FLUX.1-schnell
|
| 14 |
|
| 15 |
-
## _io32/16
|
| 16 |
-
_io32: model input is fp32, model will convert the input to fp16, perform ops in fp16 and write the final result in fp32
|
| 17 |
-
|
| 18 |
-
_io16: model input is fp16, perform ops in fp16 and write the final result in fp16
|
| 19 |
-
|
| 20 |
## Running
|
| 21 |
|
| 22 |
### 1. Using Amuse GUI Application
|
|
@@ -29,7 +24,7 @@ https://github.com/TensorStack-AI/OnnxStack
|
|
| 29 |
```
|
| 30 |
// csharp example
|
| 31 |
// Create Pipeline
|
| 32 |
-
var pipeline = FluxPipeline.CreatePipeline("D:\\Models\\
|
| 33 |
// Prompt
|
| 34 |
var promptOptions = new PromptOptions
|
| 35 |
{
|
|
@@ -50,4 +45,4 @@ var result = await pipeline.GenerateImageAsync(promptOptions, schedulerOptions);
|
|
| 50 |
await result.SaveAsync("Result.png");
|
| 51 |
```
|
| 52 |
## Inference Result
|
| 53 |
-
;
|
| 28 |
// Prompt
|
| 29 |
var promptOptions = new PromptOptions
|
| 30 |
{
|
|
|
|
| 45 |
await result.SaveAsync("Result.png");
|
| 46 |
```
|
| 47 |
## Inference Result
|
| 48 |
+

|