Nodes Browser

ComfyDeploy: How comfyui_ab_sampler works in ComfyUI?

What is comfyui_ab_sampler?

Experimental sampler node. Sampling alternates between A and B inputs until only one remains, starting with A. B steps run over a 2x2 grid, where 3/4's of the grid are copies of the original input latent. When the optional mask is used, the region outside the defined roi is copied from the original latent at the end of every step.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for comfyui_ab_sampler and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

comfyui_ab_sampler

Experimental sampler node.

Sampling alternates between A and B inputs until only one remains, starting with A.

B steps run over a 2x2 grid, where 3/4's of the grid are copies of the original input latent.

When the optional mask is used, the region outside the defined roi is copied from the original latent at the end of every step.

Disclaimer: its applications should be rather niche and there are likely better alternative approaches.