Files
blepping-ComfyUI-bleh/blehconfig.example.yaml
T
blepping 347e7eee6c August '25 updates (#26)
* Previewer refactors
Support visual previews for ACE-Step
Allow setting dtype for previewer model
Allow scaling q/k/v input and output for Sage

* Start updating docs and example configuration files

* Add slice blend modes

* Rewrite blend mode system.
More blend modes.
Added BlehCFGInitSampler.
Basic Sparge Attention support.
Make samplers a bit more compatible with wrapping wrappers.

* Add probinject and probsubtract_b blend modes
Add BlehLatentAsImage and BlehImageAsLatent nodes

* Add BlehModelPatchFastTerminate node
Update docs/changelog
Add cosinesimilarity blend modes (basically SLERP)

* Remove some dead code
2025-08-09 05:27:34 -06:00

81 lines
3.5 KiB
YAML

# Copy this file to blehconfig.yaml
betterTaesdPreviews:
# If disabled, will use the old ComfyUI previewer.
enabled: true
# Maximum preview size (applies to both height and width).
max_size: 768
# Maximum preview width. If set, will override max_size.
max_width: 768
# Maximum preview height. If set, will override max_size.
max_height: 768
# Maximum batch items to preview.
max_batch: 4
# Maximum columns to use when previewing batches.
max_batch_cols: 2
# Minimum time between updating previews. The default will update the preview at most once per second.
throttle_secs: 1
# Can be set to use a different throttle time when using the fallback previewer
# (anything other than TAESD or TAEVID). If unset or null it will use throttle_secs.
throttle_secs_fallback: null
# When enabled and previewing batches, you will see previews spread across the batch. Otherwise it will be the first max_batch items.
maxed_batch_step_mode: false
# Allows overriding the preview device, for example you could set it to "cpu". Note: Generally should be left
# alone unless you know you need to change it. Previewing on CPU will likely be quite slow.
preview_device: null
# Can be set to override the previewer dtype (which probably defaults to float32).
# You may set it to a specific dtype: float32, float16, bfloat16
# Setting it to "keep" or null just leaves the dtype alone (which is probably float32).
# Setting it to "vae" will use whatever dtype ComfyUI is set to use for VAE.
preview_dtype: null
# Allows skipping upscale layers in the TAESD model, may increase performance when previewing large images or batches.
# May be set to -1 (conservative) or -2 (aggressive) to automatically calculate how many to skip. See README.md for details.
skip_upscale_layers: 0
# Controls whether the previewer model is compiled (using torch.compile). Only works if your
# Torch version and GPU support compiling. This also may cause a delay/memory spike on decoding the first preview.
# This may be a boolean or object with arguments to pass to torch.compile. For example:
# compile_previewer:
# mode: max-autotune
# backend: inductor
compile_previewer: false
# Controls behavior if we run out of memory trying to decode the preview.
# Possible values: none, latent2rgb
oom_fallback: "latent2rgb"
# When enabled, we will try to use the normal previewer on each call
# and only use the fallback if the normal previewer fails.
# When disabled, we use the fallback starting from the first OOM.
oom_retry: true
# List of lowercase latent format names from https://github.com/comfyanonymous/ComfyUI/blob/master/comfy/latent_formats.py
# If the list is empty, this disables the whitelist. Otherwise, Bleh will
# only handle previewing for formats in the list.
whitelist_formats: []
# List of lowercase latent format names (see above).
# Bleh will delegate to the normal previewer for any latent formats in the blacklist.
blacklist_formats: []
# Controls whether video previewing uses parallel mode (faster, requires much more memory).
video_parallel: false
# Maximum frames to include in a preview. -1 means no limit.
# Frame limiting is treated like batch limiting so maxed_batch_step mode, etc will apply here.
video_max_frames: -1
# Number of temporal upscale blocks to run. 2 is the maximum and will fully decode
# the latent into image frames.
video_temporal_upscale_level: 0