Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(stablediffusion-ncn): drop in favor of ggml implementation #4652

Merged
merged 8 commits into from
Jan 22, 2025

Conversation

mudler
Copy link
Owner

@mudler mudler commented Jan 20, 2025

Description

This PR drops the stablediffusion-ncn backend (onnx and opencv based) in favor of the ggml implementation. The ggml implementation is superior (in terms of supported architectures) and also support GPU(CUDA). It also seems to be maintained and offering more models to pick from. When tests passing and the sd3.5 model is working I will change the model gallery entries to redirect to this backend rather than the old one.

This will ease out development of LocalAI even more, we were depending on onnx and opencv in build time specifically for this backend.

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Jan 20, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit f4f0499
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/67911289f9b847000832b857
😎 Deploy Preview https://deploy-preview-4652--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler mudler force-pushed the drop/stablediffusion-ncn branch from 04cea29 to cd37196 Compare January 20, 2025 18:29
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
also increase prep time for downloading models

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler mudler force-pushed the drop/stablediffusion-ncn branch from 5776e8a to f4f0499 Compare January 22, 2025 15:45
@mudler mudler merged commit e15d29a into master Jan 22, 2025
27 checks passed
@mudler mudler deleted the drop/stablediffusion-ncn branch January 22, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant