# modular-diffusers

A composable system for building diffusion pipelines from reusable blocks, with a Python API for creating custom blocks and workflows.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## GCD: GCM-consistent Diffusion for Zero-shot Downscaling across Heterogeneous GCMs

DevFeed: [GCD: GCM-consistent Diffusion for Zero-shot Downscaling across Heterogeneous GCMs](<https://devfeed.tech/articles/gcd-gcm-consistent-diffusion-for-zero-shot-downscaling-across-heterogeneous-gcms-139755.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2601.21760>)

Author: Ruian Tie, Wenbo Xiong, Zhengyu Shi, Xinyu Su, Chenyu jiang, Libo Wu, Hao Li

Published: 2026-11-18T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [modular-diffusers](<https://devfeed.tech/topics/modular-diffusers.md>), [Model Optimizer](<https://devfeed.tech/topics/model-optimizer.md>)

Tags: [climate](<https://devfeed.tech/tags/climate.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [distillation](<https://devfeed.tech/tags/distillation.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [event](<https://devfeed.tech/tags/event.md>), [guidance](<https://devfeed.tech/tags/guidance.md>), [inference](<https://devfeed.tech/tags/inference.md>), [measurement](<https://devfeed.tech/tags/measurement.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [pairing](<https://devfeed.tech/tags/pairing.md>), [plausible](<https://devfeed.tech/tags/plausible.md>), [sampling](<https://devfeed.tech/tags/sampling.md>), [supervision](<https://devfeed.tech/tags/supervision.md>), [zero-shot](<https://devfeed.tech/tags/zero-shot.md>)

### AI overview

GCD uses zero-shot diffusion posterior sampling to downscale climate outputs from heterogeneous General Circulation Models without model-specific retraining. It combines geographic conditioning, spectrally filtered measurement guidance, and distillation-accelerated Conjugate Gradient guidance to address consistency and inference cost. The abstract reports reducing inference from 1,000 diffusion steps to 6 while maintaining consistency with coarse inputs; across five GCMs, it reports competitive accuracy for 99th-percentile extremes and plausible high-frequency tropical cyclone structures.

### Source excerpt

arXiv:2601.21760v3 Announce Type: replace Abstract: Climate downscaling of General Circulation Models (GCMs) is an ill-posed inverse problem, as GCM outputs and reanalysis fields arise from different dynamical systems and lack fine-scale temporal pairing. Supervised methods thus rely on synthetic degradations or model-specific adaptation, limiting generalization across heterogeneous GCMs. Zero-shot diffusion posterior sampling (DPS) avoids paired supervision by combining a high-resolution climate prior with inference-time constraints from coarse GCM inputs, but faces consistency and efficiency challenges. We propose GCM-consistent Diffusion for Zero-shot Downscaling (GCD), which addresses these challenges with geographic conditioning, spectrally filtered measurement guidance, and distillation-accelerated Conjugate Gradient guidance. GCD reduces inference from 1,000 diffusion steps to 6 while maintaining consistency with the coarse GCM inputs. Across five heterogeneous GCMs, GCD achieves competitive 99th-percentile extreme-event accuracy and reconstructs plausible high-frequency tropical cyclone structures without model-specific retraining. Github: https://github.com/shawnvonbohr/GCD-Climate-Downscaling.git

## Variance Reduction for Gradients from Diffusion Teachers

DevFeed: [Variance Reduction for Gradients from Diffusion Teachers](<https://devfeed.tech/articles/variance-reduction-for-gradients-from-diffusion-teachers-128111.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.21489>)

Author: Jesse Bettencourt, Xindi Wu, Matan Atzmon, James Lucas, Jonathan Lorraine

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [modular-diffusers](<https://devfeed.tech/topics/modular-diffusers.md>), [3D](<https://devfeed.tech/topics/3d.md>)

Tags: [3d](<https://devfeed.tech/tags/3d.md>), [attribution](<https://devfeed.tech/tags/attribution.md>), [compute](<https://devfeed.tech/tags/compute.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [data-attribution](<https://devfeed.tech/tags/data-attribution.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [diffusion-models](<https://devfeed.tech/tags/diffusion-models.md>), [distillation](<https://devfeed.tech/tags/distillation.md>), [encoding](<https://devfeed.tech/tags/encoding.md>), [estimator](<https://devfeed.tech/tags/estimator.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gaussian](<https://devfeed.tech/tags/gaussian.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [mc](<https://devfeed.tech/tags/mc.md>), [models](<https://devfeed.tech/tags/models.md>), [monte-carlo](<https://devfeed.tech/tags/monte-carlo.md>), [noise](<https://devfeed.tech/tags/noise.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [reduction](<https://devfeed.tech/tags/reduction.md>), [stat-co](<https://devfeed.tech/tags/stat-co.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>), [variance](<https://devfeed.tech/tags/variance.md>)

### AI overview

CARV reduces the compute cost of Monte Carlo gradients from frozen diffusion teachers by treating noise-level and Gaussian-noise sampling as a two-stage problem with unequal costs. Its hierarchical estimator reuses expensive upstream work, then applies timestep importance sampling and stratified inverse-CDF sampling to reduce variance within each unit, without changing the objective. The abstract reports 2-3x effective compute multipliers for text-to-3D and data attribution; in text-to-3D, reuse accounts for most of the gain, with importance sampling and stratification adding about 25%. In single-step distillation, the techniques reduce gradient variance by an order of magnitude but do not improve downstream FID, suggesting variance is no longer the limiting factor there.

### Source excerpt

arXiv:2605.21489v3 Announce Type: replace-cross Abstract: Pretrained diffusion models serve as frozen teachers for pipelines such as text-to-3D, single-step distillation, and data attribution. The teacher gradients these pipelines consume are expectations over noise levels and Gaussian noise, estimated by Monte Carlo (MC). Each MC draw requires expensive upstream work (rendering, simulation, encoding), so estimator variance dominates compute cost. We introduce CARV, a compute-aware variance-accounting framework that casts these gradients as a classical two-stage sampling problem with asymmetric per-level costs. This motivates a hierarchical MC estimator that amortizes each expensive upstream computation by reusing it across cheap diffusion draws, with within-unit variance further reduced by timestep importance sampling (IS) and stratified inverse-CDF sampling. CARV delivers 2 to 3x effective compute multipliers on text-to-3D and data attribution without changing the objective. In text-to-3D, reuse provides most of the gain and IS with stratification adds about 25%. In single-step distillation, the same techniques cut gradient variance by an order of magnitude but do not improve downstream FID, marking the regime where MC variance is no longer the bottleneck.

## Don't Just Impute, Detect: Task-Aware Diffusion Pipelines for Edge Anomaly Detection

DevFeed: [Don't Just Impute, Detect: Task-Aware Diffusion Pipelines for Edge Anomaly Detection](<https://devfeed.tech/articles/don-t-just-impute-detect-task-aware-diffusion-pipelines-for-edge-anomaly-detection-111495.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.40732>)

Author: Jeongsu Park, Taehyeon Yun, Geonwoo Kim, Yuji Lim, Moohong Min

Published: 2026-11-02T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>), [modular-diffusers](<https://devfeed.tech/topics/modular-diffusers.md>)

Tags: [ablation](<https://devfeed.tech/tags/ablation.md>), [about](<https://devfeed.tech/tags/about.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [also](<https://devfeed.tech/tags/also.md>), [anomaly-detection](<https://devfeed.tech/tags/anomaly-detection.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [bias](<https://devfeed.tech/tags/bias.md>), [block](<https://devfeed.tech/tags/block.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [boundary](<https://devfeed.tech/tags/boundary.md>), [call](<https://devfeed.tech/tags/call.md>), [code](<https://devfeed.tech/tags/code.md>), [command](<https://devfeed.tech/tags/command.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [detection](<https://devfeed.tech/tags/detection.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [don-t](<https://devfeed.tech/tags/don-t.md>), [edge](<https://devfeed.tech/tags/edge.md>), [just](<https://devfeed.tech/tags/just.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>)

### AI overview

The Task-Aware Diffusion Refiner (TADR) addresses imputation bias in IIoT anomaly detection: MSE-trained imputers can smooth partially observed anomalies toward normality and create boundary artifacts that trigger false alarms. TADR is a conditional diffusion refiner trained using a frozen downstream detector's loss. To avoid backpropagating through the sampling trajectory, task-aware terms use the one-step clean-window estimate, keeping training cost comparable to plain diffusion training. In five-seed, paired Point-to-Point evaluation, it improved F1 by 0.338 over the unrefined detector on SMD (p = 0.0015); an ablation reports a 0.463 contribution from the anomaly-enhancement objective alone. Gains were associated with continuous, mutually redundant channels and removed anomaly evidence, and were absent on telemetry dominated by one-hot command channels and on PSM. At ten sampling steps, a 4.03 MB model took 41.4 ms per window on one CPU core, supporting about 24 concurrent 1 Hz streams.

### Source excerpt

arXiv:2610.40732v1 Announce Type: new Abstract: Industrial Internet of Things (IIoT) edge pipelines routinely lose contiguous blocks of multi-sensor data to network dropouts and hardware faults. The standard remedy is a disjointed "impute-then-detect" pipeline whose imputer is trained only for Mean Squared Error (MSE). Such an imputer fills a missing block with the most probable normal pattern: a partially observed anomaly is smoothed back toward normality, and boundary artifacts on normal data raise false alarms. We call this imputation bias and propose the Task-Aware Diffusion Refiner (TADR), a conditional diffusion refiner trained against the loss landscape of a frozen downstream detector. Because back-propagating through the sampling trajectory is intractable, the task-aware terms act on the one-step clean-window estimate that the noise prediction already yields, so training costs no more than plain diffusion training. Under strict Point-to-Point evaluation over five seeds with paired significance tests, TADR raises F1 by $0.338$ over the unrefined detector on SMD ($p = 0.0015$), and the anomaly enhancement objective alone contributes $0.463$ in ablation. We also characterise when the method helps: the gain tracks the continuous, mutually redundant channels available and the anomaly evidence the outage removes, and it is absent on telemetry datasets dominated by one-hot command channels and on PSM. At ten sampling steps TADR runs in $41.4$ ms per window on a single CPU core, sustaining about $24$ concurrent 1 Hz streams from a $4.03$ MB model. Code and per-seed results are available at https://github.com/int-park422/TADR.

## Introducing Modular Diffusers - Composable Building Blocks for Diffusion Pipelines

DevFeed: [Introducing Modular Diffusers - Composable Building Blocks for Diffusion Pipelines](<https://devfeed.tech/articles/introducing-modular-diffusers-composable-building-blocks-for-diffusion-pipelines-7357.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/modular-diffusers>)

Author: YiYi Xu; Alvaro Somoza; Dhruv Nair; Sayak Paul

Published: 2026-03-05T00:00:00Z

Content type: article

Language: en

Sources: [Hugging Face](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [modular-diffusers](<https://devfeed.tech/topics/modular-diffusers.md>), [diffusers](<https://devfeed.tech/topics/diffusers.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [building](<https://devfeed.tech/tags/building.md>), [data](<https://devfeed.tech/tags/data.md>), [diffusers](<https://devfeed.tech/tags/diffusers.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [generative](<https://devfeed.tech/tags/generative.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [hub](<https://devfeed.tech/tags/hub.md>), [images](<https://devfeed.tech/tags/images.md>), [inference](<https://devfeed.tech/tags/inference.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [modular-diffusers](<https://devfeed.tech/tags/modular-diffusers.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [python](<https://devfeed.tech/tags/python.md>), [qwen](<https://devfeed.tech/tags/qwen.md>), [text-to-image](<https://devfeed.tech/tags/text-to-image.md>), [text-to-video](<https://devfeed.tech/tags/text-to-video.md>), [work](<https://devfeed.tech/tags/work.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

Modular Diffusers presents diffusion pipelines as composable blocks for text encoding, image encoding, denoising, and decoding. The article explains how to run inference, build and publish custom Python blocks, compose workflows, integrate with the node-based Mellon interface, and manage model loading and memory.

### Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.