DeepSpeed vs ray

DeepSpeed and ray share 14 technologies: accelerate, sentencepiece, torch, transformers, triton, einops, diffusers, safetensors, lm-eval, torchvision, xgboost, docutils, Pydantic, and psutil. Both are written in Python.

Read it as markdown

What they share and what sets them apart

deepspeedai

DeepSpeed

DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.

Python43.3kRead on November 6, 2026, at commit f47dc3eWhat is DeepSpeed built with?

Only in DeepSpeed

  • sphinx-rtd-theme
  • comet-ml
  • liger-kernel

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.2kRead on November 6, 2026, at commit 77567c5What is ray built with?

Only in ray

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
DeepSpeed247,033 lines written760 code files
ray1,531,664 lines written2,777 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.
DeepSpeed2.7% of its commits signed by AIWith GitHub Copilot, Cursor, and Claude Code
ray3.6% 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.
DeepSpeedLast push November 6, 20263,619 commits43,302 stars
rayLast push November 6, 202632,373 commits44,213 stars
TestsThe files that test the code, and the share of code files a test imports.
DeepSpeed395 test files33% of its code files have a test that imports them
ray2,168 test files9.7% of its code files have a test that imports them

Frequently asked questions

Which is bigger, DeepSpeed or ray?
ray, with 1,531,664 lines written; DeepSpeed has 247,033.

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

Which has more GitHub stars, DeepSpeed or ray?
ray, with 44,213 stars; DeepSpeed has 43,302.

The proof: ray-project/ray on GitHub

Which has more tests, DeepSpeed or ray?
ray, with 2,168 test files; DeepSpeed has 395.

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

Which was updated more recently, DeepSpeed or ray?
Both got their last push on November 6, 2026.

The proof: deepspeedai/DeepSpeed's commits on GitHub

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

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 →