Source: https://seerepo.com/compare/hpcaitech/ColossalAI/vs/ray-project/ray
Markdown source: https://seerepo.com/compare/hpcaitech/ColossalAI/vs/ray-project/ray.md
Description: ColossalAI and ray share 37 technologies: FastAPI, uvicorn, Hugging Face, anyio, Ray, Gradio, matplotlib, Rich, SQLAlchemy, scikit-learn, tiktoken, torch, transformers, LangChain, triton, peft, diffusers, datasets, timm, safetensors, bitsandbytes, einops, accelerate, sentencepiece, tokenizers, torchaudio, torchvision, jinja2, markdown-it-py, markupsafe, mdurl, pillow, jsonlines, annotated-types, pydantic-core, Pydantic, and psutil. Both are written in Python.

# ColossalAI vs ray

ColossalAI and ray share 37 technologies: FastAPI, uvicorn, Hugging Face, anyio, Ray, Gradio, matplotlib, Rich, SQLAlchemy, scikit-learn, tiktoken, torch, transformers, LangChain, triton, peft, diffusers, datasets, timm, safetensors, bitsandbytes, einops, accelerate, sentencepiece, tokenizers, torchaudio, torchvision, jinja2, markdown-it-py, markupsafe, mdurl, pillow, jsonlines, annotated-types, pydantic-core, Pydantic, and psutil. Both are written in Python.

- [hpcaitech/ColossalAI](https://seerepo.com/r/hpcaitech/ColossalAI): Making large AI models cheaper, faster and more accessible
- [ray-project/ray](https://seerepo.com/r/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.

## What they share and what sets them apart

- In common: FastAPI, uvicorn, Hugging Face, anyio, Ray, Gradio, matplotlib, Rich, SQLAlchemy, scikit-learn, tiktoken, torch, transformers, LangChain, triton, peft, diffusers, datasets, timm, safetensors, bitsandbytes, einops, accelerate, sentencepiece, tokenizers, torchaudio, torchvision, jinja2, markdown-it-py, markupsafe, mdurl, pillow, jsonlines, annotated-types, pydantic-core, Pydantic, psutil
- Only in ColossalAI: chromadb, seaborn, ModelScope, OpenAI, sentence-transformers, flash-attn, vLLM, galore-torch, math-verify, pypdf, unstructured
- Only in ray: amqp, async-lru, azure-common, azure-datalake-store, azure-storage-blob, confluent-kafka, diskcache, expiringdict, gitdb, google-cloud-core, h5py, kombu, pickleshare, pylance, pymongo, pyarrow, aioboto3, MongoDB, Redis, adlfs, smart-open, pyiceberg, pymysql, clickhouse-connect, deltalake, gcsfs, Celery, fastavro, pyzmq, s3fs, webdataset, Google, Google Cloud Storage, Kafka, asgiref, Flask, flask-cors, graphene, graphql-core, graphql-relay, jupyter-core, jupyterlab-server, werkzeug, starlette, AIOHTTP, Lightning, tornado, React, react-router-dom, alabaster, cycler, fonttools, jupyterlab-pygments, pydata-sphinx-theme, soupsieve, sphinx-design, tinycss2, contourpy, glfw, jupyter-server-terminals, jupyterlab-widgets, matplotlib-inline, Plotly, prompt-toolkit, pyopengl, Textual, widgetsnbextension, xyzservices, ipywidgets, pydot, alembic, peewee, sqlglot, argon2-cffi, argon2-cffi-bindings, azure-identity, flask-basicauth, google-auth-oauthlib, itsdangerous, joserfc, jwcrypto, keyring, msal, msal-extensions, oauth2client, oauthlib, pyjwt, requests-oauthlib, cryptography, google-auth-httplib2, albucore, cmdstanpy, crcmod, cupy-cuda12x, cupy-cuda13x, fairscale, gradio-client, gym, llvmlite, lm-eval, ml-dtypes, MLflow, nltk, ONNX, onnxruntime, onnxscript, openai-whisper, opt-einsum, orbax-checkpoint, prophet, rouge-score, sacrebleu, scikit-image, skops, tf-keras, torchtext, gymnasium, TensorFlow, jax, xgboost, lightgbm, pytorch-lightning, evaluate, flax, Keras, torchmetrics, albumentations, deepspeed, hyperopt, Optuna, pettingzoo, tensordict, tensorflow-datasets, tensorflow-probability, bleach, defusedxml, et-xmlfile, imageio, imageio-ffmpeg, imagesize, linkify-it-py, lxml, mako, markdown, mistune, moviepy, nbconvert, nh3, openpyxl, pandocfilters, ruamel-yaml, webencodings, xlrd, xmltodict, docutils, beautifulsoup4, av, nbformat, torchcodec, fastjsonschema, fqdn, jsonschema-specifications, pathvalidate, referencing, rfc3339-validator, rfc3986, rfc3986-validator, validators, jsonschema, openapi-schema-validator, aiobotocore, azure-mgmt-compute, azure-mgmt-resource, colorlog, Gunicorn, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, python-json-logger, boto3, botocore, prometheus-client, OpenTelemetry, kubernetes, opentelemetry-exporter-prometheus, docker, opentelemetry-exporter-otlp-proto-grpc, opentelemetry-instrumentation-fastapi, typeface-roboto, MUI, usehooks-ts, lowlight, react-window, react-icons, @mui/icons-material, js-yaml

## Side by side

| | ColossalAI | ray |
|---|---|---|
| Size | 317,403 lines written, 974 code files | 1,531,664 lines written, 2,777 code files |
| Who writes it | 0.3% of its commits signed by AI. With Codex and Claude Code | 3.6% of its commits signed by AI. With Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex |
| Activity | Last push November 6, 2026, 3,887 commits, 41,430 stars | Last push November 6, 2026, 32,373 commits, 44,213 stars |
| Tests | 505 test files. 1.1% of its code files have a test that imports them | 2,168 test files. 9.7% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, ColossalAI or ray?

ray, with 1,531,664 lines written; ColossalAI has 317,403.

The proof: [ray-project/ray's code at commit 77567c5](https://github.com/ray-project/ray/tree/77567c5c5790e9e91aa40a5af93004ef958c2ffc)

### Which has more GitHub stars, ColossalAI or ray?

ray, with 44,213 stars; ColossalAI has 41,430.

The proof: [ray-project/ray on GitHub](https://github.com/ray-project/ray)

### Which has more tests, ColossalAI or ray?

ray, with 2,168 test files; ColossalAI has 505.

The proof: [ray-project/ray's code at commit 77567c5](https://github.com/ray-project/ray/tree/77567c5c5790e9e91aa40a5af93004ef958c2ffc)

### Which was updated more recently, ColossalAI or ray?

Both got their last push on November 6, 2026.

The proof: [hpcaitech/ColossalAI's commits on GitHub](https://github.com/hpcaitech/ColossalAI/commits)

### Which has more commits signed by AI, ColossalAI or ray?

ray: an AI signed 3.6% of its commits, with Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex; in ColossalAI, 0.3%.

The proof: [the commits each tool signed in ray-project/ray](https://seerepo.com/r/ray-project/ray/ai)

## Sources

- hpcaitech/ColossalAI: Read on November 6, 2026, at commit da8f5c2 (https://github.com/hpcaitech/ColossalAI/tree/da8f5c2dd56f97d3d23d3d222b114e1a3d4710f5)
- ray-project/ray: Read on November 6, 2026, at commit 77567c5 (https://github.com/ray-project/ray/tree/77567c5c5790e9e91aa40a5af93004ef958c2ffc)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
