Skip to content

Commit 69e1dde

Browse files
committed
Use default struct for CompileBindings & prevent binding errors
1 parent b0e2548 commit 69e1dde

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
1313
- Added Prompt Amplifier to Inference - click the magic wand 🪄 in the prompt editor to expand and enrich your ideas. Tailor the vibe with the ‘Feel’ selector and watch as your generations come to life with extra detail, coherence, and flair!
1414
### Changed
1515
- Updated install for kohya_ss to support RTX 5000-series GPUs
16+
- Performance optimizations for Checkpoint Manager (progress indicators now fully uses Compiled Bindings)
1617
### Fixed
1718
- Fixed Inference ControlNet Preprocessors using incorrect resolution and increased maximum of smallest dimension to 16384
1819
- Fixed Triton/Sage install option showing for incompatible GPUs

StabilityMatrix.Avalonia/ViewModels/CheckpointManager/CheckpointFileViewModel.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
using System;
2-
using System.Collections.Immutable;
1+
using System.Collections.Immutable;
32
using System.ComponentModel;
4-
using System.IO;
5-
using System.Linq;
6-
using System.Threading.Tasks;
73
using Avalonia.Controls.Notifications;
84
using Avalonia.Data;
95
using Avalonia.Threading;
@@ -15,7 +11,6 @@
1511
using StabilityMatrix.Avalonia.Services;
1612
using StabilityMatrix.Avalonia.ViewModels.Base;
1713
using StabilityMatrix.Avalonia.ViewModels.Dialogs;
18-
using StabilityMatrix.Core.Extensions;
1914
using StabilityMatrix.Core.Helper;
2015
using StabilityMatrix.Core.Models;
2116
using StabilityMatrix.Core.Models.Api;
@@ -36,7 +31,7 @@ public partial class CheckpointFileViewModel : SelectableViewModelBase
3631
private string thumbnailUri;
3732

3833
[ObservableProperty]
39-
private ProgressReport? progress;
34+
private ProgressReport progress;
4035

4136
[ObservableProperty]
4237
private bool isLoading;

StabilityMatrix.Avalonia/Views/CheckpointsPage.axaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,6 @@
713713
Grid.RowSpan="2"
714714
Margin="0,48,0,0"
715715
VerticalAlignment="Center"
716-
x:CompileBindings="False"
717716
IsVisible="{Binding IsLoading}"
718717
Text="{Binding Progress.Title}"
719718
TextAlignment="Center"
@@ -728,7 +727,6 @@
728727
Padding="0"
729728
HorizontalAlignment="Center"
730729
VerticalAlignment="Center"
731-
x:CompileBindings="False"
732730
BorderThickness="4"
733731
Foreground="{DynamicResource ThemeRedColor}"
734732
IsEnabled="{Binding IsLoading}"

0 commit comments

Comments
 (0)