Skip to content

Commit f7c1619

Browse files
authored
Refactor CUDNN toggle properties to use Card settings
1 parent eb47868 commit f7c1619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

StabilityMatrix.Avalonia/ViewModels/Inference/Modules/CfzCudnnToggleModule.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ protected override void OnApplyStep(ModuleApplyStepEventArgs e)
4848
Model = null,
4949
Conditioning = null,
5050
Latent = latentConnection, // Pass through the latent from sampler
51-
enable_cudnn = false,
52-
cudnn_benchmark = false,
51+
EnableCudnn = Card.EnableCudnn,
52+
CudnnBenchmark = Card.CudnnBenchmark,
5353
}
5454
);
5555

0 commit comments

Comments
 (0)