{"adoption": {"forks": 432, "observed_at": "2026-08-28T04:08:47.224095+00:00", "stars": 4390}, "canonical_url": "https://ross.abutalabs.com/products/onnxsim", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Simplify your onnx model", "domain": ["deep-learning", "machine-learning", "developer-tools"], "enriched": true, "function": ["machine-learning", "compiler", "developer-tools"], "health_score": 100, "homepage": "https://onnxsim.github.io/onnxsim/", "language": "C++", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["onnxsim/onnxsim"], "name": "onnxsim/onnxsim", "platform": ["python", "cpp", "cli", "browser", "wasm", "cross-platform"], "pushed_at": "2026-08-26T14:47:40+00:00", "repo": "onnxsim/onnxsim", "stars": 4390, "tags": ["onnx", "constant-folding", "graph-optimization", "shape-inference", "model-optimization", "pytorch"], "topics": ["deep-learning", "onnx", "pytorch"], "urls": [], "use_cases": ["simplify an onnx model exported from pytorch", "remove redundant operators from an onnx graph via constant folding", "fuse batchnorm into conv in an onnx model", "run shape inference on an onnx model", "verify a simplified onnx model produces the same outputs as the original", "optimize onnx models before deploying to mobile or edge runtimes", "inspect and simplify onnx models in the browser without uploading them"], "what_it_is": "ONNX Simplifier (onnxsim) is a tool that simplifies ONNX models by inferring the whole computation graph and replacing redundant operators with their constant outputs via constant folding. It is available as a Python package/CLI, a C++ tool, and a WebAssembly build that runs entirely in the browser.", "when_to_avoid": ["you need to train or quantize models rather than simplify inference graphs", "you work with non-ONNX model formats like raw TensorFlow or PyTorch checkpoints", "you need a full model conversion framework rather than a simplifier"], "when_to_choose": ["you exported a model to ONNX and the graph is more complicated than expected", "you want smaller, faster-loading ONNX models for inference deployment", "you need to fold constants or apply graph optimization passes to ONNX models", "you want a privacy-preserving, browser-based ONNX simplification tool"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/onnxsim", "repo": "onnxsim/onnxsim", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "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:08:47.224095+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.224095+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:21:12.889679+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5bb16ad52010ba188131488066af9ca86d931d6336f7ea8b84aa70ce4bef07af", "fetched_at": "2026-08-28T04:08:47.224095+00:00", "kind": "readme", "missing": false, "url": "https://github.com/onnxsim/onnxsim"}, {"content_hash": "09734c4e63335d988034519687c60959c5dfd43825f7d44ad27fd8769d100493", "fetched_at": "2026-08-29T09:09:09.248074+00:00", "kind": "homepage", "missing": false, "url": "https://onnxsim.github.io/onnxsim/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 97}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2711, "days_push": 7, "days_rel": 21, "gap_med": 7, "n_releases_24m": 10}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}