Nodes/ComfyUI-sonar/SonarLatentOperationNoise
ComfyUI Node

SonarLatentOperationNoise

Latent operation that allows injecting noise.

By blepping·Created 3 years ago·Updated 4 days ago· 49
SonarLatentOperationNoise
  • custom_noise
  • LATENT_OPERATION
scale_to_sigmafalse
cpu_noisefalse
normalizetrue
lazy_noise_samplertrue
Categorylatent/advanced/operations

Inputs (5)

NameTypeDefaultDescription
custom_noiseSONAR_CUSTOM_NOISE,OCS_NOISEAllows connecting a custom noise chain. The following input types are supported: SONAR_CUSTOM_NOISE, OCS_NOISE
scale_to_sigmaBOOLEANfalseScales the noise to the current sigma.
cpu_noiseBOOLEANfalseControls whether noise is generated on the CPU or GPU. GPU is usually faster but may change seeds for different models of GPU.
normalizeBOOLEANtrueControls whether the generated noise is normalized.
lazy_noise_samplerBOOLEANtrueWhen enabled, the latent operation will attempt to cache the noise sampler between calls and only recreate it when necessary. However, there isn't a 100% reliable way for a latent operation to know when sampling starts/ends so if we get it wrong this will lead to non-deterministic generations. I believe the heuristic I'm using to detect this should be reliable but you can disable it if you notice weird results.

Outputs (1)

NameTypeDescription
LATENT_OPERATIONLATENT_OPERATION