# open-mmlab/mmgeneration

MMGeneration is a powerful toolkit for generative models, based on PyTorch and MMCV.

Repository: https://github.com/open-mmlab/mmgeneration
Canonical: https://ross.abutalabs.com/products/mmgeneration
Homepage: https://mmgeneration.readthedocs.io/en/latest/
Language: Python
License: Apache-2.0
License Family: permissive
Topics: generative, gan, pytorch, mmcv, openmmlab, generative-adversarial-network, diffusion-models
Last push: 2023-09-05T13:15:50+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1967, "days_push": 1093, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2012, forks 230 (observed 2026-08-28T04:06:05.142314+00:00)

## What it is
MMGeneration is a PyTorch-based toolkit from OpenMMLab for training and applying generative models, with a focus on GANs and support for diffusion-based text-to-image models. It has been merged into MMEditing 1.x, which now hosts its ongoing development and new features.

## Use cases
- train a GAN like StyleGAN2 or BigGAN on my own dataset
- generate images with pretrained generative models
- run text-to-image generation with stable diffusion or GLIDE
- experiment with unconditional and conditional image generation in PyTorch
- benchmark generative adversarial networks with FID and IS metrics
- interpolate and edit latent codes of a pretrained GAN

## When to choose
- you want a modular, config-driven PyTorch framework for GAN research
- you need pretrained model zoos for GANs and diffusion models
- you are already using the OpenMMLab ecosystem (MMCV, MMEditing)

## When to avoid
- you need active development or the newest models - use MMEditing 1.x instead
- you want a simple one-off inference script without a framework
- you work outside PyTorch or need non-image generative tasks

## Facets
- artifact type: library
- maturity: maintenance
- function: machine-learning, deep-learning, image-processing
- domain: deep-learning, machine-learning, computer-vision, image-processing
- platform: python
- tags: gan, generative-models, diffusion-models, pytorch, mmcv, openmmlab, text-to-image, model-zoo, linux, gpu

## Member repositories
- open-mmlab/mmgeneration (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:05.142314+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:01:02.785423+00:00, confidence not recorded.
  - readme: https://github.com/open-mmlab/mmgeneration (fetched 2026-08-28T04:06:05.142314+00:00, sha 8a3715c4145c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
