Issue with Missing StableDiffusion3Pipeline Class in OnnxStack C# Inference Demo
Hello OnnxStack Team,
I recently came across your project while searching for a method to run the stable diffusion 3 model in C#. I found the model on the Hugging Face page (https://huggingface.co/TensorStack/stable-diffusion-3-lite-onnx) and followed the link to your C# Inference Demo on GitHub (https://github.com/TensorStack-AI/OnnxStack).
The example code provided on the repository suggests using the StableDiffusion3Pipeline class to create a pipeline and generate images with the model. Here is the snippet of the example code:
// Create Pipeline
var pipeline = StableDiffusion3Pipeline.CreatePipeline("D:\\Models\\stable-diffusion-3-lite-onnx");
// Prompt
var promptOptions = new PromptOptions
{
Prompt = "A cat holding a sign that says OnnxStack Stable Diffusion 3"
};
// Run pipeline
var result = await pipeline.GenerateImageAsync(promptOptions);
// Save Image Result
await result.SaveAsync("Result.png");
However, upon looking into your library, I could not find the StableDiffusion3Pipeline class. It seems to be missing from the library, or the documentation may need updating to reflect the correct usage.
Could you please provide clarification on whether the class is indeed missing, or if I should be using a different approach to instantiate and utilize the stable diffusion 3 model within a C# environment?
Any assistance or updated documentation would be greatly appreciated as I am excited to integrate this model into my project.
Thank you for your time and effort!
Any update on this?
@saddam213 Any update on this?
Also wondering about this
Hey Everyone,
I am currently still working on the StableDiffusion3 and FluxPipline,
This can take a bit of time as I can't create the pipeline until I successfully convert the model to onnx, but I also cant test the model until I have a pipeline, so its a real chicken-egg-chicken situation sometimes
I have now successfully converted these models and do have functioning pipelines however they are not ready to be merged into main as it is still a bit of a mess.
I have been insanely busy at work the past few months, but I can confirm these pipelines will be in the next OnnxStack release, hopefully in the next few weeks.
Thanks Adam
This is awesome news @saddam213 Thank you so much for this project. This helps us .net devs a lot!