Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Overview

The Select CLIP Device node lets you choose which device (CPU or a specific GPU) the CLIP text encoder runs on. By default, the device is assigned by the model loader, but you can override it to use the CPU or a particular GPU. If the requested device doesn’t exist on your machine, the node simply passes the CLIP through unchanged and logs a message instead of causing an error.

Inputs

ParameterData TypeRequiredRangeDescription
clipCLIPYesThe CLIP text encoder to assign to a specific device.
deviceCOMBOYes"default"
"cpu"
"gpu:0"
"gpu:1"
"gpu:2"
"gpu:3"
"gpu:4"
"gpu:5"
"gpu:6"
"gpu:7"
The device to place the CLIP text encoder on. "default" restores the device assigned by the loader. "cpu" pins both the load and offload device to CPU. "gpu:N" pins the load device to the Nth available GPU (default: "default").

Outputs

Output NameData TypeDescription
clipCLIPThe CLIP text encoder assigned to the selected device, or the original CLIP passed through unchanged if the requested device is not available.

Source fingerprint (SHA-256): 92af94d9f5eea27095cc008debdf7339d26888a0e2cc8bd71ae9c9ba8718eb01