{"adoption": {"forks": 138, "observed_at": "2026-08-28T04:04:54.176279+00:00", "stars": 1500}, "canonical_url": "https://ross.abutalabs.com/products/torchstat", "card": {"archived": false, "artifact_type": "library", "description": "Model analyzer in PyTorch", "domain": ["deep-learning", "machine-learning", "developer-tools", "performance"], "enriched": true, "function": ["benchmarking", "developer-tools", "cli"], "health_score": 20, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["Swall0w/torchstat"], "name": "Swall0w/torchstat", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2023-03-19T03:13:59+00:00", "repo": "Swall0w/torchstat", "stars": 1500, "tags": ["pytorch", "model-analysis", "flops", "memory-usage", "neural-networks", "profiling"], "topics": ["pytorch", "python"], "urls": [], "use_cases": ["count total parameters in a PyTorch model", "estimate FLOPs and multiply-adds of a neural network", "measure memory usage of model layers", "profile layer-by-layer compute cost of a network", "debug PyTorch model architecture statistics"], "what_it_is": "torchstat is a lightweight neural network analyzer for PyTorch that reports parameter counts, FLOPs, multiply-adds, and memory usage per layer. It can be used as a CLI tool or imported as a Python module to profile nn.Module models.", "when_to_avoid": ["you need support for ops like Dropout2d or newer PyTorch modules", "you need actively maintained tooling with modern PyTorch compatibility", "you need runtime profiling rather than theoretical estimates"], "when_to_choose": ["you need quick parameter/FLOPs/memory stats for a PyTorch nn.Module", "you want a simple CLI or one-line stat() call for model analysis"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/torchstat", "repo": "Swall0w/torchstat", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/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:04:54.176279+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:54.176279+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:32:58.912590+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88a727fbee2413c32936c9a45cee0db3e68ac967156e6a20493eb894ffbb42cd", "fetched_at": "2026-08-28T04:04:54.176279+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Swall0w/torchstat"}, {"content_hash": "bd06d78c662835f7ffa2c4062cb9183872eb1c3eac0338dbe94a0739f1bbe690", "fetched_at": "2026-08-29T11:37:54.604041+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchstat/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "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": 2868, "days_push": 1263, "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}}