Skip to content

Commit 6aa073d

Browse files
authored
Merge pull request LykosAI#1182 from ionite34/backport/main/pr-1180
[dev to main] backport: Add Wan2GP and misc fixes (1180)
2 parents 47033a3 + dd5ba76 commit 6aa073d

File tree

5 files changed

+426
-2
lines changed

5 files changed

+426
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to Stability Matrix will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html).
77

8+
## v2.15.5
9+
- Added new package - [Wan2GP](https://github.com/deepbeepmeep/Wan2GP)
10+
811
## v2.15.4
912
### Changed
1013
- Updated Early Access indicators in the Civitai Details page to be more visible

StabilityMatrix.Avalonia/ViewModels/Inference/ImageGalleryCardViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ or NotifyCollectionChangedAction.Reset
105105
{
106106
if (sources.Count == 0)
107107
{
108-
SelectedImageIndex = 0;
108+
SelectedImageIndex = -1;
109109
}
110110
else if (SelectedImageIndex == -1)
111111
{
@@ -159,7 +159,7 @@ private async Task FlyoutPreview(IImage? image)
159159
var viewerVm = vmFactory.Get<ImageViewerViewModel>();
160160
viewerVm.ImageSource = new ImageSource((Bitmap)image);
161161

162-
var dialog = new BetterContentDialog { Content = new ImageViewerDialog { DataContext = viewerVm, } };
162+
var dialog = new BetterContentDialog { Content = new ImageViewerDialog { DataContext = viewerVm } };
163163

164164
await dialog.ShowAsync();
165165
}

StabilityMatrix.Core/Helper/Factory/PackageFactory.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,13 @@ public BasePackage GetNewBasePackage(InstalledPackage installedPackage)
236236
prerequisiteHelper,
237237
pyInstallationManager
238238
),
239+
"Wan2GP" => new Wan2GP(
240+
githubApiCache,
241+
settingsManager,
242+
downloadService,
243+
prerequisiteHelper,
244+
pyInstallationManager
245+
),
239246
_ => throw new ArgumentOutOfRangeException(nameof(installedPackage)),
240247
};
241248
}

StabilityMatrix.Core/Models/Packages/ForgeClassic.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ public override async Task InstallPackage(
176176
[
177177
"https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip",
178178
],
179+
PostInstallPipArgs = ["numpy==1.26.4"],
179180
};
180181

181182
await StandardPipInstallProcessAsync(

0 commit comments

Comments
 (0)