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