Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-19 23:41 UTC

Lightning-AI / pytorch-lightning

Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.

PythonApache-2.0★ 31,465 stars⑂ 3,865 forkssince Mar 2019View on GitHub ↗

Lightning-AI/pytorch-lightning holds a health index of 95 out of 100, placing it in the Exceptional band. It scores highest on Community & Adoption (95/100) and lowest on Security (64/100). It was last updated 3 days ago. 3 contributors account for most of its recent work.

95
overall / 100
Exceptional

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

95
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 82 is calibrated to 95 on the published index scale (record calibration 2026-08-02).

Ownership

6,890 followers30 public repossince Dec 2019

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIassistantpoints to another repo — not scored2.2.2b1671502 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

88Excellent · 21% of overall
How it's scored
36/36Push recency — last push 3 days ago
23.5/36Commit cadence — 34/52 weeks with commits
18/18Commit volume — 198 commits in the last year
0/10OpenSSF Scorecard: Maintained — no data
Inputs used
Commits in the last year198
Share of human-authored commits0.78
Days since last push3
Weeks with commits in the last year34
How it's scored
27/27Ships releases — 100 releases published
36/36Release recency — latest release 70 days ago
19.8/27Release cadence — a release every ~49.6 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases100
Latest release tag2.6.6
Releases derived from version tagsno
Days since latest release70
Mean days between releases49.6

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

95Exceptional · 17% of overall
How it's scored
60/60Stars — 31,465 stars
25/25Forks — 3,865 forks
13.4/15Watchers — 259 watchers
Inputs used
Forks3,865
Stars31,465
Watchers259
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

Community health

92Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README10
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the READMEbadge.fury.io, codecov.io, dev.azure.com, github.com, shields.io
Pull request template presentyes

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

75Good · 23% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
16.6/22.5Commit distribution — top contributor authored 26% of commits
13.5/13.5Contributor breadth — 97 contributors
0/10OpenSSF Scorecard: Contributors — no data
Inputs used
Bus factor3
Contributors sampled97
Share of commits by the top contributor0.26
How it's scored
37.2/42Issue resolution — 88% of issues closed
25.6/30PR acceptance — 9,422/11,056 decided PRs merged
0/13Newcomer PR acceptance — 0/9 first-time contributors' PRs merged in 30d
0/15OpenSSF Scorecard: Code-Review — no data
Inputs used
Merged pull requests9,422
Open issues874
Closed issues6,747
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days1
Pull requests merged in the last 30 days0
Pull requests decided in the last 30 days9
Share of issues closed0.885
Pull requests closed without merging1,634
First-time contributors with a pull request decided in the last 30 days8
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days9
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
25/25Owner reach — 6,890 followers of Lightning-AI
22.9/25Track record — 30 public repos, account ~6 yr old
Inputs used
Followers6,890
Owner account typeOrganization
Verified domainno
Owner accountLightning-AI
Public repositories30
Owner account age in days2,545

Engineering Quality

Are baseline engineering and documentation practices in place?

91Excellent · 19% of overall
How it's scored
24/24CI workflows — 17 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff], [tool.black])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests — no data
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentyes

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://lightning.ai/pytorch-lightning/?utm_source=ptl_readme&utm_medium=referral&utm_campaign=ptl_readme
10/10Repository description
10/10Topics — 7 topics
0/10Wiki
Inputs used
Repository topicspython, deep-learning, artificial-intelligence, ai, pytorch, data-science, machine-learning
Wiki enabledno
Repository homepagehttps://lightning.ai/pytorch-lightning/?utm_source=ptl_readme&utm_medium=referral&utm_campaign=ptl_readme
Documentation sitehttps://lightning.ai/pytorch-lightning/?utm_source=ptl_readme&utm_medium=referral&utm_campaign=ptl_readme
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

64Moderate · 16% of overall
How it's scored
30/30Security policy (SECURITY.md)
25/25Dependabot config
0/25Dependency lockfiles
0/20CodeQL workflow
Inputs used
Data sourcefile_signals
Dependency lockfiles—
Dependency manifests.actions/requirements.txt, pyproject.toml, requirements.txt, setup.py
CodeQL workflow presentno
Security policy (SECURITY.md) presentyes
Dependabot config presentyes

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages7
Packages affected by advisories2
Packages assessed17
Packages not assessed86
Affected packages by severityhigh 1, moderate 1
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 17 resolved dependencies against OSV. 86 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

77Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
15/15Machine-readable docs (llms.txt) — llms.txt served by the project website (https://lightning.ai/llms.txt)
40/40Legible commit history — 76 of 78 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentyes
llms.txt address on the project websitehttps://lightning.ai/llms.txt
Share of human commits that state their intent0.974
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
18/18One-command bootstrap — Makefile, docs/source-fabric/Makefile, docs/source-pytorch/Makefile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff], [tool.black])
11/11Static type checking — src/lightning/py.typed, src/lightning_fabric/py.typed, src/pytorch_lightning/py.typed
0/10Reproducible environment
6/10Demonstrated agent practice — 3 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 21 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — no data
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfiles—
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesMakefile, docs/source-fabric/Makefile, docs/source-pytorch/Makefile
Dev container config presentno
Linter config presentyes
Static type-check config filessrc/lightning/py.typed, src/lightning_fabric/py.typed, src/pytorch_lightning/py.typed
Share of commits authored by or credited to coding agents0.03
Toolchain manifests—
Share of commits that are automated dependency updates0.21
How it's scored
27/45Type-checkable code — Python with type-check config (src/lightning/py.typed, src/lightning_fabric/py.typed, src/pytorch_lightning/py.typed)
54.6/55Manageable file sizes — 5/648 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)82,856
Source files sampled648
Oversized source files5
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — demos, examples, notebooks
Inputs used
Runnable example directoriesdemos, examples, notebooks
MCP server signal presentno
API schema files—
Software kinds for which an interface is expected—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

31,465GitHub stars
97contributors
198commits, last 12 months
3days since last push
100releases
3bus factor
874open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • pypi package 'assistant' points at a different repository (https://gitlab.com/waser-technologies/technologies/assistant); excluded from ecosystem scoring
  • deps.dev does not index pypi:assistant@2.2.2b1; advisories assessed against the repository dependency graph instead
  • OpenSSF Scorecard did not return a usable result (killed by SIGKILL — most likely the container's memory limit); skipping Scorecard checks

More detail

Star and fork history 0 ★ / 3,865 ⇿
0Stars
3,865Forks
30Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

Only the most recent history is shown — this repository exceeds the collection window, so the earliest history is not captured.

2,5003,0003,5004,0003,865442023-122025-052026-11
Major 0Minor 5Patch 20

Each point covers 3 days.

All dependencies 103

Full resolved dependency set from the GitHub dependency graph: 0 direct and 103 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
PyPIawscli—indirect
PyPIbitsandbytes—indirect
PyPIclick8.1.8indirect
PyPIclick8.3.1indirect
PyPIcloudpickle—indirect
PyPIcoverage7.10.7indirect
PyPIcoverage7.13.5indirect
PyPIdeepspeed—indirect
PyPIdocutils—indirect
PyPIfastapi—indirect
PyPIfire—indirect
PyPIfsspec—indirect
PyPIgymnasium—indirect
PyPIhuggingface-hub—indirect
PyPIhydra-core—indirect
PyPIimportlib-metadata—indirect
PyPIipython—indirect
PyPIjinja2—indirect
PyPIjsonargparse—indirect
PyPIjupytext—indirect
PyPIlai-sphinx-theme—indirect
PyPIlightning—indirect
PyPIlightning-utilities—indirect
PyPIlitdata—indirect
PyPImatplotlib—indirect
PyPImoviepy—indirect
PyPImypy1.20.0indirect
PyPImyst-parser—indirect
PyPInbconvert—indirect
PyPInbformat—indirect
PyPInbsphinx—indirect
PyPInumpy—indirect
PyPIomegaconf—indirect
PyPIonnx—indirect
PyPIonnx-ir—indirect
PyPIonnxruntime—indirect
PyPIonnxscript—indirect
PyPIpackaging—indirect
PyPIpandas—indirect
PyPIpandoc—indirect
PyPIpapermill—indirect
PyPIpip—indirect
PyPIpkginfo1.12.1.2indirect
PyPIpsutil—indirect
PyPIpytest9.0.2indirect
PyPIpytest-cov7.0.0indirect
PyPIpytest-doctestplus1.7.1indirect
PyPIpytest-random-order1.2.0indirect
PyPIpytest-rerunfailures16.0.1indirect
PyPIpytest-rerunfailures16.1indirect
PyPIpytest-timeout2.4.0indirect
PyPIpyyaml—indirect
PyPIrequests—indirect
PyPIrich—indirect
PyPIscikit-learn—indirect
PyPIsetuptools—indirect
PyPIsphinx—indirect
PyPIsphinx-autobuild—indirect
PyPIsphinx-autodoc-typehints—indirect
PyPIsphinx-copybutton—indirect
PyPIsphinx-multiproject—indirect
PyPIsphinx-paramlinks—indirect
PyPIsphinx-rtd-dark-mode—indirect
PyPIsphinx-togglebutton—indirect
PyPIsphinx-toolbox4.1.2indirect
PyPIsphinxcontrib-fulltoc—indirect
PyPIsphinxcontrib-mockautodoc—indirect
PyPIsphinxcontrib-video0.4.2indirect
PyPItensorboard—indirect
PyPItensorboardx—indirect
PyPItomlkit—indirect
PyPItorch—indirect
PyPItorch2.9.1indirect
PyPItorch-tensorrt—indirect
PyPItorchao—indirect
PyPItorchmetrics—indirect
PyPItorchvision—indirect
PyPItqdm—indirect
PyPItwine6.2.0indirect
PyPItypes-bleach—indirect
PyPItypes-cachetools—indirect
PyPItypes-croniter—indirect
PyPItypes-decorator—indirect
PyPItypes-markdown—indirect
PyPItypes-paramiko—indirect
PyPItypes-protobuf—indirect
PyPItypes-python-dateutil—indirect
PyPItypes-pyyaml—indirect
PyPItypes-redis—indirect
PyPItypes-requests—indirect
PyPItypes-setuptools—indirect
PyPItypes-six—indirect
PyPItypes-tabulate—indirect
PyPItypes-toml—indirect
PyPItypes-tzlocal—indirect
PyPItypes-ujson—indirect
PyPItyping-extensions—indirect
PyPIurllib3—indirect
PyPIuvicorn—indirect
PyPIvirtualenv—indirect
PyPIwcmatch—indirect
PyPIwget—indirect
PyPIwheel—indirect
Dependency advisories 2

This repository publishes no package the index resolves, so its own dependency graph was assessed — 17 packages, which also include development and test pins that never ship: 2 carry known advisories, of which 0 are direct. 86 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
torch2.9.1indirecthigh52.13.0
pytest9.0.2indirectmoderate29.0.3

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — PyPI.