{"adoption": {"forks": 401, "observed_at": "2026-08-28T04:07:03.298325+00:00", "stars": 2600}, "canonical_url": "https://ross.abutalabs.com/products/k-diffusion", "card": {"archived": false, "artifact_type": "library", "description": "Karras et al. (2022) diffusion models for PyTorch", "domain": ["machine-learning", "deep-learning", "image-processing"], "enriched": true, "function": ["machine-learning", "deep-learning", "image-processing"], "health_score": 64, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["crowsonkb/k-diffusion"], "name": "crowsonkb/k-diffusion", "platform": ["python"], "pushed_at": "2026-02-12T18:38:38+00:00", "repo": "crowsonkb/k-diffusion", "stars": 2600, "tags": ["diffusion-models", "pytorch", "generative-models", "karras-diffusion", "image-generation", "sampling-algorithms", "transformer", "research", "gpu"], "topics": [], "urls": [], "use_cases": ["train diffusion models for image generation in pytorch", "implement Karras et al 2022 diffusion sampling", "generate images with a diffusion transformer", "experiment with improved diffusion samplers", "train a text-to-image or class-conditional diffusion model", "research diffusion model design space"], "what_it_is": "A PyTorch library implementing Karras et al. (2022) diffusion models with enhancements like improved sampling algorithms and transformer-based diffusion architectures. It includes an hourglass diffusion transformer model type for image generation and training utilities.", "when_to_avoid": ["you need a production image generation API with pretrained checkpoints out of the box", "you want a high-level framework like Hugging Face Diffusers with broad model support", "you work outside PyTorch or lack GPU resources", "you need simple plug-and-play inference without understanding diffusion internals"], "when_to_choose": ["you need a faithful, enhanced implementation of Karras 2022 diffusion models in PyTorch", "you want state-of-the-art diffusion samplers like DPM++ or Heun", "you want to train or use hourglass diffusion transformer architectures", "you are doing research on diffusion model training and sampling"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/k-diffusion", "repo": "crowsonkb/k-diffusion", "role": "main", "score": 53}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:03.298325+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:21:16.915623+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fcf1e455484d45907fc6b4c88dcbca96b439eda0f3077521f19751505a25aaa6", "fetched_at": "2026-08-28T04:07:03.298325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/crowsonkb/k-diffusion"}, {"content_hash": "13bc1ddae92ca3700e288dee800ac0ea1cdc95ed782e5ed5b75a53c462b2dd58", "fetched_at": "2026-08-29T10:04:08.265290+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/k-diffusion/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 67, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1534, "days_push": 202, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 53, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}