litgpt vs ray

litgpt and ray share 5 technologies: Lightning, safetensors, torch, tokenizers, and psutil. Both are written in Python.

Read it as markdown

What they share and what sets them apart

Lightning-AI

litgpt

20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.

Python13.7kRead on November 9, 2026, at commit 4738993What is litgpt built with?

In common

ray-project

ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

Python44.3kRead on November 10, 2026, at commit c99c603What is ray built with?

Only in ray

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
litgpt33,622 lines written64 code files
ray1,551,053 lines written2,797 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.
litgpt0.3% of its commits signed by AIWith Claude Code and GitHub Copilot
ray3.7% of its commits signed by AIWith Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex
ActivityFrom GitHub and its history, on the day SeeRepo read it.
litgptLast push November 1, 20261,499 commits13,746 stars
rayLast push November 10, 202632,424 commits44,251 stars
TestsThe files that test the code, and the share of code files a test imports.
litgpt57 test files57.8% of its code files have a test that imports them
ray2,192 test files9.5% of its code files have a test that imports them

Frequently asked questions

Which is bigger, litgpt or ray?
ray, with 1,551,053 lines written; litgpt has 33,622.

The proof: ray-project/ray's code at commit c99c603

Which has more GitHub stars, litgpt or ray?
ray, with 44,251 stars; litgpt has 13,746.

The proof: ray-project/ray on GitHub

Which has more tests, litgpt or ray?
ray, with 2,192 test files; litgpt has 57.

The proof: ray-project/ray's code at commit c99c603

Which was updated more recently, litgpt or ray?
ray: its last push was on November 10, 2026, and litgpt's on November 1, 2026.

The proof: ray-project/ray's commits on GitHub

Which has more commits signed by AI, litgpt or ray?
ray: an AI signed 3.7% of its commits, with Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex; in litgpt, 0.3%.

The proof: the commits each tool signed in ray-project/ray

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 →