ByteDance and Stanford open-source Spectrum to 4x diffusion speeds
ByteDance and Stanford researchers just open-sourced Spectrum, a training-free framework that accelerates image and video diffusion models by up to 4.7x. By forecasting future step trajectories with Chebyshev polynomials, it lets models like FLUX.1 and Hunyuan Video generate outputs much faster with virtually no drop in quality.

Spectrum is a training-free acceleration framework for image and video diffusion models, open-sourced by researchers from Stanford University and ByteDance. Basically, it lets you boost the generation speed of models like FLUX.1 and Hunyuan Video by 3.5x to 4.7x without retraining weights or visibly compromising output quality.
How it speeds up diffusion without ruining quality
Standard diffusion models produce images or video frames by grinding through dozens of denoising passes step by step. Every additional step burns more GPU cycles and adds noticeable latency.
Spectrum tackles this by treating internal latent features across denoising steps as continuous functions over time. Instead of running heavy network passes at every single tick, it fits these trajectories using Chebyshev polynomials combined with ridge regression. It then forecasts features across multiple upcoming diffusion steps and reuses them.
Because the mathematical error bound of this spectral predictor does not compound aggressively with larger step sizes, it avoids the nasty artifacts and color shifts that usually plague simple feature-reuse or interpolation methods.
Real-world numbers and ecosystem support
In benchmarks, Spectrum achieved up to a 4.79x speedup on FLUX.1 while delivering images that are virtually indistinguishable from the baseline. On the video front, Wan2.1-14B saw up to a 4.67x leap in throughput.
For Hunyuan Video, baseline inference typically takes 50 denoising steps. Spectrum cuts that down to just 14 actual forward passes, translating to a 3.5x speedup. Compared to alternative baselines like Taylor-based forecasting, which often introduce distorted textures or degraded palettes, Spectrum keeps both motion continuity and visual fidelity intact.
In terms of tooling, the framework supports FLUX.1, SDXL, Stable Diffusion 3.5-Large, and Hunyuan Video. Beyond the core research repo, it has already been integrated upstream into the SGLang serving engine for production deployments. Community developers have also built ComfyUI-Spectrum custom nodes, so creators do not have to touch raw command-line scripts to use it.
How to get started
The full source code is available on GitHub under hanjq17/Spectrum. It requires a clean Python 3.10 environment along with standard packages including PyTorch, diffusers, transformers, and hydra-core.
Once model weights are downloaded from Hugging Face, you can run generation out of the box via src/text_to_image.py or src/text_to_video.py. Hyperparameters like window size and forecasting weights let you tune how aggressively to trade off speed and fidelity. For everyday creators, pulling the ComfyUI wrapper is by far the simplest path.
Why it matters
We think Spectrum is a big win for indie creators and developers running diffusion workloads on limited hardware. Large video models are notoriously heavy, and Spectrum gives you a massive latency cut without requiring days of distillation or expensive retraining runs.
It proves that clever trajectory forecasting in feature space can rival complex distillation pipelines while remaining purely plug-and-play. If you run heavy diffusion batches or want snappier turnaround in ComfyUI, this is definitely worth dropping into your workflow right away.
Sources (1)
- github.com(opens in a new tab)Originalgithub.com