amd
/

Text-to-Image
Diffusers
ONNX
hishamchow commited on
Commit
99499b9
·
verified ·
1 Parent(s): b4084da

Add Model Card

Browse files
Files changed (1) hide show
  1. README.md +38 -5
README.md CHANGED
@@ -1,5 +1,38 @@
1
- ---
2
- license: other
3
- license_name: flux-1-dev-non-commercial-license
4
- license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
5
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: flux-1-dev-non-commercial-license
4
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
5
+ base_model:
6
+ - black-forest-labs/FLUX.1-dev
7
+ pipeline_tag: text-to-image
8
+ library_name: diffusers
9
+ ---
10
+ ---
11
+ pipeline_tag: text-to-image
12
+ ---
13
+ # black-forest-labs/FLUX.1-dev - AMD Optimized ONNX
14
+
15
+ ## Original Model
16
+ https://huggingface.co/black-forest-labs/FLUX.1-dev
17
+
18
+ ## _io32/16
19
+ _io32: model input is fp32, model will convert the input to fp16, perform ops in fp16 and write the final result in fp32
20
+
21
+ _io16: model input is fp16, perform ops in fp16 and write the final result in fp16
22
+
23
+ ```csharp
24
+ // csharp example
25
+ // Create Pipeline
26
+ var pipeline = StableDiffusionPipeline.CreatePipeline("D:\\Models\\FLUX.1-dev_amdgpu");
27
+ // Prompt
28
+ var promptOptions = new PromptOptions
29
+ {
30
+ 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"
31
+ };
32
+ // Run pipeline
33
+ var result = await pipeline.GenerateImageAsync(promptOptions, schedulerOptions);
34
+ // Save Image Result
35
+ await result.SaveAsync("Result.png");
36
+ ```
37
+ ## Inference Result
38
+ ![Intro Image](sample.png)