SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.21759 · ICML · 2025

IntLoRA: Integral Low-rank Adaptation of Quantized Diffusion Models

Shu-Tao Xia, Yawei Li, Luca Benini, Hang Guo, Tao Dai

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 functions out of this paper's own repositories and ran 7 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
csguoh/IntLoRA canonical 1 of 2
csguoh/intlora — 5 of 6
copy not recorded — 1 of 1
FunctionStatusWhere it lives
UniformAffineQuantizer Ran csguoh/intlora/utils/intlora_shift.py
pointer only (licence: NONE) · get_code("76738f0a52f4fee8")
batch_max Ran csguoh/intlora/utils/intlora_shift.py
pointer only (licence: NONE) · get_code("fa2f230abbf47f2a")
batch_mse Ran csguoh/intlora/utils/intlora_shift.py
pointer only (licence: NONE) · get_code("c30948b65bcb30fa")
collate_fn Ran this paper's copy was not recorded; identical code first harvested from vinairesearch/anti-dreambooth
pointer only · get_code("229d634611bdc645")
get_prompt Ran csguoh/IntLoRA/evaluation.py
pointer only (licence: NONE) · get_code("ed99491f78bd49e1")
lp_loss Ran csguoh/intlora/utils/intlora_shift.py
pointer only (licence: NONE) · get_code("8fcf6c2e205ea12b")
round_ste Ran csguoh/intlora/utils/intlora_shift.py
pointer only (licence: NONE) · get_code("d5bbfd113cf7fe02")
IntLoRA_SHIFT Not yet run csguoh/intlora/utils/intlora_shift.py
pointer only (licence: NONE) · get_code("552f3b972b4db667")
parse_args Not yet run csguoh/IntLoRA/train_dreambooth_quant.py
pointer only (licence: NONE) · get_code("9afa3ce9b0344100")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Fine-tuning pre-trained diffusion models under limited budgets has gained great success. In particular, the recent advances that directly fine-tune the quantized weights using Low-rank Adaptation (LoRA) further reduces training costs. Despite these progress, we point out that existing adaptation recipes are not inference-efficient. Specifically, additional post-training quantization (PTQ) on tuned weights is needed during deployment, which results in noticeable performance drop when the bit-width is low. Based on this observation, we introduce IntLoRA, which adapts quantized diffusion models with integer-type low-rank parameters, to include inference efficiency during tuning. Specifically, IntLoRA enables pre-trained weights to remain quantized during training, facilitating fine-tuning on consumer-level GPUs. During inference, IntLoRA weights can be seamlessly merged into pre-trained weights to directly obtain quantized downstream weights without PTQ. Extensive experiments show our IntLoRA achieves significant speedup on both training and inference without losing performance. Code is available at https://github.com/csguoh/IntLoRA.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.21759")
get_code_for_paper("2410.21759")
have("2410.21759")

Connect an agent — have() is free.