> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ModelComputeDtype - ComfyUI Built-in Node Documentation

> ModelComputeDtype 节点会更改模型在处理过程中使用的计算数据类型（精度）。

ModelComputeDtype 节点会更改模型在处理过程中使用的计算数据类型（精度）。它会创建输入模型的副本，并应用所选的精度设置，具体取决于你的硬件，这有助于优化内存使用和性能。这对于调试和测试不同的精度配置非常有用。

## 输入

| 参数      | 描述                                       | 数据类型  | 是否必填 | 范围                                            |
| ------- | ---------------------------------------- | ----- | ---- | --------------------------------------------- |
| `模型`    | 要使用新的计算数据类型进行修改的输入模型                     | MODEL | 是    | -                                             |
| `dtype` | 要应用于模型的计算数据类型（默认值："default"）。此参数标记为高级选项。 | COMBO | 是    | "default"<br />"fp32"<br />"fp16"<br />"bf16" |

## 输出

| 输出名称    | 描述               | 数据类型  |
| ------- | ---------------- | ----- |
| `model` | 应用了新计算数据类型的已修改模型 | MODEL |

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

***

**Source fingerprint (SHA-256):** `ad9c39e1217fd2e343ad4f49df9d1acabbc4708966dadec5340bb975adb59854`
