Nodes/comfy-ovum/CUDNN Toggle Ovum
ComfyUI Node

CUDNN Toggle Ovum

Toggle torch.backends.cudnn.enabled ON or OFF. torch.backends.cudnn.benchmark will be set to the same value. To preserve the original state of cudnn, connnect the *prev_cudnn* output of the disabling node, to the *enable_cudnn* input of the enabling node. To ensure correct behavior, connect the *any_input* input and *any_output* output of the node to intercept an *IMAGE* or *LATENT* immediately before and after the node you wish to disable cudnn for. The most common use case is to disable cudnn for VAE Decode and VAE Encode nodes, which can receive up to 2x speedup when running under ZLUDA emulation.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
CUDNN Toggle Ovum
  • any_input
  • any_output
  • prev_cudnn
enable_cudnntrue
Categoryovum

Inputs (2)

NameTypeDefaultDescription
enable_cudnnBOOLEANtrue
any_inputopt*

Outputs (2)

NameTypeDescription
any_output*
prev_cudnnBOOLEAN