Skip to content

Commit 0af6218

Browse files
committed
Merge pull request LykosAI#982 from ionite34/fix-model-download-locations
fix install location path combining (cherry picked from commit c4c5a7d) # Conflicts: # CHANGELOG.md
1 parent 3580b25 commit 0af6218

File tree

3 files changed

+74
-5
lines changed

3 files changed

+74
-5
lines changed

CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,75 @@ 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+
<<<<<<< HEAD
9+
=======
10+
## v2.14.0-dev.3
11+
### Changed
12+
- Upgraded ComfyUI CUDA torch to 12.6
13+
### Fixed
14+
- Fixed [#1128](https://github.com/LykosAI/StabilityMatrix/issues/1128) - overwriting models when downloading multiple with the same name
15+
- Fixed ROCm torch indexes for ComfyUI & Forge
16+
- Fixed model browser sometimes downloading to `ModelsLora` or `ModelsStableDiffusion` folders instead of the correct folder
17+
18+
## v2.14.0-dev.2
19+
### Added
20+
- Added Align Your Steps scheduler to Inference
21+
- Added wildcards to Inference prompts, e.g. `{blue|green|red}` will randomly select one of the colors
22+
- Added Safetensor Metadata viewer to the Checkpoint Manager context menu - thanks to @genteure!
23+
### Changed
24+
- Updated the Civitai Model Browser base model selector to match the new Checkpoint Manager filter UI
25+
- 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
26+
- Slightly rearranged the FaceDetailer card layout due to the above change
27+
- "Remove symbolic links on shutdown" option now also removes links from Output Sharing
28+
- Inference "Extra Networks" selector now filters extra networks based on the selected base model
29+
- Updated Japanese, Brazilian Portuguese, Chinese, and Russian translations
30+
### Fixed
31+
- Fixed crash when dragging & dropping images in Inference (hopefully)
32+
- Fixed HiresFix Inference addon not inheriting sampler/scheduler properly
33+
- Fixed some plus (+) buttons getting cut off in the Inference UI
34+
- Fixed CFG Rescale addon interfering with refiner model in Inference
35+
- Fixed [#1083](https://github.com/LykosAI/StabilityMatrix/issues/1083) - "Show Nested Models" incorrectly displaying models from some non-nested folders
36+
- Fixed issue with InvokeAI model sharing when the host address is set to 0.0.0.0
37+
- Fixed issue when parsing index URLs in Python Dependencies Override menu
38+
- Fixed ComfyUI-Zluda not respecting pip user overrides
39+
- Fixed issue with Checkpoint Manager not displaying any models
40+
- (dev.2 re-release) Fixed autocomplete not showing in certain cases when using wildcards
41+
- (dev.2 re-release) Fixed package restart button not working
42+
- (dev.2 re-release) Fixed [#1120](https://github.com/LykosAI/StabilityMatrix/issues/1120) - crash when right clicking in the console after restarting a package
43+
### Supporters
44+
#### Visionaries
45+
- A huge thank you to our incredible Visionary-tier Patreon supporters, **Waterclouds**, **TheTekknician**, and our newest Visionary, **Corey**! Your generous support is greatly appreciated!
46+
47+
## v2.14.0-dev.1
48+
### Added
49+
- Added Rescale CFG addon to Inference
50+
- Added Swap Dimensions button between the width/height input in Inference
51+
- Added Ctrl+Tab/Ctrl+Shift+Tab shortcuts for navigating between Inference tabs
52+
- Added OpenModelDB tab to the Model Browser
53+
### Changed
54+
- Improved the quality of Inference inpainting by upgrading the workflow behind the scenes. The workflow remains the same for you — just better results!
55+
- Redesigned the Checkpoint Manager Filter flyout to include more options and improve the layout
56+
- "Clear All" button will now remain at the top of the Downloads list regardless of scroll position - thanks to @Genteure!
57+
- Improved image metadata parsing - thanks to @Genteure!
58+
### Fixed
59+
- Fixed Inference image selector card buttons taking up the whole height of the card
60+
- Fixed Inference mask editor failing to paint to the right-most edge on large images
61+
- Fixed Inference mask editor not showing the entire image in certain circumstances
62+
- Fixed an issue where certain sampler/scheduler combos would not get saved in image metadata - thanks to @yansigit!
63+
- Fixed [#1078](https://github.com/LykosAI/StabilityMatrix/issues/1078) - "Call from invalid thread" error after one-click install finishes
64+
- Fixed [#1080](https://github.com/LykosAI/StabilityMatrix/issues/1080) - Some models not displayed in Checkpoint Manager
65+
### Supporters
66+
#### Visionaries
67+
- Many thanks to our incredible Visionary-tier Patreon supporters, **Waterclouds** and **TheTekknician**! Your support helps us continue to improve Stability Matrix!
68+
69+
>>>>>>> c4c5a7de (Merge pull request #982 from ionite34/fix-model-download-locations)
870
## v2.13.4
971
### Changed
1072
- Upgraded ComfyUI CUDA torch to 12.6
1173
### Fixed
1274
- Fixed [#1128](https://github.com/LykosAI/StabilityMatrix/issues/1128) - overwriting models when downloading multiple with the same name
1375
- Fixed ROCm torch indexes for ComfyUI & Forge
76+
- Fixed model browser sometimes downloading to `ModelsLora` or `ModelsStableDiffusion` folders instead of the correct folder
1477

1578
## v2.13.3
1679
### Changed

StabilityMatrix.Avalonia/ViewModels/Dialogs/SelectModelVersionViewModel.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,15 +317,19 @@ private void LoadInstallLocations()
317317

318318
if (!downloadDirectory.ToString().EndsWith("Unknown"))
319319
{
320-
installLocations.Add(downloadDirectory.ToString().Replace(rootModelsDirectory, "Models"));
320+
installLocations.Add(
321+
Path.Combine("Models", Path.GetRelativePath(rootModelsDirectory, downloadDirectory))
322+
);
321323
foreach (
322324
var directory in downloadDirectory.EnumerateDirectories(
323325
"*",
324326
EnumerationOptionConstants.AllDirectories
325327
)
326328
)
327329
{
328-
installLocations.Add(directory.ToString().Replace(rootModelsDirectory, "Models"));
330+
installLocations.Add(
331+
Path.Combine("Models", Path.GetRelativePath(rootModelsDirectory, directory))
332+
);
329333
}
330334
}
331335

@@ -335,7 +339,9 @@ var directory in downloadDirectory.EnumerateDirectories(
335339
var stableDiffusionDirectory = rootModelsDirectory.JoinDir(
336340
SharedFolderType.StableDiffusion.GetStringValue()
337341
);
338-
installLocations.Add(stableDiffusionDirectory.ToString().Replace(rootModelsDirectory, "Models"));
342+
installLocations.Add(
343+
Path.Combine("Models", Path.GetRelativePath(rootModelsDirectory, stableDiffusionDirectory))
344+
);
339345
}
340346

341347
installLocations.Add("Custom...");

StabilityMatrix.Core/Models/Packages/FluxGym.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ public override async Task InstallPackage(
8989
// check if sd-scripts is already installed - if so: pull, else: clone
9090
if (Directory.Exists(Path.Combine(installLocation, "sd-scripts")))
9191
{
92-
await prerequisiteHelper
92+
await PrerequisiteHelper
9393
.RunGit(["pull"], onConsoleOutput, Path.Combine(installLocation, "sd-scripts"))
9494
.ConfigureAwait(false);
9595
}
9696
else
9797
{
98-
await prerequisiteHelper
98+
await PrerequisiteHelper
9999
.RunGit(
100100
["clone", "-b", "sd3", "https://github.com/kohya-ss/sd-scripts"],
101101
onConsoleOutput,

0 commit comments

Comments
 (0)