Conversation
…o more-python-versions
…hon packages dialog crash when searching too fast?
shoutout chagenlog
shoutout chagenlog
…ckageModificationDialog
…gration on unix & add setting to show all available python versions
add support for more python versions (wip)
…& fix torch index for "legacy" nvidia GPUs
Update GpuInfo parsing to include Compute Capability for nvidia GPUs …
…ector remember the last location used based on model type
New delete dialog and added wan2.2 models to HF page
Actually include Czech language file and maybe actually fix sorting bug
Update facedetailer and finally hook up wildcards thing
…some pip install stuff during package installs, and made the mega-chagenlog
…chagenlog Fixed output browser refresh not loading new categories, streamlined …
Dev to main (2.15)
There was a problem hiding this comment.
Summary of Changes
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!
This pull request delivers a substantial update to Stability Matrix, primarily enhancing the user experience through a redesigned Civitai model details interface and significant improvements to Python environment management. It expands compatibility with new AI packages and refines core functionalities, making the application more robust and user-friendly. The changes aim to streamline workflows, particularly for model management and image generation, while also improving overall stability and accessibility.
Highlights
- Civitai Model Details Overhaul: The Civitai Model Details page has been completely reimagined, transforming from a cramped dialog into a spacious, feature-rich hub. It now offers an expansive full-page layout, rich details at a glance (author, base model, hashes, etc.), an overhauled image viewer with metadata and full-screen support, and integrated inference options for supported models.
- Enhanced Python Environment Management: All Python version management, virtual environment creation, and pip installs now utilize
uvfor significantly improved reliability, compatibility, and speed. New package installations will default to Python 3.12 for ComfyUI, SD.Next, and InvokeAI, and Python 3.10.18 for other packages, with a new Python Version selector for all new installs. - New Package Support: Added support for new packages including AI Toolkit, FramePack, and FramePack Studio, expanding the range of available tools within Stability Matrix.
- Inference Workflow Improvements: Introduced an Inference 'Favorite Dimensions' quick selector, editable in settings, and a setting for Inference dimension step change. Negative Rejection Steering (NRS) by @Reithan has been added to Inference, along with Tiled Encode/Decode options for FaceDetailer.
- Civitai and HuggingFace Integration: Added support for authenticated model downloads in the HuggingFace model browser (requires token in settings). Users can now drag-and-drop Civitai-generated images into Inference to load metadata and search by pasting entire Civitai model URLs into the search bar.
- Quality of Life and Bug Fixes: Implemented the ability to rename packages, added 'Clear Pip Cache' and 'Clear uv Cache' commands, and settings to disable base models from appearing in selectors. Numerous bug fixes address issues such as process tracking errors, improper sorting, git errors, and UI glitches, enhancing overall stability and user experience.
- Localization Expansion: Added Ukrainian and Czech translations, broadening the accessibility of Stability Matrix to more users.
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 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. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.
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
-
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. ↩
There was a problem hiding this comment.
Code Review
This pull request introduces a significant number of new features, improvements, and bug fixes for version 2.15.0. Key changes include the integration of uv for Python environment management, a complete overhaul of the Civitai Model Details page, support for multiple Python versions, and authenticated downloads from HuggingFace. The code quality is high, and the changes are well-implemented. I have one minor suggestion regarding code maintainability.
| // var downloadPath = installedPackagePath.JoinFile("python_libs_for_sage.zip"); | ||
| // var venvDir = installedPackagePath.JoinDir("venv"); | ||
| // await downloadService | ||
| // .DownloadToFileAsync(PythonLibsDownloadUrl, downloadPath, progress) | ||
| // .ConfigureAwait(false); | ||
| // | ||
| // progress?.Report( | ||
| // new ProgressReport(-1f, message: "Extracting Python libraries", isIndeterminate: true) | ||
| // ); | ||
| // await ArchiveHelper.Extract7Z(downloadPath, venvDir, progress); | ||
| // | ||
| // var includeFolder = venvDir.JoinDir("include"); | ||
| // var scriptsIncludeFolder = venvDir.JoinDir("Scripts").JoinDir("include"); | ||
| // await includeFolder.CopyToAsync(scriptsIncludeFolder); | ||
| // | ||
| // await downloadPath.DeleteAsync(); |
Added
Changed
🌟 Civitai Model Details: A Grand Reimagining! 🌟
uvfor improved reliability, compatibility, and speedFixed
Supporters
🌟 Visionaries
To our incredible Visionaries, the architects of our ambition: Your profound support is the powerhouse behind this massive v2.15.0 release. You don't just light the path; you fuel the entire journey, allowing us to build bigger, move faster, and turn bold ideas into reality. Our deepest gratitude to: Waterclouds, Corey T, bluepopsicle, Bob S, Ibixat, whudunit, and TheTekknician! We are immensely grateful for your trust and partnership in shaping the future of Stability Matrix. Thank you for everything!
🚀 Pioneers
A heartfelt salute to our trailblazing Pioneers! Your consistent support helps us navigate the development landscape, ensuring we stay on the right track and can explore new frontiers. A huge thanks to: tankfox, Mr. Unknown, Szir777, Tigon, Noah M, USATechDude, Thom, SeraphOfSalem, and a special welcome to our newest Pioneers - Desert Viber, Tundra Everquill, Adam, and Droolguy! Thank you for being the vanguard of our community!