diff --git a/StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs index 85892322..d8c35d8d 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs @@ -484,6 +484,12 @@ out var res ) ? res : null; + + if (sampler is null && SelectedSampler is not null && SelectedScheduler is not null) + { + sampler = $"{SelectedSampler?.DisplayName} {SelectedScheduler?.DisplayName}"; + } + return parameters with { Width = Width,