Skip to content

Commit 35f550c

Browse files
authored
Merge pull request #1127 from ionite34/ai-toolkit
Add AI Toolkit and fix a couple a1111/forge bugs
2 parents f3d717c + 9f4b941 commit 35f550c

File tree

21 files changed

+425
-44
lines changed

21 files changed

+425
-44
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,28 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
77

88
## v2.15.0-pre.2
99
### Added
10+
- Added new package - [AI Toolkit](https://github.com/ostris/ai-toolkit/)
1011
- Added Manual Install button for installing Package extensions that aren't in the indexes
1112
- Added Next and Previous buttons to the Civitai details page to navigate between results
1213
- Added Negative Rejection Steering (NRS) by @reithan to Inference
14+
- Added Czech translation thanks to @PEKArt!
1315
### Changed
1416
- Brought back the "size remaining after download" tooltip in the new Civitai details page
1517
- Updated ComfyUI installs for AMD users on Linux to use the latest rocm6.4 torch index
1618
### Fixed
1719
- Fixed Inference custom step (e.g. HiresFix) Samplers potentially sharing state with other card UIs like model browser.
1820
- Fixed extension manager failing to install extensions due to incorrect clone directory
21+
- Fixed duplicate Python versions appearing in the Advanced Options when installing a package
22+
- Fixed [#1254](https://github.com/LykosAI/StabilityMatrix/issues/1254) - Unable to scroll samplers in Inference
23+
- Fixed [#1294](https://github.com/LykosAI/StabilityMatrix/issues/1294) - Improper sorting of output folders in Output Browser
24+
- Fixed [#1300](https://github.com/LykosAI/StabilityMatrix/issues/1300) - Git errors when installing Extension Packs
25+
- Fixed [#1317](https://github.com/LykosAI/StabilityMatrix/issues/1317) - Inference missing GGUF text encoders
26+
- Fixed [#1324](https://github.com/LykosAI/StabilityMatrix/issues/1324) - Window height slightly increasing every launch
27+
- Fixed [#1360](https://github.com/LykosAI/StabilityMatrix/issues/1360) - A1111 install not using correct torch for 5000-series GPUs
28+
- Fixed [#1361](https://github.com/LykosAI/StabilityMatrix/issues/1361) - numpy and other Forge startup
29+
### Supporters
30+
#### 🌟 Visionaries
31+
A huge thank-you to our incredible Visionary-tier supporters: **Waterclouds**, **Corey T**, **bluepopsicle**, **Bob S**, **Ibixat**, **whudunit**, and **Akiro_Senkai**! Your continued support lights the way for Stability Matrix and helps us keep building features like these. We couldn’t do it without you.
1932

2033
## v2.15.0-pre.1
2134
### Added

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ Stability Matrix is now available in the following languages, thanks to our comm
132132
- 🇷🇺 Русский
133133
- aolko
134134
- den1251
135+
- vanja-san
135136
- 🇹🇷 Türkçe
136137
- Progesor
137138
- 🇩🇪 Deutsch
@@ -143,6 +144,10 @@ Stability Matrix is now available in the following languages, thanks to our comm
143144
- thiagojramos
144145
- 🇰🇷 한국어
145146
- maakcode
147+
- 🇺🇦 Українська
148+
- rodtty
149+
- 🇨🇿 Čeština
150+
- PEKArt!
146151

147152
If you would like to contribute a translation, please create an issue or contact us on Discord. Include an email where we'll send an invite to our [POEditor](https://poeditor.com/) project.
148153

StabilityMatrix.Avalonia/Controls/Inference/SamplerCard.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
VerticalAlignment="Center"
3939
IsVisible="{Binding IsSamplerSelectionEnabled}"
4040
Text="{x:Static lang:Resources.Label_Sampler}" />
41-
<ui:FAComboBox
41+
<controls:BetterComboBox
4242
Grid.Row="0"
4343
Grid.Column="2"
4444
Margin="8,0,0,8"
@@ -55,7 +55,7 @@
5555
VerticalAlignment="Center"
5656
IsVisible="{Binding IsSchedulerSelectionEnabled}"
5757
Text="{x:Static lang:Resources.Label_Scheduler}" />
58-
<ui:FAComboBox
58+
<controls:BetterComboBox
5959
Grid.Row="1"
6060
Grid.Column="2"
6161
Margin="8,0,0,8"

StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,22 @@ public async Task RunNpm(
416416
);
417417
}
418418

419+
public AnsiProcess RunNpmDetached(
420+
ProcessArgs args,
421+
string? workingDirectory = null,
422+
Action<ProcessOutput>? onProcessOutput = null,
423+
IReadOnlyDictionary<string, string>? envVars = null
424+
)
425+
{
426+
return ProcessRunner.StartAnsiProcess(
427+
NpmPath,
428+
args,
429+
workingDirectory,
430+
onProcessOutput,
431+
envVars ?? new Dictionary<string, string>()
432+
);
433+
}
434+
419435
[SupportedOSPlatform("Linux")]
420436
[SupportedOSPlatform("macOS")]
421437
public async Task<Process> RunDotnet(

StabilityMatrix.Avalonia/Helpers/WindowsPrerequisiteHelper.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,22 @@ public async Task RunNpm(
192192
onProcessOutput?.Invoke(ProcessOutput.FromStdErrLine(result.StandardError));
193193
}
194194

195+
public AnsiProcess RunNpmDetached(
196+
ProcessArgs args,
197+
string? workingDirectory = null,
198+
Action<ProcessOutput>? onProcessOutput = null,
199+
IReadOnlyDictionary<string, string>? envVars = null
200+
)
201+
{
202+
return ProcessRunner.StartAnsiProcess(
203+
NodeExistsPath,
204+
args,
205+
workingDirectory,
206+
onProcessOutput,
207+
envVars ?? new Dictionary<string, string>()
208+
);
209+
}
210+
195211
public Task InstallPackageRequirements(
196212
BasePackage package,
197213
PyVersion? pyVersion = null,

StabilityMatrix.Avalonia/Languages/Cultures.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public static class Cultures
3434
["pt-BR"] = new CultureInfo("pt-BR"),
3535
["ko-KR"] = new CultureInfo("ko-KR"),
3636
["uk-UA"] = new CultureInfo("uk-UA"),
37+
["cs-CZ"] = new CultureInfo("cs-CZ"),
3738
};
3839

3940
public static IReadOnlyList<CultureInfo> SupportedCultures =>

StabilityMatrix.Avalonia/ViewModels/Dialogs/NewOneClickInstallViewModel.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,15 @@ INotificationService notificationService
9898
AllPackagesCache.AddOrUpdate(packageFactory.GetAllAvailablePackages());
9999
}
100100

101+
public override void OnLoaded()
102+
{
103+
base.OnLoaded();
104+
if (ShownPackages.Count > 0)
105+
return;
106+
107+
ShowIncompatiblePackages = true;
108+
}
109+
101110
[RelayCommand]
102111
private async Task InstallComfyForInference()
103112
{

StabilityMatrix.Avalonia/ViewModels/Dialogs/SelectDataDirectoryViewModel.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public partial class SelectDataDirectoryViewModel : ContentDialogViewModelBase
4646
private string dataDirectory = DefaultInstallLocation;
4747

4848
[ObservableProperty]
49-
private bool isPortableMode = Compat.IsLinux;
49+
private bool isPortableMode;
5050

5151
[ObservableProperty]
5252
private string directoryStatusText = string.Empty;
@@ -73,7 +73,7 @@ public partial class SelectDataDirectoryViewModel : ContentDialogViewModelBase
7373
{
7474
State = ProgressState.Inactive,
7575
SuccessToolTipText = ValidExistingDirectoryText,
76-
FailToolTipText = InvalidDirectoryText
76+
FailToolTipText = InvalidDirectoryText,
7777
};
7878

7979
public SelectDataDirectoryViewModel(ISettingsManager settingsManager)
@@ -85,6 +85,7 @@ public SelectDataDirectoryViewModel(ISettingsManager settingsManager)
8585
public override void OnLoaded()
8686
{
8787
ValidatorRefreshBadge.RefreshCommand.ExecuteAsync(null).SafeFireAndForget();
88+
IsPortableMode = true;
8889
}
8990

9091
// Revalidate on data directory change

StabilityMatrix.Avalonia/ViewModels/MainWindowViewModel.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ public partial class MainWindowViewModel : ViewModelBase
7373
public UpdateViewModel UpdateViewModel { get; init; }
7474

7575
public double PaneWidth =>
76-
Cultures.Current switch
76+
(Compat.IsWindows ? 0 : 20)
77+
+ Cultures.Current switch
7778
{
7879
{ Name: "it-IT" } => 250,
7980
{ Name: "fr-FR" } => 250,
@@ -84,6 +85,7 @@ public partial class MainWindowViewModel : ViewModelBase
8485
{ Name: "pt-PT" } => 300,
8586
{ Name: "pt-BR" } => 260,
8687
{ Name: "ko-KR" } => 235,
88+
{ Name: "cs-CZ" } => 250,
8789
_ => 200,
8890
};
8991

StabilityMatrix.Avalonia/ViewModels/OutputsPageViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ IServiceManager<ViewModelBase> vmFactory
160160
categoriesCache
161161
.Connect()
162162
.DeferUntilLoaded()
163-
.Bind(Categories)
163+
.SortAndBind(Categories, SortExpressionComparer<TreeViewDirectory>.Ascending(d => d.Name))
164164
.ObserveOn(SynchronizationContext.Current)
165165
.Subscribe();
166166

0 commit comments

Comments
 (0)