amd/FLUX.1-dev-onnx
By amd · ↓ 0 · ♥ 2 · Updated 2025-02-07
What's in this repo
This page lists the files in amd/FLUX.1-dev-onnx, including model.onnx and more.
- 7 ONNX models (.onnx files)
- 21 files, including 7 .onnx, 5 .json, 5 .data, 1 .md, 1 .txt, 1 .model
- Last updated 2025-02-07
ONNX files
| File | Size | Download |
|---|---|---|
| text_encoder/model.onnx | — | Download |
| text_encoder_2/model.onnx | — | Download |
| tokenizer/model.onnx | — | Download |
| tokenizer_2/model.onnx | — | Download |
| unet/model.onnx | — | Download |
| vae_decoder/model.onnx | — | Download |
| vae_encoder/model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
black-forest-labs/FLUX.1-dev
Original Model
https://huggingface.co/black-forest-labs/FLUX.1-dev
Running
1. Using Amuse GUI Application
Download and install Amuse GUI application to run it: https://www.amuse-ai.com/
2. C# Inference Demo
https://github.com/TensorStack-AI/OnnxStack
// csharp example
// Create Pipeline
var pipeline = FluxPipeline.CreatePipeline("D:\\Models\\FLUX.1-dev-onnx");
// 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"
};
// Scheduler Options
var schedulerOptions = pipeline.DefaultSchedulerOptions with
{
InferenceSteps = 50,
GuidanceScale = 3.5f,
SchedulerType = SchedulerType.FlowMatchEulerDiscrete,
};
// Run pipeline
var result = await pipeline.GenerateImageAsync(promptOptions, schedulerOptions);
// Save Image Result
await result.SaveAsync("Result.png");
Inference Result

Model info
text-to-image
diffusers
diffusers
onnx
text-to-image
base_model:black-forest-labs/FLUX.1-dev
base_model:quantized:black-forest-labs/FLUX.1-dev
license:other
region:us
↓ 0
♥ 2
Created: 2025-02-06
Updated: 2025-02-07
View on Hugging FaceFiles (21)
.gitattributes
README.md
scheduler/scheduler_config.json
text_encoder/model.onnx
ONNX
text_encoder/model.onnx.data
text_encoder_2/model.onnx
ONNX
text_encoder_2/model.onnx.data
tokenizer/merges.txt
tokenizer/model.onnx
ONNX
tokenizer/special_tokens_map.json
tokenizer/vocab.json
tokenizer_2/model.onnx
ONNX
tokenizer_2/special_tokens_map.json
tokenizer_2/spiece.model
tokenizer_2/tokenizer.json
unet/model.onnx
ONNX
unet/model.onnx.data
vae_decoder/model.onnx
ONNX
vae_decoder/model.onnx.data
vae_encoder/model.onnx
ONNX
vae_encoder/model.onnx.data