-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
feat(importers): Add diffuser backend importer with ginkgo tests and UI support #7316
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
Conversation
✅ Deploy Preview for localai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
|
@copilot add the new preferences to the common preferences of the model-editor import section |
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
Added diffuser preferences to the model-editor import section in commit d6464fa. The following fields now appear when "diffusers" backend is selected:
All fields integrate with the existing preferences system and are passed to the DiffuserImporter. |
|
@copilot be consistent and use yaml/v3 |
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
Updated to use Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|

Description
Adds importer for diffuser backend models following existing importer patterns (llama-cpp, mlx, vllm, transformers), including UI support in the model editor.
Implementation
diffuser.go: ImplementsDiffuserImportermatching models via:backend: "diffusers"preferencemodel_index.json,scheduler/scheduler_config.jsongopkg.in/yaml.v3for consistency with the main importers modulediffuser_test.go: 18 ginkgo tests covering match/import logic and preferencesimporters.go: RegisteredDiffuserImporterindefaultImportersmodel-editor.html: Added diffuser preferences to model editor UI:Configuration Output
Supports preference overrides:
pipeline_type,scheduler_type,cuda,enable_parameters. Defaults toStableDiffusionPipelinewith standard parameters.UI Changes
The model editor now provides a user-friendly interface for configuring diffuser models with backend-specific options that appear dynamically when "diffusers" is selected.
Notes for Reviewers
18 new tests added (88 total). 3 pre-existing test failures in LlamaCPPImporter unrelated to changes.
Signed commits
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.