Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-INT4-Fast > Save Int4 Model

ComfyUI Node: Save Int4 Model

Class Name

INT4ModelSave

Category
loaders
Author
viralvfx (Account age: 1094days)
Extension
ComfyUI-INT4-Fast
Latest Updated
2026-07-10
Github Stars
0.03K

How to Install ComfyUI-INT4-Fast

Install this extension via the ComfyUI Manager by searching for ComfyUI-INT4-Fast
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-INT4-Fast in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Save Int4 Model Description

Facilitates saving quantized INT4 machine learning models for improved efficiency and reduced size.

Save Int4 Model:

The INT4ModelSave node is designed to facilitate the saving of machine learning models that have been quantized to use INT4 precision, which is a lower bit-width representation that can significantly reduce the model size and improve inference speed. This node is particularly beneficial for deploying models in environments with limited computational resources or where speed is a critical factor. The node ensures that all necessary components of the model, including any quantized parameters and configurations, are correctly saved to a checkpoint file. It handles the intricacies of model patching and parameter management, ensuring that the saved model retains its quantized state and is ready for efficient deployment. By managing the complexities of INT4 quantization and saving, this node provides a streamlined process for users looking to leverage the benefits of reduced model size and increased performance.

Save Int4 Model Input Parameters:

model

The model parameter represents the machine learning model that you wish to save. This model should already be quantized to use INT4 precision. The node will process this model to ensure that all quantized parameters and configurations are correctly saved. There are no specific minimum or maximum values for this parameter, as it is a model object. However, it is crucial that the model is compatible with INT4 quantization.

filename_prefix

The filename_prefix parameter is a string that specifies the prefix for the output checkpoint file name. This prefix helps in organizing and identifying saved models, especially when multiple versions or configurations are being saved. There are no strict constraints on the length or content of this prefix, but it should be meaningful to help you identify the saved model later.

prompt

The prompt parameter is an optional string that can be used to provide additional context or metadata about the model being saved. This can be useful for documentation purposes or when the model is intended for specific tasks or datasets. If not provided, the node will proceed without this additional information.

extra_pnginfo

The extra_pnginfo parameter is an optional dictionary that allows you to include additional metadata in the saved checkpoint. This can be useful for embedding custom information or annotations that might be relevant for future reference or for other users who might use the model. If not provided, the node will save the model without this extra metadata.

Save Int4 Model Output Parameters:

output_checkpoint

The output_checkpoint parameter is the file path to the saved model checkpoint. This file contains the quantized model and all necessary configurations, ensuring that the model can be reloaded and used efficiently in its INT4 quantized form. The checkpoint is saved in a format that supports the storage of quantized parameters, making it ready for deployment or further use.

Save Int4 Model Usage Tips:

  • Ensure that your model is fully compatible with INT4 quantization before using this node to save it. This will prevent any issues related to unsupported operations or configurations.
  • Use meaningful and descriptive filename_prefix values to easily identify and manage your saved models, especially when working with multiple versions or configurations.
  • Consider including relevant metadata using the prompt and extra_pnginfo parameters to provide context and documentation for future reference or for other users who might use the model.

Save Int4 Model Common Errors and Solutions:

INT4 Save: full-load pre-pass failed

  • Explanation: This error occurs when the node attempts to fully load the model onto the GPU before saving, but the operation fails.
  • Solution: Check if your model is compatible with the GPU and ensure that there is sufficient memory available. If the problem persists, consider using a different model or adjusting your system's resources.

INT4 Save: load_models_gpu fallback also failed

  • Explanation: This error indicates that both the full-load and fallback methods for loading the model onto the GPU have failed.
  • Solution: Verify that your model is correctly configured for GPU usage and that your system's GPU drivers are up to date. If necessary, try running the process on a different machine with more resources.

INT4 Save: source safetensors metadata could not be located

  • Explanation: This warning suggests that the node could not find the source metadata required for saving the model with all necessary configurations.
  • Solution: Ensure that your model includes all required metadata and configurations before attempting to save. If metadata is missing, you may need to regenerate or reconfigure your model.

Save Int4 Model Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-INT4-Fast
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Save Int4 Model