Skip to content

v2.14.0#1224

Merged
mohnjiles merged 430 commits intomainfrom
main
Apr 24, 2025
Merged

v2.14.0#1224
mohnjiles merged 430 commits intomainfrom
main

Conversation

@mohnjiles
Copy link
Copy Markdown
Contributor

Added

New Packages & Integrations

Inference Features

  • Added Prompt Amplifier to Inference - click the magic wand 🪄 in the prompt editor to expand and enrich your ideas. Tailor the vibe with the ‘Feel’ selector and watch as your generations come to life with extra detail, coherence, and flair!
  • Added support for HiDream in Inference - see ComfyUI Examples for more details
  • Added toggle for filtering Inference Extra Networks by base model
  • Added Rescale CFG addon to Inference
  • Added Swap Dimensions button between the width/height input in Inference
  • Added Ctrl+Tab/Ctrl+Shift+Tab shortcuts for navigating between Inference tabs
  • Added Align Your Steps scheduler to Inference
  • Added wildcards to Inference prompts, e.g. {blue|green|red} will randomly select one of the colors
  • Added Wan 2.1 Text to Video and Text to Image project types for Inference
  • Added new autocomplete tag source to Inference - Danbooru/e621 merged tags
  • Added Abstract Syntax Tree (AST) parsing for Inference prompts. This provides a more robust internal understanding of prompt structure, paving the way for future enhancements.
  • Added hotkey (Ctrl+Up/Ctrl+Down) in Inference prompt editors to adjust the weight emphasis of the token under the caret or the currently selected text.
    • This automatically wraps the token/selection in parentheses () if it's not already weighted.
    • It modifies existing weights within parentheses or adds weights if none exist (e.g. (word:1.1)).
    • Handles selection spanning multiple tokens intelligently.
  • Added Plasma Noise addon to Inference for text to image workflows

Model Management & Discovery

  • Added Accelerated Model Discovery (Beta) (⚡ icon in Civitai Browser) for Insider+ supporters. Utilizes an optimized connection for dramatically faster, more responsive browsing of online model repositories.
  • Added OpenModelDB tab to the Model Browser
  • Added Wan 2.1 files to the HuggingFace model browser

User Interface & Experience (UI/UX)

  • Added Undo/Redo commands to text editor context menus

Internal / Developer Changes

  • (Internal) Introduced unified strategy pattern (IConfigSharingStrategy) to for handling different config file formats (JSON, YAML, FDS).
    • Added support for configuring nested paths in JSON and YAML files (e.g. paths.models.vae) via dot-notation in SharedFolderLayoutRule.ConfigDocumentPaths.
    • Packages can now use the SharedFolderLayout property to define a ConfigFileType and ConfigSharingOptions (like RootKey), without needing to implement custom configuration logic.

Changed

Inference Features

  • Improved the quality of Inference inpainting by upgrading the workflow behind the scenes. The workflow remains the same for you — just better results!
  • FaceDetailers in Inference will now inherit the primary sampler/scheduler/etc. by default. You can still manually set these by enabling the options via the ⚙️ button on the FaceDetailer card
  • Slightly rearranged the FaceDetailer card layout due to the above change
  • Inference "Extra Networks" selector now filters extra networks based on the selected base model
  • Merged Inference GGUF workflows into the UNet model loader option (no longer need to choose GGUF separately)

Model Management & Discovery

  • Changed the names of some of the shared model folders to better reflect their contents
  • Improved Checkpoint Manager memory usage (thanks to @firegeek for the profiling assistance!)
  • Performance optimizations for Checkpoint Manager (progress indicators now fully uses Compiled Bindings)

Package Management & Compatibility

  • Upgraded HIP SDK installs to 6.2.4 for ComfyUI-Zluda and AMDGPU-Forge
  • Updated install for kohya_ss to support RTX 5000-series GPUs

User Interface & Experience (UI/UX)

  • Improved window state handling
  • Updated some date strings to take into account the user's locale

Localization

  • Updated Japanese, Brazilian Portuguese, Chinese, and Russian translations

Internal / Developer Changes

  • (Internal) Upgraded FluentAvalonia to 2.3.0
  • (Internal) Refactored configuration-based shared folder logic: Centralized handling into SharedFoldersConfigHelper and format-specific strategies, removing custom file I/O logic from individual package classes for improved consistency and maintainability.
    • Migrated packages ComfyUI (incl. Zluda), VladAutomatic (SD.Next), Sdfx, and StableSwarm to use the unified system for configuration and symlink based sharing.

Fixed

Installation, Compatibility & Core Functionality

  • Fixed RTX 5000-series GPU detection in certain cases
  • Fixed Package Updates and Change Version not using stored PyTorch index and instead using the default recommended index.
  • Fixed ComfyUI-Zluda not being recognized as an option for Inference or SwarmUI (for real this time)
  • Fixed errors from invalid pip specifiers in requirements files

User Interface & Experience (UI/UX)

  • Fixed Image Viewer animation loader keeping file handles open, which resolves 2 different issues (OSes are fun):
    • (macOS) Fixed FileNotFoundException crash when navigating to Inference tab after deleting a Webp animation file previously opened in the Image Viewer Dialog.
    • (Windows) Fixed Webp animation files unable to be deleted without closing the app first.
  • Fixed Image Viewer FileNotFoundException on fetching image size, if navigating to a deleted image file.
  • (macOS) Fixed Webp / Gif animations RGB colors flipped.
  • Fixed window disappearing on macOS when the saved window size is very small
  • Fixed large white boxes appearing when tooltips are visible on macOS/Linux
  • Fixed package images sometimes showing as blank due to concurrent image caching. Requests to same image resources are now de-duplicated
  • Reduced memory usage from ShowDisabledTooltipExtension

Inference & Workflows

  • Fixed some cases of missing custom nodes in SwarmUI
  • Fixed Inference ControlNet Preprocessors using incorrect resolution and increased maximum of smallest dimension to 16384
  • Fixed Inference Extra Networks card not allowing for more than one model at a time

Model Management & Discovery

  • Fixed missing base model options in the Metadata Editor
  • Fixed some crashes when using Accelerated Model Discovery

Supporters

Visionaries

Our heartfelt gratitude goes out to our amazing Visionary-tier Patrons: Waterclouds, Corey T, bluepopsicle, Bob S, Akiro_Senkai, and Ibixat! Your exceptional support is fundamental to the ongoing development and success of Stability Matrix. We are immensely grateful for your partnership and belief in the project! 🙏

Pioneers

We also want to give a huge thank you to our dedicated Pioneer-tier Patrons: tankfox, Mr. Unknown, Szir777, Tigon, NowFallenAngel, Al Gorithm, and welcome to our newest Pioneer, Noah M.! Your consistent support and enthusiasm keep the momentum going. Thank you all for being such an important part of our community! ✨

mohnjiles and others added 30 commits February 1, 2025 17:44
Fix models with same name overwriting each other on download & update…
…ions

fix install location path combining
Add blackwell torch/vision versions for comfyUI & fix unet path for l…
Fix crash when symlink target doesn't exist & fix width of package names
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
mohnjiles and others added 25 commits April 17, 2025 20:37
…AML files

Reduced memory usage from excessive GetVisualDescendant calls previously
Fix Extra Networks card duplicating Loras and updated RecommendedModels to use v2 endpoint
# Conflicts:
#	CHANGELOG.md
Fix some index out of range errors & format dates by culture
Add option to disable filtering of extra networks & add HiDream suppo…
# Conflicts:
#	CHANGELOG.md
…earrange some difficulties & fix some api cache thing
Update torch index for final/release/public/whatever cu128 branch & r…
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @mohnjiles, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request updates the Stability Matrix to version v2.14.0, incorporating a wide array of new features, changes, and fixes across various modules. Key additions include new packages and integrations, inference enhancements, model management improvements, UI/UX updates, and internal/developer changes. The update also addresses several bug fixes related to installation, compatibility, UI, inference, and model management. The changelog provides a detailed breakdown of each modification.

Highlights

  • New Packages & Integrations: Adds support for Stable Diffusion WebUI AMDGPU Forge and Stable Diffusion WebUI Forge - Classic, along with a new Package Command for installing Triton & SageAttention in ComfyUI.
  • Inference Features: Introduces Prompt Amplifier, HiDream support, filtering Inference Extra Networks by base model, Rescale CFG addon, Swap Dimensions button, navigation shortcuts, Align Your Steps scheduler, wildcards in prompts, Wan 2.1 project types, Danbooru/e621 autocomplete tags, AST parsing for prompts, hotkey for weight emphasis, and Plasma Noise addon.
  • Model Management & Discovery: Adds Accelerated Model Discovery (Beta) for Insider+ supporters, OpenModelDB tab to the Model Browser, and Wan 2.1 files to the HuggingFace model browser.
  • User Interface & Experience (UI/UX): Implements Undo/Redo commands to text editor context menus and improves window state handling.
  • Internal / Developer Changes: Introduces a unified strategy pattern for handling config files and refactors configuration-based shared folder logic for improved consistency and maintainability.
  • Avalonia.Gif Updates: Updates the Avalonia.Gif library to fix color flipping issues on macOS and improve file handling, including adding exception handling and platform-specific pixel format adjustments. This resolves issues with animation loading and file deletion.

Changelog

Click here to see the changelog
  • .aiexclude
    • Adds several files and directories to the AI exclusion list, including documentation, legacy files, tests, miscellaneous projects, vendored libraries, configurations, and assets.
  • .config/dotnet-tools.json
    • Updates the version of the 'husky' dotnet tool from 0.6.0 to 0.7.2.
  • .husky/task-runner.json
    • Adds a new task to run refitter for PromptGenApi, generating the OpenAPI specification.
  • Avalonia.Gif/GifImage.cs
    • Updates property registrations for clarity and adds exception handling during GIF instance updates to prevent crashes.
  • Avalonia.Gif/GifInstance.cs
    • Adds SkiaSharp namespace and adjusts pixel format based on the operating system to resolve color issues.
  • Avalonia.Gif/WebpInstance.cs
    • Adjusts pixel format based on the operating system and modifies stream handling for local files to use MemoryStream, fixing color issues and file access problems.
  • CHANGELOG.md
    • Adds detailed changelog entries for version v2.14.0, including added, changed, and fixed sections with specific feature descriptions and issue resolutions.
  • Directory.Build.props
    • Adds <WarningsAsErrors>CS0108</WarningsAsErrors> to treat warnings as errors during the build process.
  • Directory.Packages.props
    • Adds several new package versions, including Apizr-related packages, and updates FluentAvaloniaUI to version 2.3.0.
  • README.md
    • Adds a reference to the AMDGPU Forge WebUI and updates the list of supported Stable Diffusion Web UI packages.
  • StabilityMatrix.Avalonia/App.axaml
    • Adds a namespace for styles and includes new resource dictionaries and styles related to control themes and inference features.
  • StabilityMatrix.Avalonia/App.axaml.cs
    • Adds Apizr and Apizr.Logging, configures API base URLs, configures HTTP policies for retries, adds Refit clients for LykosModelDiscoveryApi, PyPiApi, RecommendedModelsApi, PromptGenApi, and LykosAnalyticsApi, configures Apizr clients for OpenModelDBApi, configures logging, and disables trace logging for specific types.
  • StabilityMatrix.Avalonia/Assets.cs
    • Adds a new remote resource for Danbooru/e621 merged tags.
  • StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json
    • Adds wildcard support to the ImagePrompt TextMate grammar for enhanced prompt parsing.
  • StabilityMatrix.Avalonia/Assets/hf-packages.json
    • Adds new models for DiffusersClipVision, Clip, and Unet, including Wan 2.1 and HiDream models, and updates model names.
  • StabilityMatrix.Avalonia/Behaviors/TextEditorCompletionBehavior.cs
    • Removes the IsEnabled property and simplifies logging in the TextEditorCompletionBehavior.
  • StabilityMatrix.Avalonia/Behaviors/TextEditorToolTipBehavior.cs
    • Removes the IsEnabled property from TextEditorToolTipBehavior.
  • StabilityMatrix.Avalonia/Behaviors/TextEditorWeightAdjustmentBehavior.cs
    • Adds a new behavior to adjust token weights in a TextEditor using Ctrl+Up/Down hotkeys, including AST parsing and text replacement logic.
  • StabilityMatrix.Avalonia/Behaviors/TextEditorWeightAdjustmentBehavior.cs, StabilityMatrix.Avalonia/Behaviors/TextEditorCompletionBehavior.cs, StabilityMatrix.Avalonia/Behaviors/TextEditorToolTipBehavior.cs
    • Adds new behavior for adjusting text editor weight, and removes IsEnabled property from TextEditorCompletionBehavior and TextEditorToolTipBehavior.
  • StabilityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs
    • Updates the base class to TemplatedControlBase and adds various improvements to zoom handling, image rendering, and property management.
  • StabilityMatrix.Avalonia/Controls/BetterComboBox.cs
    • Removes SelectionBoxItemTemplate property.
  • StabilityMatrix.Avalonia/Controls/BetterDownloadableComboBox.cs
    • Updates the type of vmFactory to IServiceManager.
  • StabilityMatrix.Avalonia/Controls/CodeCompletion/CompletionList.cs
    • Updates the base class to TemplatedControlBase.
  • StabilityMatrix.Avalonia/Controls/Dock/DockUserControlBase.cs
    • Adds initial dock state saving and restoration logic.
  • StabilityMatrix.Avalonia/Controls/EditorCommands.cs
    • Adds UndoCommand and RedoCommand for text editors.
  • StabilityMatrix.Avalonia/Controls/EditorFlyouts.axaml
    • Adds Undo and Redo menu items to the text editor context menu.
  • StabilityMatrix.Avalonia/Controls/FADownloadableComboBox.cs
    • Updates the type of vmFactory to IServiceManager.
  • StabilityMatrix.Avalonia/Controls/GitVersionSelector.axaml.cs
    • Updates the base class to TemplatedControlBase.
  • StabilityMatrix.Avalonia/Controls/ImageLoaders.cs
    • Adds a new image cache for OpenModelDB images with specific caching options and HTTP headers.
  • *StabilityMatrix.Avalonia/Controls/Inference/Card.axaml.cs
    • Updates the base class to TemplatedControlBase in various inference card view models.
  • StabilityMatrix.Avalonia/Controls/Inference/ExtraNetworkCard.axaml
    • Binds ItemsSource to LoraModels instead of ClientManager.LoraModels.
  • StabilityMatrix.Avalonia/Controls/TemplatedControlBase.cs
    • Introduces a new base class for templated controls with property change notification support.
  • StabilityMatrix.Avalonia/Models/AdvancedObservableList.cs
    • Updates the namespace and adds a reference to ViewModels.Base.
  • StabilityMatrix.Avalonia/Models/AvaloniaResource.cs
    • Adds a method to read the resource as a string asynchronously.
  • StabilityMatrix.Avalonia/Models/HuggingFace/HuggingFaceModelType.cs
    • Updates enum values and descriptions for HuggingFaceModelType.
  • StabilityMatrix.Avalonia/Models/Inference/*
    • Adds new enums and updates properties for inference models.
  • StabilityMatrix.Avalonia/Models/TagCompletion/CompletionProvider.cs
    • Updates the default tag source file and adds a check for the new default file.
  • *StabilityMatrix.Avalonia/Services/ServiceManager.cs
    • Updates the service manager to support scoped service registration and retrieval.
  • StabilityMatrix.Avalonia/Services/AccountsService.cs
    • Adds a method to check for stored Lykos accounts and a method to refresh Lykos accounts.
  • StabilityMatrix.Avalonia/Services/ConnectedServiceManager.cs
    • Adds a service to manage connected services, including prompting for Lykos login and enabling CivitUseDiscoveryApi.
  • *StabilityMatrix.Avalonia/ViewModels/Base/ViewModelBase.cs
    • Updates base view models to inherit from DisposableViewModelBase.
  • *StabilityMatrix.Avalonia/ViewModels/CheckpointBrowser/ViewModel.cs
    • Updates view models to use IServiceManager and adds new properties and commands for OpenModelDB integration.
  • *StabilityMatrix.Avalonia/ViewModels/Dialogs/ViewModel.cs
    • Updates dialog view models to use IServiceManager and adds new view models for OpenModelDB and sponsorship prompts.
  • *StabilityMatrix.Avalonia/ViewModels/Inference/ViewModel.cs
    • Updates view models to use IServiceManager and adds new properties and methods for inference features.
  • *StabilityMatrix.Avalonia/Views/Dialogs/Dialog.axaml.cs
    • Updates dialog views to use the new base class.
  • *StabilityMatrix.Avalonia/Views/Inference/View.axaml
    • Updates inference views to use the new dock layout and adds new controls for inference features.
  • StabilityMatrix.Avalonia/Views/OpenModelDbBrowserPage.axaml.cs
    • Updates the base class for the OpenModelDbBrowserPage.
  • StabilityMatrix.Avalonia/Views/SettingsPage.axaml.cs
    • Updates the base class for the SettingsPage.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@mohnjiles mohnjiles merged commit 304a2b0 into LykosAI:main Apr 24, 2025
2 of 3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants