hishamchow commited on
Commit
c107075
·
verified ·
1 Parent(s): cc5e935

Add Model Card for Flux1.schnell

Browse files
Files changed (1) hide show
  1. README.md +36 -3
README.md CHANGED
@@ -1,3 +1,36 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - black-forest-labs/FLUX.1-schnell
5
+ pipeline_tag: text-to-image
6
+ library_name: diffusers
7
+ ---
8
+ ---
9
+ pipeline_tag: text-to-image
10
+ ---
11
+ # black-forest-labs/FLUX.1-schnell - AMD Optimized ONNX
12
+
13
+ ## Original Model
14
+ https://huggingface.co/black-forest-labs/FLUX.1-schnell
15
+
16
+ ## _io32/16
17
+ _io32: model input is fp32, model will convert the input to fp16, perform ops in fp16 and write the final result in fp32
18
+
19
+ _io16: model input is fp16, perform ops in fp16 and write the final result in fp16
20
+
21
+ ```csharp
22
+ // csharp example
23
+ // Create Pipeline
24
+ var pipeline = StableDiffusionPipeline.CreatePipeline("D:\\Models\\FLUX.1-schnell_io32_amdgpu");
25
+ // Prompt
26
+ var promptOptions = new PromptOptions
27
+ {
28
+ Prompt = "a majestic Royal Bengal Tiger on the mountain top overlooking beatiful Lake Tahoe snowy mountains and deep blue lake, deep blue sky, ultra hd, 8k, photorealistic"
29
+ };
30
+ // Run pipeline
31
+ var result = await pipeline.GenerateImageAsync(promptOptions, schedulerOptions);
32
+ // Save Image Result
33
+ await result.SaveAsync("Result.png");
34
+ ```
35
+ ## Inference Result
36
+ ![Intro Image](sample.png)