pytorch-lightning vs onyx

pytorch-lightning and onyx share 4 technologies: FastAPI, torch, docutils, and jinja2. Both are written in Python.

Read it as markdown

What they share and what sets them apart

Lightning-AI

pytorch-lightning

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

Python31.4kRead on November 7, 2026, at commit 84df182What is pytorch-lightning built with?

Only in pytorch-lightning

In common

onyx-dot-app

onyx

Open Source AI Platform - AI Chat with advanced features that works with every LLM

Python33.3kRead on November 7, 2026, at commit a757433What is onyx built with?

Only in onyx

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
pytorch-lightning138,949 lines written271 code files
onyx1,626,990 lines written3,906 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
pytorch-lightning0.1% of its commits signed by AIWith GitHub Copilot and Claude Code
onyx11.7% of its commits signed by AIWith Claude Code, Devin, Cursor, CodeRabbit, GitHub Copilot, and Sweep
ActivityFrom GitHub and its history, on the day SeeRepo read it.
pytorch-lightningLast push October 30, 202611,034 commits31,446 stars
onyxLast push November 7, 202611,391 commits33,270 stars
TestsThe files that test the code, and the share of code files a test imports.
pytorch-lightning329 test files66.1% of its code files have a test that imports them
onyx3,158 test files45.7% of its code files have a test that imports them

Frequently asked questions

Which is bigger, pytorch-lightning or onyx?
onyx, with 1,626,990 lines written; pytorch-lightning has 138,949.

The proof: onyx-dot-app/onyx's code at commit a757433

Which has more GitHub stars, pytorch-lightning or onyx?
onyx, with 33,270 stars; pytorch-lightning has 31,446.

The proof: onyx-dot-app/onyx on GitHub

Which has more tests, pytorch-lightning or onyx?
onyx, with 3,158 test files; pytorch-lightning has 329.

The proof: onyx-dot-app/onyx's code at commit a757433

Which was updated more recently, pytorch-lightning or onyx?
onyx: its last push was on November 7, 2026, and pytorch-lightning's on October 30, 2026.

The proof: onyx-dot-app/onyx's commits on GitHub

Which has more commits signed by AI, pytorch-lightning or onyx?
onyx: an AI signed 11.7% of its commits, with Claude Code, Devin, Cursor, CodeRabbit, GitHub Copilot, and Sweep; in pytorch-lightning, 0.1%.

The proof: the commits each tool signed in onyx-dot-app/onyx

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →