Downloads · 30 days
0
humbleakh/chain-of-zoom-4bit-complete
chain-of-zoom-4bit-complete is a image-to-image model from humbleakh. Use it when you need one image transformed into another. It is set up for transformers. The card lists the license as apache-2.0.
Complete 4-bit quantized Chain-of-Zoom pipeline with all models
Downloads · 30 days
0
Access
Public
Updated Jun 8, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md4.2 KB · 67%
From the Hugging Face model README
Complete 4-bit quantized Chain-of-Zoom pipeline with all models
This model is part of the Chain-of-Zoom 4-bit Quantized Pipeline - a memory-optimized version of the original Chain-of-Zoom super-resolution framework.
# Install required packages
pip install transformers accelerate bitsandbytes torch
# Load quantized model
from transformers import BitsAndBytesConfig
import torch
# 4-bit quantization config
bnb_config = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_quant_type="nf4",
bnb_4bit_use_double_quant=True,
bnb_4bit_compute_dtype=torch.bfloat16
)
# Model-specific loading code here
# (See complete notebook for detailed usage)
@misc{chain-of-zoom-4bit-complete,
title={Chain-of-Zoom 4-bit Quantized Chain-of-Zoom Complete 4-bit Quantized Pipeline},
author={humbleakh},
year={2024},
publisher={Hugging Face},
url={https://huggingface.co/humbleakh/chain-of-zoom-4bit-complete}
}
Apache 2.0 - See original model licenses for specific components.