ComfyUI Node
π§° Ray's Model Tools: Convert Model
Convert a model file or the effective state of a connected MODEL. Inference outputs are loaded automatically when used. Non-Linear layers stay bf16 for quantized output.
π§° Ray's Model Tools: Convert Model
- model
- clip
- vae
- model_data
- model
- clip
- vae
- model_data
- metadata
- report
βweight_formatbf16βΊ
βcomponentsdiffusionβΊ
βpathβΊ
Categoryπ Ray/π§° Model Tools
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| weight_format | COMBO | bf16 | Storage precision or quantization for the result. Auto/Preserve keeps the source representation where supported. Converting to higher precision cannot recover information already lost. |
| components | COMBO | diffusion | Choose diffusion weights, diffusion plus text encoders, text encoders only, or all supported components. Unselected components follow the operation's preservation rules. |
| modelopt | MODEL | Connected model to process, including its active patches and LoRAs. Takes precedence over a model-data handle or file source. | |
| clipopt | CLIP | Optional text encoder to include with the connected model. It must match the model architecture and selected component scope. | |
| vaeopt | VAE | Optional VAE to preserve with the connected model when the operation supports complete checkpoints. | |
| model_dataopt | RAY_MODEL_DATA | File or in-memory model result from another Model Tools node. Supports data-only processing without initializing inference components. | |
| pathopt | STRING | Existing source file or supported sharded model folder on the ComfyUI server. A connected live model or model-data handle takes precedence where available. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| model | MODEL | Native ComfyUI diffusion model. Inference components are initialized when this output is used; data-only workflows can use model_data instead. |
| clip | CLIP | Native text encoder when available in the source and enabled by the selected loading/component options; otherwise absent. |
| vae | VAE | Native VAE when available in the source and enabled by the selected loading/component options; otherwise absent. |
| model_data | RAY_MODEL_DATA | Model Tools data handle for a source file or in-memory result. Connect it directly to compatible merge, conversion, inspection, or save nodes without an extra inference load. |
| metadata | RAY_MODEL_METADATA | Structured metadata for the source or result, including operation information where applicable. |
| report | STRING | Readable inspection or operation report, including compatibility, format, processing, and saved-result information relevant to this operation. |