{"adoption": {"forks": 411, "observed_at": "2026-08-28T04:03:55.301290+00:00", "stars": 1187}, "canonical_url": "https://ross.abutalabs.com/products/cpuinfo", "card": {"archived": false, "artifact_type": "library", "description": "CPU INFOrmation library (x86/x86-64/ARM/ARM64, Linux/Windows/Android/macOS/iOS)", "domain": ["developer-tools", "hardware", "performance", "cross-platform"], "enriched": true, "function": ["developer-tools", "sdk"], "health_score": 77, "homepage": null, "language": "C", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["pytorch/cpuinfo"], "name": "pytorch/cpuinfo", "platform": ["windows", "cross-platform", "cpp", "c"], "pushed_at": "2026-07-30T17:32:33+00:00", "repo": "pytorch/cpuinfo", "stars": 1187, "tags": ["cpu-detection", "cpu-topology", "instruction-set", "cpu-cache", "cpuid", "big-little", "hardware-info", "linux", "macos", "android", "ios"], "topics": ["cpu", "cpu-model", "instruction-set", "cpu-cache", "cpu-topology", "cpuid"], "urls": [], "use_cases": ["detect which SIMD instruction sets the host CPU supports", "get CPU cache sizes and topology for performance tuning", "identify CPU microarchitecture at runtime to dispatch optimized code paths", "query processor name and vendor on mobile and desktop platforms", "handle heterogeneous cores like big.LITTLE in thread scheduling", "check if ARM NEON or x86 AVX is available before running optimized kernels"], "what_it_is": "A C/C++ library that detects CPU information essential for performance optimization, including supported instruction sets, cache details, core microarchitectures, and topology. It works across x86/x86-64/ARM/ARM64 architectures on Linux, Windows, macOS, Android, iOS, and FreeBSD.", "when_to_avoid": ["you only need basic CPU counts or simple feature flags available via OS APIs or std::thread::hardware_concurrency", "you work in a language ecosystem with its own CPU detection (e.g., Python's cpuinfo package)", "you need GPU or other hardware information, not CPU details"], "when_to_choose": ["you need reliable, production-quality CPU feature and topology detection across multiple OSes and architectures", "you are writing performance-critical C/C++ code that dispatches based on CPU capabilities", "you target heterogeneous mobile SoCs and need per-core microarchitecture or cache info"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cpuinfo", "repo": "pytorch/cpuinfo", "role": "main", "score": 75}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "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:03:55.301290+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:55.301290+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:23:43.605095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4a7aa434a6529aa130120fd846fbd120580bc9fcb053355e1bef22d4739a1e87", "fetched_at": "2026-08-28T04:03:55.301290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/cpuinfo"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 95, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3470, "days_push": 34, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 75, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}