Skip to content

Commit c2f649f

Browse files
authored
Merge pull request #1161 from ionite34/backport/main/pr-1160
[dev to main] backport: Fix comf and inference compat issues, wrong triton on linux, … (1160)
2 parents 4ed952d + 29a5f8a commit c2f649f

File tree

6 files changed

+33
-6
lines changed

6 files changed

+33
-6
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ 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.2
9+
### Changed
10+
- Updated Avalonia to 11.3.7
11+
### Fixed
12+
- Fixed [#1409](https://github.com/LykosAI/StabilityMatrix/issues/1409) - incorrect triton version installed during FramePack install on non-Windows systems
13+
- Fixed [#1410](https://github.com/LykosAI/StabilityMatrix/issues/1410) - crash when resizing Civitai model details page
14+
- Fixed [#1417](https://github.com/LykosAI/StabilityMatrix/issues/1417), [#1419](https://github.com/LykosAI/StabilityMatrix/issues/1419) - unable to connect Inference to ComfyUI after updating to latest ComfyUI
15+
- Fixed missing dependencies for ComfyUI API nodes
16+
### Supporters
17+
#### 🌟 Visionaries
18+
Huge thanks to our incredible Visionaries: **Waterclouds**, **JungleDragon**, **bluepopsicle**, **Bob S**, **Ibixat**, and **whudunit**! You’re the reason Stability Matrix keeps pushing forward. Your support lights the path and keeps the dream alive.
19+
#### 🚀 Pioneers
20+
Shoutout to our amazing Pioneer crew: **Szir777**, **Tigon**, **Noah M**, **USATechDude**, **Thom**, **SeraphOfSalem**, **Desert Viber**, **Tundra Everquill**, **Adam**, **Droolguy**, **Philip R.**, **ACTUALLY_the_Real_Willem_Dafoe**, and **takyamtom**! You help keep the gears turning and the magic flowing.
21+
822
## v2.15.1
923
### Changed
1024
- Upgraded ComfyUI-Zluda and Stable Diffusion WebUI AMDGPU Forge packages to install and use HIP SDK 6.4.2

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</PropertyGroup>
1111

1212
<PropertyGroup>
13-
<AvaloniaVersion>11.3.2</AvaloniaVersion>
13+
<AvaloniaVersion>11.3.7</AvaloniaVersion>
1414
</PropertyGroup>
1515

1616
<PropertyGroup>

StabilityMatrix.Avalonia/Views/CivitDetailsPage.axaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,7 @@
128128
Margin="0,8,0,0"
129129
ItemsSource="{Binding CivitModel.Tags}">
130130
<ItemsRepeater.Layout>
131-
<WrapLayout
132-
HorizontalSpacing="4"
133-
Orientation="Horizontal"
134-
VerticalSpacing="4" />
131+
<StackLayout Orientation="Horizontal" Spacing="4" />
135132
</ItemsRepeater.Layout>
136133
<ItemsRepeater.ItemTemplate>
137134
<DataTemplate>

StabilityMatrix.Core/Models/Api/Comfy/ComfyInputInfo.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,23 @@ public class ComfyInputInfo
1818

1919
// value usually is a [["a", "b"]] array
2020
// but can also be [["a", "b"], {"x": "y"}] array
21+
// or sometimes ["COMBO", {"options": ["a", "b"]}] array
2122

2223
var outerArray = value?.Deserialize<JsonArray>();
2324

25+
if (
26+
outerArray?.Count > 1
27+
&& outerArray.FirstOrDefault() is JsonValue jsonValue
28+
&& jsonValue.ToString().Equals("COMBO")
29+
)
30+
{
31+
var options = outerArray[1]?["options"];
32+
if (options is JsonArray optionsArray)
33+
{
34+
return optionsArray.Deserialize<List<string>>();
35+
}
36+
}
37+
2438
if (outerArray?.FirstOrDefault() is not { } innerNode)
2539
{
2640
return null;

StabilityMatrix.Core/Models/Packages/ComfyUI.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ public override async Task InstallPackage(
363363
RequirementsFilePaths = ["requirements.txt"],
364364
ExtraPipArgs = ["numpy<2"],
365365
SkipTorchInstall = true,
366+
PostInstallPipArgs = ["typing-extensions>=4.15.0"],
366367
};
367368
await StandardPipInstallProcessAsync(
368369
venvRunner,
@@ -415,6 +416,7 @@ _ when gfxArch.StartsWith("gfx120") => "https://rocm.nightlies.amd.com/v2/gfx120
415416
CudaIndex = isLegacyNvidia ? "cu126" : "cu128",
416417
RocmIndex = "rocm6.4",
417418
UpgradePackages = true,
419+
PostInstallPipArgs = ["typing-extensions>=4.15.0"],
418420
};
419421

420422
await StandardPipInstallProcessAsync(

StabilityMatrix.Core/Models/Packages/FramePack.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public override async Task InstallPackage(
108108
var extraArgs = new List<string>();
109109
if (isNewerNvidia)
110110
{
111-
extraArgs.Add("triton-windows");
111+
extraArgs.Add(Compat.IsWindows ? "triton-windows" : "triton");
112112
}
113113

114114
var config = new PipInstallConfig

0 commit comments

Comments
 (0)