Ross ROSS = Recommend OSS · open-source software intelligence for agents

pytorch/cpuinfo

CPU INFOrmation library (x86/x86-64/ARM/ARM64, Linux/Windows/Android/macOS/iOS) observed · 2026-08-28

github.com/pytorch/cpuinfo · C · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

75/100

  • Activity 95
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3470
  • days_rel: n/a
  • days_push: 34
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1187 stars · 411 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

library · maturity stable

developer-tools sdk developer-tools hardware performance cross-platform windows cross-platform cpp c cpu-detection cpu-topology instruction-set cpu-cache cpuid big-little hardware-info linux macos android ios

1 source

Member repositories

RepositoryRoleHealth v2
pytorch/cpuinfomain75

For agents

markdown · JSON · MCP: product_card(name="pytorch/cpuinfo")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem