Skip to content

Commit 37d9b1e

Browse files
authored
Merge pull request LykosAI#931 from ionite34/backport/main/pr-930
[dev to main] backport: update Jenkinsfile & add StableDiffusion folder to the list for Flux … (930)
2 parents 0d6d519 + 62ca8d8 commit 37d9b1e

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
88
## v2.13.0-pre.2
99
### Added
1010
- Added new package - [ComfyUI-Zluda](https://github.com/patientx/ComfyUI-Zluda) - for AMD GPU users on Windows
11-
- Added OpenModelDB tab to the Model Browser
11+
- Added "StableDiffusion" folder as an option when downloading Flux models in the CivitAI model browser
12+
### Changed
13+
- Updated pytorch index to `rocm6.2` for AMD users of ComfyUI on Linux
1214

1315
## v2.13.0-pre.1
1416
### Added

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ node("Diligence") {
2929
}
3030

3131
stage('Publish Windows') {
32-
sh "dotnet publish ./StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj -c Release -o out -r win-x64 -p:PublishSingleFile=true -p:VersionPrefix=2.0.0 -p:VersionSuffix=${version} -p:IncludeNativeLibrariesForSelfExtract=true"
32+
sh "dotnet publish ./StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj -c Release -o out -r win-x64 -p:PublishSingleFile=true -p:VersionPrefix=2.0.0 -p:VersionSuffix=${version} -p:IncludeNativeLibrariesForSelfExtract=true -p:EnableWindowsTargeting=true"
3333
}
3434

3535
stage('Publish Linux') {

StabilityMatrix.Avalonia/ViewModels/Dialogs/SelectModelVersionViewModel.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,15 @@ var directory in downloadDirectory.EnumerateDirectories(
329329
}
330330
}
331331

332+
if (downloadDirectory.ToString().EndsWith("Unet"))
333+
{
334+
// also add StableDiffusion in case we have an AIO version
335+
var stableDiffusionDirectory = rootModelsDirectory.JoinDir(
336+
SharedFolderType.StableDiffusion.GetStringValue()
337+
);
338+
installLocations.Add(stableDiffusionDirectory.ToString().Replace(rootModelsDirectory, "Models"));
339+
}
340+
332341
installLocations.Add("Custom...");
333342

334343
AvailableInstallLocations = installLocations;

StabilityMatrix.Core/Models/Packages/ComfyUI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public override async Task InstallPackage(
220220
{
221221
TorchIndex.Cpu => "cpu",
222222
TorchIndex.Cuda => "cu124",
223-
TorchIndex.Rocm => "rocm6.1",
223+
TorchIndex.Rocm => "rocm6.2",
224224
TorchIndex.Mps => "cpu",
225225
_
226226
=> throw new ArgumentOutOfRangeException(

0 commit comments

Comments
 (0)