ComfyUI > Nodes > ComfyUI > Timesteps Range

ComfyUI Node: Timesteps Range

Class Name

ConditioningTimestepsRange

Category
advanced/hooks
Author
ComfyAnonymous (Account age: 872days)
Extension
ComfyUI
Latest Updated
2025-05-13
Github Stars
76.71K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Timesteps Range Description

Facilitates managing timesteps within specified range for AI model conditioning, enabling precise control over behavior during training.

Timesteps Range:

The ConditioningTimestepsRange node is designed to facilitate the management of timesteps within a specified range during the conditioning process of AI models. This node is particularly useful in scenarios where you need to define a specific portion of the timesteps to apply certain conditioning effects, allowing for more precise control over the model's behavior during training or inference. By setting a start and end percentage, you can effectively partition the timesteps into three distinct segments: the range of interest, the portion before this range, and the portion after. This capability is crucial for advanced users who wish to experiment with different conditioning strategies and optimize the performance of their models by focusing on specific intervals of the training process.

Timesteps Range Input Parameters:

start_percent

The start_percent parameter defines the starting point of the timesteps range as a percentage of the total timesteps. It allows you to specify where the range of interest begins, providing control over which part of the process you want to focus on. The value must be a float between 0.0 and 1.0, with a default of 0.0. This parameter is crucial for setting the lower boundary of the conditioning range, enabling you to target specific phases of the model's operation.

end_percent

The end_percent parameter sets the endpoint of the timesteps range as a percentage of the total timesteps. It determines where the range of interest ends, allowing you to define the upper boundary of the conditioning range. Like start_percent, this value must be a float between 0.0 and 1.0, with a default of 1.0. This parameter is essential for delineating the portion of the timesteps you wish to condition, ensuring that the effects are applied precisely within the desired interval.

Timesteps Range Output Parameters:

TIMESTEPS_RANGE

The TIMESTEPS_RANGE output provides a tuple representing the start and end percentages of the defined range. This output is crucial for identifying the specific segment of timesteps that will be conditioned, allowing you to apply targeted effects within this interval.

BEFORE_RANGE

The BEFORE_RANGE output gives a tuple representing the range of timesteps before the defined TIMESTEPS_RANGE. This output is useful for understanding and potentially manipulating the portion of the process that precedes the main conditioning range, offering insights into how the initial phases might influence the overall model behavior.

AFTER_RANGE

The AFTER_RANGE output provides a tuple representing the range of timesteps following the defined TIMESTEPS_RANGE. This output is important for analyzing and adjusting the segment of the process that occurs after the main conditioning range, helping you to assess the impact of subsequent phases on the model's performance.

Timesteps Range Usage Tips:

  • To effectively use the ConditioningTimestepsRange node, start by determining the specific phase of the model's operation you wish to focus on and set the start_percent and end_percent accordingly to target that interval.
  • Experiment with different ranges to observe how conditioning specific segments of the timesteps affects the model's output, which can provide valuable insights for optimizing model performance.

Timesteps Range Common Errors and Solutions:

Invalid range: start_percent must be less than or equal to end_percent

  • Explanation: This error occurs when the start_percent value is greater than the end_percent, which is not a valid range.
  • Solution: Ensure that the start_percent is set to a value less than or equal to the end_percent to define a valid range.

Percentage value out of bounds

  • Explanation: This error happens when either start_percent or end_percent is set outside the allowed range of 0.0 to 1.0.
  • Solution: Adjust the percentage values to be within the valid range, ensuring they are between 0.0 and 1.0.

Timesteps Range Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.