2024-01-28 06:17:05 -07:00
2024-01-28 06:17:05 -07:00
2024-01-28 06:17:05 -07:00
2024-01-27 13:16:20 -07:00
2024-01-27 13:16:20 -07:00
2024-01-27 12:38:06 -07:00
2024-01-28 06:17:05 -07:00
2024-01-28 06:17:05 -07:00

BLEH

ComfyUI nodes collection... eventually.

Features

  1. Better TAESD previews (see below)
  2. Allow setting seed and timestep range for HyperTile (look for the BlehHyperTile node)

Configuration

Copy blehconfig.json.example to blehconfig.json in the node repo directory and edit the copy.

Restart ComfyUI to apply new changes.

Better TAESD previews

  • Supports setting max preview size (ComfyUI default is hardcoded to 512 max).
  • Supports showing previews for more than the first latent in the batch.
  • Supports throttling previews. Do you really need your expensive TAESD preview to get updated 3 times a second?
  • Supports using CUDA streams to avoid waiting for a synchronize. Increases speed slightly at the cost of higher VRAM usage. For comparison, a batch of 8 768x768 images with throttle at 0.5 sec is 1.29s/it with it on and 1.42s/it with it off for me.

Current defaults from blehconfig.json

Key Default Description
enabled true Toggles whether enhanced TAESD previews are enabled
max_size 768 Max width or height for previews. Note this does not affect TAESD decoding, just the preview image
max_batch 4 Max number of latents in a batch to preview
max_batch_cols 2 Max number of columns to use when previewing batches
throttle_secs 1 Max frequency to decode the latents for previewing. 0.25 would be every 1/4 sec, 2 would be only once every two seconds
use_cuda false Use special logic for CUDA (and maybe pretend-CUDA like ROCM) to reduce the performance impact of preview generation

I would recommend setting throttle_secs to something relatively high like 5-10 sec especially if you are generating batches at high resolution. use_cuda now defaults to false as it can substantially increase VRAM requirements.

BlehHyperTile

Adds the ability to set a seed and timestep range that HyperTile gets applied for. Not well tested, and I just assumed the Inspire version works which may or may not be the case.

Note: Timesteps start from 999 and count down to 0 and also are not necessarily linear. Exactly what sampling step a timestep applies to is left as an exercise for you, dear node user.

HyperTile credits:

The node was originally taken by Comfy from taken from: https://github.com/tfernd/HyperTile/

Then the Inspire node pack took it from the base ComfyUI node: https://github.com/ltdrdata/ComfyUI-Inspire-Pack

Then I took it from the Inspire node pack. The original license was MIT so I assume yoinking it into this repo is probably okay.

S
Description
No description provided
Readme Apache-2.0
684 KiB
Languages
Python 100%