> ## 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.

# SelectVAEDevice - ComfyUI Built-in Node Documentation

> Complete documentation for the SelectVAEDevice node in ComfyUI. Learn its inputs, outputs, parameters and usage.

## 概述

此节点允许您手动选择 VAE 模型应放置的 GPU 设备。默认情况下，VAE 会放置在模型加载器分配的设备上，但您可以将其固定到特定的 GPU（例如 `gpu:0`、`gpu:1`）。如果所选设备在您的机器上不可用，该节点将直接传递 VAE 而不做任何更改，并记录一条消息，而不是导致失败。

## 输入

| 参数    | 描述                                                                                                        | 数据类型  | 是否必填 | 范围                                                                                                                                  |
| ----- | --------------------------------------------------------------------------------------------------------- | ----- | ---- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `vae` | 要分配到特定设备的 VAE 模型。                                                                                         | VAE   | 是    |                                                                                                                                     |
| `设备`  | VAE 的目标设备。`"default"` 恢复加载器分配的设备。`"gpu:N"` 将 VAE 固定到第 N 个可用的 GPU。不支持 CPU 作为选择，如果提供则会被忽略。（默认值：`"default"`） | COMBO | 是    | `"default"`<br />`"gpu:0"`<br />`"gpu:1"`<br />`"gpu:2"`<br />`"gpu:3"`<br />`"gpu:4"`<br />`"gpu:5"`<br />`"gpu:6"`<br />`"gpu:7"` |

## 输出

| 输出名称  | 描述                                                   | 数据类型 |
| ----- | ---------------------------------------------------- | ---- |
| `vae` | 现在已分配到所选设备的 VAE 模型。如果请求的设备不可用或无效，则 VAE 会直接传递而不做任何更改。 | VAE  |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SelectVAEDevice/zh.md)

***

**Source fingerprint (SHA-256):** `011154043fc02f930b0074de656bb24baf4dfe74bcfd2e89ea76284f0a5b7d8e`
