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

# VAEComputeDtype - ComfyUI Built-in Node Documentation

> 此节点设置 VAE 编码或解码时使用的计算 dtype，而不更改模型图的其余部分。

此节点设置 VAE 编码或解码时使用的计算 dtype，而不更改模型图的其余部分。它会返回一个采用所请求精度的输入 VAE 副本，因此工作流可以让一个分支以更高精度运行，而其他分支保持不变。"default" 会保留输入 VAE 当前使用的计算 dtype。

## 输入

| 参数 | 描述 | 数据类型 | 必填 | 范围 |
| - | - | - | - | - |
| `vae` | 要调整的 VAE。该节点在副本上操作，因此所连接的 VAE 不会被修改。 | VAE | 是 | - |
| `dtype` | 用于 VAE 编码和解码的计算 dtype。"default" 保留输入 VAE 的计算 dtype（默认值："default"）。 | COMBO | 是 | "default" "fp32" "fp16" "bf16" |

## 输出

| 输出名 | 描述 | 数据类型 |
| - | - | - |
| `vae` | 应用了所选计算 dtype 的 VAE 副本。 | VAE |

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

***

**Source fingerprint (SHA-256):** `239e5829d76b4bd43ec300fc2b7c8c408b5bd4a93918da417ecf43817aee3e12`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.