ComfyUI > Nodes > ComfyUI_NetDist > Queue on remote (start of chain)

ComfyUI Node: Queue on remote (start of chain)

Class Name

RemoteChainStart

Category
remote/advanced
Author
city96 (Account age: 552days)
Extension
ComfyUI_NetDist
Latest Updated
2024-05-22
Github Stars
0.27K

How to Install ComfyUI_NetDist

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

Queue on remote (start of chain) Description

Initiates remote processing chain by merging attributes into unified object for efficient task management and distribution.

Queue on remote (start of chain):

The RemoteChainStart node is designed to initiate a remote processing chain by merging essential attributes into a single REMCHAIN object. This node is particularly useful for AI artists who want to distribute their workflow across remote servers, enabling more efficient and scalable processing. By consolidating parameters such as workflow, trigger, batch size, and seed into a unified structure, this node simplifies the management of remote tasks. The primary goal of RemoteChainStart is to prepare and queue tasks for remote execution, ensuring that all necessary information is encapsulated in a single object that can be easily dispatched to remote servers.

Queue on remote (start of chain) Input Parameters:

workflow

The workflow parameter accepts a JSON object that defines the sequence of operations or tasks to be executed remotely. This JSON structure should include all the necessary details for the remote server to understand and process the workflow. The workflow parameter is crucial as it dictates the entire processing pipeline that will be executed on the remote server.

trigger

The trigger parameter determines when the remote chain should be initiated. It accepts two options: on_change and always. When set to on_change, the remote chain will only start if there is a change in the input parameters. When set to always, the remote chain will start every time the node is executed. This parameter helps in optimizing the execution by preventing unnecessary remote processing.

batch

The batch parameter specifies the number of tasks to be processed in a single batch. It accepts an integer value with a default of 1, a minimum of 1, and a maximum of 8. This parameter allows you to control the granularity of the remote processing, enabling you to balance between processing time and resource utilization.

seed

The seed parameter is an integer value used to initialize the random number generator for the remote tasks. It accepts a default value of 0, with a minimum of 0 and a maximum of 0xffffffffffffffff. The seed ensures that the remote tasks produce consistent and reproducible results, which is particularly important for tasks that involve randomness.

Queue on remote (start of chain) Output Parameters:

remote_chain

The remote_chain output is a REMCHAIN object that encapsulates all the input parameters into a single structure. This object includes the seed, batch size, workflow, seed offset, and a unique job ID. The remote_chain is essential for dispatching tasks to remote servers, as it contains all the necessary information for the remote server to execute the tasks correctly.

Queue on remote (start of chain) Usage Tips:

  • Ensure that the workflow JSON is correctly formatted and includes all necessary details for remote processing.
  • Use the trigger parameter wisely to avoid unnecessary remote executions, which can save time and resources.
  • Adjust the batch size based on the complexity of your tasks and the capabilities of your remote server to optimize performance.
  • Set a specific seed value if you need reproducible results, especially for tasks involving randomness.

Queue on remote (start of chain) Common Errors and Solutions:

Invalid JSON in workflow

  • Explanation: The workflow parameter contains an improperly formatted JSON object.
  • Solution: Double-check the JSON structure for syntax errors and ensure all required fields are included.

Batch size out of range

  • Explanation: The batch parameter is set to a value outside the allowed range (1-8).
  • Solution: Adjust the batch value to be within the specified range.

Seed value out of range

  • Explanation: The seed parameter is set to a value outside the allowed range (0 to 0xffffffffffffffff).
  • Solution: Ensure the seed value is within the specified range.

Trigger parameter invalid

  • Explanation: The trigger parameter is set to an invalid option.
  • Solution: Set the trigger parameter to either on_change or always.

Queue on remote (start of chain) Related Nodes

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