ComfyUI  >  Nodes  >  ComfyUI Impact Pack >  TiledKSamplerProvider

ComfyUI Node: TiledKSamplerProvider

Class Name

TiledKSamplerProvider

Category
ImpactPack/Sampler
Author
Dr.Lt.Data (Account age: 458 days)
Extension
ComfyUI Impact Pack
Latest Updated
6/19/2024
Github Stars
1.4K

How to Install ComfyUI Impact Pack

Install this extension via the ComfyUI Manager by searching for  ComfyUI Impact Pack
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Impact Pack in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

TiledKSamplerProvider Description

Enhances image sampling with tiled division for improved quality and performance.

TiledKSamplerProvider:

The TiledKSamplerProvider is a specialized node designed to enhance the sampling process by dividing the image into smaller tiles. This approach allows for more efficient and detailed sampling, especially useful for high-resolution images. By breaking down the image into manageable sections, the node ensures that each tile is processed with optimal settings, leading to improved overall quality and performance. This method is particularly beneficial for AI artists looking to generate high-quality images without overwhelming their system's resources. The TiledKSamplerProvider leverages advanced sampling techniques and customizable parameters to provide a flexible and powerful tool for image generation.

TiledKSamplerProvider Input Parameters:

seed

The seed parameter is an integer that initializes the random number generator used in the sampling process. It ensures reproducibility of results, meaning that using the same seed will produce the same output. The value ranges from 0 to 0xffffffffffffffff, with a default of 0.

steps

The steps parameter defines the number of sampling steps to be performed. More steps generally lead to higher quality images but require more processing time. The value ranges from 1 to 10000, with a default of 20.

cfg

The cfg (Classifier-Free Guidance) parameter is a float that controls the strength of the guidance during sampling. Higher values result in images that more closely follow the provided conditioning. The value ranges from 0.0 to 100.0, with a default of 8.0.

sampler_name

The sampler_name parameter specifies the sampling algorithm to be used. It is selected from a predefined list of samplers provided by comfy.samplers.KSampler.SAMPLERS.

scheduler

The scheduler parameter determines the scheduling strategy for the sampling process. It is selected from a predefined list of schedulers provided by comfy.samplers.KSampler.SCHEDULERS.

denoise

The denoise parameter is a float that controls the amount of denoising applied during the sampling process. Higher values result in smoother images. The value ranges from 0.0 to 1.0, with a default of 1.0 and a step of 0.01.

tile_width

The tile_width parameter specifies the width of each tile in pixels. It allows for customization of the tile size to balance between detail and performance. The value ranges from 320 to MAX_RESOLUTION, with a default of 512 and a step of 64.

tile_height

The tile_height parameter specifies the height of each tile in pixels. Similar to tile_width, it allows for customization of the tile size. The value ranges from 320 to MAX_RESOLUTION, with a default of 512 and a step of 64.

tiling_strategy

The tiling_strategy parameter defines the method used to tile the image. Options include "random", "padded", and "simple", each offering different approaches to how the image is divided and processed.

basic_pipe

The basic_pipe parameter is a composite input that includes the model and conditioning information required for the sampling process. It typically contains the model, positive and negative conditioning, and other relevant data.

TiledKSamplerProvider Output Parameters:

KSAMPLER

The KSAMPLER output is the result of the tiled sampling process. It is an object that encapsulates the sampled image data, ready for further processing or final output. This output ensures that the image has been processed with the specified tiling and sampling parameters, providing a high-quality result.

TiledKSamplerProvider Usage Tips:

  • Experiment with different tiling_strategy options to find the best approach for your specific image and desired outcome.
  • Adjust the steps parameter to balance between image quality and processing time, especially for high-resolution images.
  • Use the seed parameter to reproduce specific results, which is useful for iterative design processes.

TiledKSamplerProvider Common Errors and Solutions:

'BNK_TiledKSampler' node isn't installed.

  • Explanation: This error occurs when the required BNK_TiledKSampler node is not installed in your environment.
  • Solution: Install the Tiled sampling for ComfyUI extension from the provided GitHub repository link: https://github.com/BlenderNeko/ComfyUI_TiledKSampler.

Invalid value for parameter 'tile_width' or 'tile_height'.

  • Explanation: This error occurs when the specified tile dimensions are outside the allowed range.
  • Solution: Ensure that tile_width and tile_height are within the range of 320 to MAX_RESOLUTION and are multiples of 64.

Unsupported sampler_name or scheduler.

  • Explanation: This error occurs when an invalid sampler or scheduler is selected.
  • Solution: Choose a valid sampler and scheduler from the predefined lists provided by comfy.samplers.KSampler.SAMPLERS and comfy.samplers.KSampler.SCHEDULERS.

TiledKSamplerProvider Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Impact Pack
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.