{"adoption": {"forks": 344, "observed_at": "2026-08-28T04:05:58.983667+00:00", "stars": 1956}, "canonical_url": "https://ross.abutalabs.com/products/once-for-all", "card": {"archived": false, "artifact_type": "library", "description": "[ICLR 2020] Once for All: Train One Network and Specialize it for Efficient Deployment", "domain": ["machine-learning", "deep-learning", "computer-vision", "embedded-systems", "gpu-computing"], "enriched": true, "function": ["machine-learning", "deep-learning", "llm-training"], "health_score": 20, "homepage": "https://ofa.mit.edu/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["mit-han-lab/once-for-all"], "name": "mit-han-lab/once-for-all", "platform": ["python", "cross-platform"], "pushed_at": "2023-12-14T04:44:52+00:00", "repo": "mit-han-lab/once-for-all", "stars": 1956, "tags": ["neural-architecture-search", "automl", "model-compression", "tinyml", "edge-ai", "progressive-shrinking", "efficient-inference", "imagenet", "pytorch", "gpu"], "topics": ["tinyml", "edge-ai", "efficient-model", "acceleration", "nas", "automl"], "urls": [], "use_cases": ["deploy image classification models on mobile and edge devices", "run neural architecture search without retraining from scratch", "specialize one trained network for many hardware targets", "compress a model by depth, width, kernel size, and resolution", "achieve high ImageNet accuracy under mobile latency budgets", "benchmark efficient models on CPU, DSP, and FPGA"], "what_it_is": "Once-for-All (OFA) is a PyTorch library implementing the ICLR 2020 Once-for-All network, which trains a single supernet that can be specialized into many efficient sub-networks for different devices and latency constraints. It provides a pretrained model zoo, progressive shrinking training, and sub-network sampling/search for efficient edge deployment.", "when_to_avoid": ["you need general-purpose model training unrelated to architecture search", "you want actively developed tooling - the project is research code with infrequent updates", "your target is LLM or generative model efficiency rather than vision classification"], "when_to_choose": ["you need efficient vision models for diverse edge hardware without per-device retraining", "you want pretrained MobileNetV3/ResNet50-style supernet weights to sample sub-networks from", "you are researching NAS, AutoML, or model compression"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/once-for-all", "repo": "mit-han-lab/once-for-all", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "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:05:58.983667+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:58.983667+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:06:13.992468+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9df88418bb27c380a881a568101cf22a9491cb11e2bdad0126489fc45dd5d49f", "fetched_at": "2026-08-28T04:05:58.983667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mit-han-lab/once-for-all"}, {"content_hash": "12901d48b05123c3baef43706eecea18baa6bcad8e64457c6eb127e86960984b", "fetched_at": "2026-08-29T10:46:09.742580+00:00", "kind": "homepage", "missing": false, "url": "https://ofa.mit.edu/"}, {"content_hash": "4be659389a862115fec4592dcbd5afb19977b65ed3c13df9474edea5685b1ab5", "fetched_at": "2026-08-29T10:46:09.745360+00:00", "kind": "site_page", "missing": false, "url": "https://hanlab.mit.edu/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "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": 2432, "days_push": 993, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}