ComfyUI  >  Nodes  >  Restart Sampling >  RestartScheduler

ComfyUI Node: RestartScheduler

Class Name

RestartScheduler

Category
sampling/custom_sampling/schedulers
Author
ssitu (Account age: 1698 days)
Extension
Restart Sampling
Latest Updated
5/22/2024
Github Stars
0.1K

How to Install Restart Sampling

Install this extension via the ComfyUI Manager by searching for  Restart Sampling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Restart Sampling 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

RestartScheduler Description

Enhances sampling with restart mechanisms for refined AI-generated outputs.

RestartScheduler:

The RestartScheduler node is designed to enhance the sampling process by allowing for the integration of restart mechanisms within the sampling workflow. This node is particularly useful for AI artists who want to achieve more refined and controlled sampling results. By incorporating restart strategies, the RestartScheduler can help in mitigating issues such as mode collapse or poor convergence, leading to higher quality outputs. The primary goal of this node is to provide a flexible and robust framework for sampling that can adapt to various artistic needs and preferences, ensuring that the generated samples meet the desired criteria.

RestartScheduler Input Parameters:

sampler

The sampler parameter specifies the type of sampler to be used within the RestartScheduler. This parameter is crucial as it determines the underlying sampling algorithm that will be employed. The sampler can be any valid sampler object that conforms to the expected interface. The choice of sampler can significantly impact the quality and characteristics of the generated samples.

chunked_mode

The chunked_mode parameter is a boolean option that enables or disables chunked processing within the RestartScheduler. When set to True, the sampling process is divided into smaller chunks, which can help in managing memory usage and improving performance for large-scale sampling tasks. The default value for this parameter is True. Enabling chunked mode can be particularly beneficial when working with high-resolution images or complex models.

RestartScheduler Output Parameters:

SAMPLER

The output parameter SAMPLER represents the configured sampler object that incorporates the restart mechanisms as specified by the input parameters. This output is essential for subsequent nodes in the workflow that require a sampler to generate samples. The SAMPLER output ensures that the sampling process is carried out with the desired restart strategies, leading to improved sample quality and consistency.

RestartScheduler Usage Tips:

  • To achieve optimal results, experiment with different sampler types to find the one that best suits your artistic needs.
  • Enable chunked_mode when working with large datasets or high-resolution images to manage memory usage effectively and improve performance.
  • Use the RestartScheduler in combination with other nodes to create a comprehensive and flexible sampling pipeline that can adapt to various artistic requirements.

RestartScheduler Common Errors and Solutions:

"Invalid sampler object"

  • Explanation: This error occurs when the provided sampler object does not conform to the expected interface or is not recognized by the RestartScheduler.
  • Solution: Ensure that the sampler object passed to the sampler parameter is valid and compatible with the RestartScheduler. Refer to the documentation for a list of supported samplers.

"Chunked mode processing failed"

  • Explanation: This error indicates that an issue occurred during the chunked processing of the sampling task.
  • Solution: Verify that your system has sufficient memory and resources to handle chunked processing. If the problem persists, try disabling chunked_mode and see if the issue is resolved. Additionally, check for any updates or patches that might address this issue.

RestartScheduler Related Nodes

Go back to the extension to check out more related nodes.
Restart Sampling
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.