Ross ROSS = Recommend OSS · open-source software intelligence for agents

dbolya/tomesd

Speed up Stable Diffusion with this one simple trick! observed · 2026-08-28

github.com/dbolya/tomesd · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

21/100

  • Activity 0
  • Release rhythm 8
  • Longevity 89
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1255
  • days_rel: n/a
  • days_push: 1008
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1404 stars · 81 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

ToMe for SD is a Python/PyTorch library that speeds up Stable Diffusion image generation by merging redundant tokens in the underlying transformer blocks. It requires no training, works out of the box with any Stable Diffusion model, and reduces both inference time and memory usage with minimal quality loss.

Use cases

  • speed up stable diffusion image generation
  • reduce gpu memory usage when generating images with stable diffusion
  • make diffusion inference faster without retraining the model
  • apply token merging to stable diffusion pipelines
  • generate large images like 2048x2048 faster with stable diffusion

When to choose

  • you use Stable Diffusion and want faster generation with minimal quality loss
  • you need to reduce VRAM usage during diffusion inference
  • you want a training-free, drop-in optimization for any Stable Diffusion model

When to avoid

  • you need bit-exact identical outputs to the original model (merging is lossy)
  • you use diffusion models other than Stable Diffusion
  • you need actively maintained software with recent updates

Facets

library · maturity maintenance

image-processing machine-learning stable-diffusion gpu-computing image-processing deep-learning artificial-intelligence python token-merging diffusion-models inference-optimization pytorch research-paper gpu

2 sources

Member repositories

RepositoryRoleHealth v2
dbolya/tomesdmain21

For agents

markdown · JSON · MCP: product_card(name="dbolya/tomesd")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem