Skip to content

Commit 3a9984a

Browse files
authored
Invert CUDNN toggle logic in CfzCudnnToggleModule
1 parent 6c8676d commit 3a9984a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected override void OnApplyStep(ModuleApplyStepEventArgs e)
4848
Model = null,
4949
Conditioning = null,
5050
Latent = latentConnection, // Pass through the latent from sampler
51-
EnableCudnn = Card.EnableCudnn,
51+
EnableCudnn = !Card.DisableCudnn,
5252
CudnnBenchmark = Card.CudnnBenchmark,
5353
}
5454
);

0 commit comments

Comments
 (0)