{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/intlora-integral-low-rank-adaptation-of","title":"IntLoRA: Integral Low-rank Adaptation of Quantized Diffusion Models","arxiv_id":"2410.21759","date":"2024-10-29","proceeding":null,"authors":["Hang Guo","Yawei Li","Tao Dai","Shu-Tao Xia","Luca Benini"],"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.","url_abs":"https://arxiv.org/abs/2410.21759v3","url_pdf":"https://arxiv.org/pdf/2410.21759v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"intlora-integral-low-rank-adaptation-of","repo_url":"https://github.com/csguoh/intlora","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"quantization","task_name":"Quantization"},{"task_slug":"parameter-efficient-fine-tuning","task_name":"parameter-efficient fine-tuning"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2410.21759","atlas_url":"https://app.syntology.ai/?focus=2410.21759","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.21759"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/csguoh/IntLoRA","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/csguoh/intlora","reach":null}],"summary":{"ran":1,"ran_draft_wrong":5,"ran_fixture":1,"unverified":2},"by_repo_kind":{"official":{"samples":8,"ran":6,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":9,"samples":[{"code_sha256_prefix":"76738f0a52f4fee8","entry":"UniformAffineQuantizer","repo":"csguoh/intlora","repo_kind":"official","path":"utils/intlora_shift.py","file_url":"https://github.com/csguoh/intlora/blob/HEAD/utils/intlora_shift.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"76738f0a52f4fee8"}},{"code_sha256_prefix":"fa2f230abbf47f2a","entry":"batch_max","repo":"csguoh/intlora","repo_kind":"official","path":"utils/intlora_shift.py","file_url":"https://github.com/csguoh/intlora/blob/HEAD/utils/intlora_shift.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fa2f230abbf47f2a"}},{"code_sha256_prefix":"c30948b65bcb30fa","entry":"batch_mse","repo":"csguoh/intlora","repo_kind":"official","path":"utils/intlora_shift.py","file_url":"https://github.com/csguoh/intlora/blob/HEAD/utils/intlora_shift.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c30948b65bcb30fa"}},{"code_sha256_prefix":"229d634611bdc645","entry":"collate_fn","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"229d634611bdc645"}},{"code_sha256_prefix":"ed99491f78bd49e1","entry":"get_prompt","repo":"csguoh/IntLoRA","repo_kind":"official","path":"evaluation.py","file_url":"https://github.com/csguoh/IntLoRA/blob/HEAD/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ed99491f78bd49e1"}},{"code_sha256_prefix":"8fcf6c2e205ea12b","entry":"lp_loss","repo":"csguoh/intlora","repo_kind":"official","path":"utils/intlora_shift.py","file_url":"https://github.com/csguoh/intlora/blob/HEAD/utils/intlora_shift.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8fcf6c2e205ea12b"}},{"code_sha256_prefix":"d5bbfd113cf7fe02","entry":"round_ste","repo":"csguoh/intlora","repo_kind":"official","path":"utils/intlora_shift.py","file_url":"https://github.com/csguoh/intlora/blob/HEAD/utils/intlora_shift.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d5bbfd113cf7fe02"}},{"code_sha256_prefix":"552f3b972b4db667","entry":"IntLoRA_SHIFT","repo":"csguoh/intlora","repo_kind":"official","path":"utils/intlora_shift.py","file_url":"https://github.com/csguoh/intlora/blob/HEAD/utils/intlora_shift.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"552f3b972b4db667"}},{"code_sha256_prefix":"9afa3ce9b0344100","entry":"parse_args","repo":"csguoh/IntLoRA","repo_kind":"official","path":"train_dreambooth_quant.py","file_url":"https://github.com/csguoh/IntLoRA/blob/HEAD/train_dreambooth_quant.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9afa3ce9b0344100"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}