{"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/progressive-distillation-for-fast-sampling-of-1","title":"Progressive Distillation for Fast Sampling of Diffusion Models","arxiv_id":"2202.00512","date":"2022-02-01","proceeding":"ICLR 2022 4","authors":["Tim Salimans","Jonathan Ho"],"abstract":"Diffusion models have recently shown great promise for generative modeling, outperforming GANs on perceptual quality and autoregressive models at density estimation. A remaining downside is their slow sampling time: generating high quality samples takes many hundreds or thousands of model evaluations. Here we make two contributions to help eliminate this downside: First, we present new parameterizations of diffusion models that provide increased stability when using few sampling steps. Second, we present a method to distill a trained deterministic diffusion sampler, using many steps, into a new diffusion model that takes half as many sampling steps. We then keep progressively applying this distillation procedure to our model, halving the number of required sampling steps each time. On standard image generation benchmarks like CIFAR-10, ImageNet, and LSUN, we start out with state-of-the-art samplers taking as many as 8192 steps, and are able to distill down to models taking as few as 4 steps without losing much perceptual quality; achieving, for example, a FID of 3.0 on CIFAR-10 in 4 steps. Finally, we show that the full progressive distillation procedure does not take more time than it takes to train the original model, thus representing an efficient solution for generative modeling using diffusion at both train and test time.","url_abs":"https://arxiv.org/abs/2202.00512v2","url_pdf":"https://arxiv.org/pdf/2202.00512v2.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":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/google-research/google-research/tree/master/diffusion_distillation","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"jax","reach":null},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/cloneofsimo/consistency_models","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/deepxuan/dn-dp","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/ericl122333/patchdiffusion-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/fashn-AI/tryondiffusion","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/ftoralesacosta/gsgm_for_eic_calo","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/lucidrains/imagen-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/sainzerjj/sferd","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/sreerajr000/consistency-models","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/viniciusmikuni/caloscorev2","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/viniciusmikuni/gsgm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"progressive-distillation-for-fast-sampling-of-1","repo_url":"https://github.com/Hramchenko/diffusion_distiller","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"density-estimation","task_name":"Density Estimation"},{"task_slug":"image-generation","task_name":"Image Generation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-generation-on-cifar-10","task":"Image Generation","dataset":"CIFAR-10","model":"PD (NFE=8)","rank_in_archive_order":23,"of":78,"metrics":{"FID":"2.57"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-cifar-10","task":"Image Generation","dataset":"CIFAR-10","model":"PD (NFE=4)","rank_in_archive_order":25,"of":78,"metrics":{"FID":"3.00"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2202.00512","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2202.00512"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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/google-research/google-research","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/deepxuan/dn-dp","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cloneofsimo/consistency_models","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/google-research/google-research/tree/master/diffusion_distillation","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ericl122333/patchdiffusion-pytorch","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/viniciusmikuni/gsgm","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sainzerjj/sferd","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Hramchenko/diffusion_distiller","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sreerajr000/consistency-models","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/fashn-AI/tryondiffusion","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lucidrains/imagen-pytorch","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ftoralesacosta/gsgm_for_eic_calo","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/viniciusmikuni/caloscorev2","reach":{"status":"ok"}}],"summary":{"ran":7,"ran_draft_wrong":2,"ran_honours":1,"unverified":17},"by_repo_kind":{"official":{"samples":7,"ran":1,"repositories":1},"listed":{"samples":20,"ran":9,"repositories":7}},"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":10,"samples":[{"code_sha256_prefix":"c5b3831528f9c8ce","entry":"ConsistencyModel","repo":"cloneofsimo/consistency_models","repo_kind":"listed","path":"consistency_models/unet.py","file_url":"https://github.com/cloneofsimo/consistency_models/blob/HEAD/consistency_models/unet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c5b3831528f9c8ce"}},{"code_sha256_prefix":"1baf4c2b5fd0b943","entry":"EMA","repo":"sainzerjj/sferd","repo_kind":"listed","path":"diffusion/train_utils.py","file_url":"https://github.com/sainzerjj/sferd/blob/HEAD/diffusion/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1baf4c2b5fd0b943"}},{"code_sha256_prefix":"afb6a311f3326182","entry":"GaussianDiffusion","repo":"ericl122333/patchdiffusion-pytorch","repo_kind":"listed","path":"patch_diffusion/respace.py","file_url":"https://github.com/ericl122333/patchdiffusion-pytorch/blob/HEAD/patch_diffusion/respace.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"afb6a311f3326182"}},{"code_sha256_prefix":"e6c610e22a0b8e1f","entry":"Model","repo":"google-research/google-research","repo_kind":"official","path":"diffusion_distillation/diffusion_distillation/dpm.py","file_url":"https://github.com/google-research/google-research/blob/HEAD/diffusion_distillation/diffusion_distillation/dpm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e6c610e22a0b8e1f"}},{"code_sha256_prefix":"0b2e4925d1642a0b","entry":"RunningStatistics","repo":"sainzerjj/sferd","repo_kind":"listed","path":"diffusion/train_utils.py","file_url":"https://github.com/sainzerjj/sferd/blob/HEAD/diffusion/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0b2e4925d1642a0b"}},{"code_sha256_prefix":"eeb6b2016ef36e61","entry":"_WrappedModel","repo":"ericl122333/patchdiffusion-pytorch","repo_kind":"listed","path":"patch_diffusion/respace.py","file_url":"https://github.com/ericl122333/patchdiffusion-pytorch/blob/HEAD/patch_diffusion/respace.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"eeb6b2016ef36e61"}},{"code_sha256_prefix":"7cf7aa019c5dcc57","entry":"_extract_into_tensor","repo":"deepxuan/dn-dp","repo_kind":"listed","path":"model/sr3_modules/respace.py","file_url":"https://github.com/deepxuan/dn-dp/blob/HEAD/model/sr3_modules/respace.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7cf7aa019c5dcc57"}},{"code_sha256_prefix":"7ef3b9728402cdd1","entry":"make_beta_schedule","repo":"deepxuan/dn-dp","repo_kind":"listed","path":"model/sr3_modules/respace.py","file_url":"https://github.com/deepxuan/dn-dp/blob/HEAD/model/sr3_modules/respace.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7ef3b9728402cdd1"}},{"code_sha256_prefix":"513b57c8cf771713","entry":"make_none_args","repo":"Hramchenko/diffusion_distiller","repo_kind":"listed","path":"train_utils.py","file_url":"https://github.com/Hramchenko/diffusion_distiller/blob/HEAD/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"513b57c8cf771713"}},{"code_sha256_prefix":"18b1cad6bd142108","entry":"multistep_consistency_sampling","repo":"sreerajr000/consistency-models","repo_kind":"listed","path":"sampler.py","file_url":"https://github.com/sreerajr000/consistency-models/blob/HEAD/sampler.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"18b1cad6bd142108"}},{"code_sha256_prefix":"9cde3092e14a7d62","entry":"DeepSetsAtt","repo":"viniciusmikuni/gsgm","repo_kind":"listed","path":"demo/GSGM.py","file_url":"https://github.com/viniciusmikuni/gsgm/blob/HEAD/demo/GSGM.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":"9cde3092e14a7d62"}},{"code_sha256_prefix":"791b3bf86655f018","entry":"DiffusionDistillation","repo":"Hramchenko/diffusion_distiller","repo_kind":"listed","path":"train_utils.py","file_url":"https://github.com/Hramchenko/diffusion_distiller/blob/HEAD/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"791b3bf86655f018"}},{"code_sha256_prefix":"b13671cc03127267","entry":"DistillationTrainer","repo":"sainzerjj/sferd","repo_kind":"listed","path":"diffusion/train_utils.py","file_url":"https://github.com/sainzerjj/sferd/blob/HEAD/diffusion/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b13671cc03127267"}},{"code_sha256_prefix":"d56db955dcd1e1bb","entry":"DummyScheduler","repo":"sainzerjj/sferd","repo_kind":"listed","path":"diffusion/train_utils.py","file_url":"https://github.com/sainzerjj/sferd/blob/HEAD/diffusion/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d56db955dcd1e1bb"}},{"code_sha256_prefix":"ef2ea1d8599e8b2d","entry":"GSGM","repo":"viniciusmikuni/gsgm","repo_kind":"listed","path":"demo/GSGM.py","file_url":"https://github.com/viniciusmikuni/gsgm/blob/HEAD/demo/GSGM.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":"ef2ea1d8599e8b2d"}},{"code_sha256_prefix":"92244ba45f2a5ca4","entry":"GaussianDiffusion","repo":"deepxuan/dn-dp","repo_kind":"listed","path":"model/sr3_modules/respace.py","file_url":"https://github.com/deepxuan/dn-dp/blob/HEAD/model/sr3_modules/respace.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":"92244ba45f2a5ca4"}},{"code_sha256_prefix":"3ef0f294c952f62d","entry":"SpacedDiffusion","repo":"ericl122333/patchdiffusion-pytorch","repo_kind":"listed","path":"patch_diffusion/respace.py","file_url":"https://github.com/ericl122333/patchdiffusion-pytorch/blob/HEAD/patch_diffusion/respace.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":"3ef0f294c952f62d"}},{"code_sha256_prefix":"0bceb8d35b696f6a","entry":"SpacedDiffusion","repo":"deepxuan/dn-dp","repo_kind":"listed","path":"model/sr3_modules/respace.py","file_url":"https://github.com/deepxuan/dn-dp/blob/HEAD/model/sr3_modules/respace.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":"0bceb8d35b696f6a"}},{"code_sha256_prefix":"7b619a5570fecf04","entry":"default_iter_callback","repo":"Hramchenko/diffusion_distiller","repo_kind":"listed","path":"train_utils.py","file_url":"https://github.com/Hramchenko/diffusion_distiller/blob/HEAD/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7b619a5570fecf04"}},{"code_sha256_prefix":"d37af918412dc794","entry":"diffusion_forward","repo":"google-research/google-research","repo_kind":"official","path":"diffusion_distillation/diffusion_distillation/dpm.py","file_url":"https://github.com/google-research/google-research/blob/HEAD/diffusion_distillation/diffusion_distillation/dpm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d37af918412dc794"}},{"code_sha256_prefix":"e6029bbacbfd72ee","entry":"diffusion_reverse","repo":"google-research/google-research","repo_kind":"official","path":"diffusion_distillation/diffusion_distillation/dpm.py","file_url":"https://github.com/google-research/google-research/blob/HEAD/diffusion_distillation/diffusion_distillation/dpm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e6029bbacbfd72ee"}},{"code_sha256_prefix":"2dae0e9618d089f2","entry":"moving_average","repo":"Hramchenko/diffusion_distiller","repo_kind":"listed","path":"train_utils.py","file_url":"https://github.com/Hramchenko/diffusion_distiller/blob/HEAD/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2dae0e9618d089f2"}},{"code_sha256_prefix":"ecf3ebad654f83f5","entry":"predict_eps_from_x","repo":"google-research/google-research","repo_kind":"official","path":"diffusion_distillation/diffusion_distillation/dpm.py","file_url":"https://github.com/google-research/google-research/blob/HEAD/diffusion_distillation/diffusion_distillation/dpm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ecf3ebad654f83f5"}},{"code_sha256_prefix":"894c180fa74bdbd5","entry":"predict_v_from_x_and_eps","repo":"google-research/google-research","repo_kind":"official","path":"diffusion_distillation/diffusion_distillation/dpm.py","file_url":"https://github.com/google-research/google-research/blob/HEAD/diffusion_distillation/diffusion_distillation/dpm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"894c180fa74bdbd5"}},{"code_sha256_prefix":"66e7c354db444496","entry":"predict_x_from_eps","repo":"google-research/google-research","repo_kind":"official","path":"diffusion_distillation/diffusion_distillation/dpm.py","file_url":"https://github.com/google-research/google-research/blob/HEAD/diffusion_distillation/diffusion_distillation/dpm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"66e7c354db444496"}},{"code_sha256_prefix":"a8cf5ffc562524b9","entry":"predict_x_from_v","repo":"google-research/google-research","repo_kind":"official","path":"diffusion_distillation/diffusion_distillation/dpm.py","file_url":"https://github.com/google-research/google-research/blob/HEAD/diffusion_distillation/diffusion_distillation/dpm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a8cf5ffc562524b9"}},{"code_sha256_prefix":"d9b8534277a98f88","entry":"save_image","repo":"sainzerjj/sferd","repo_kind":"listed","path":"diffusion/train_utils.py","file_url":"https://github.com/sainzerjj/sferd/blob/HEAD/diffusion/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d9b8534277a98f88"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}