Source: https://seerepo.com/compare/ray-project/ray/vs/state-spaces/mamba
Markdown source: https://seerepo.com/compare/ray-project/ray/vs/state-spaces/mamba.md
Description: ray and mamba share 4 technologies: einops, triton, torch, and transformers. Both are written in Python.

# ray vs mamba

ray and mamba share 4 technologies: einops, triton, torch, and transformers. Both are written in Python.

- [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.
- [state-spaces/mamba](https://seerepo.com/r/state-spaces/mamba): Mamba SSM architecture

## What they share and what sets them apart

- In common: einops, triton, torch, transformers
- Only in ray: FastAPI, 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, Hugging Face, Google Cloud Storage, Kafka, asgiref, Flask, flask-cors, graphene, graphql-core, graphql-relay, jupyter-core, jupyterlab-server, werkzeug, Ray, starlette, AIOHTTP, Lightning, anyio, tornado, uvicorn, 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, Gradio, ipywidgets, matplotlib, Rich, pydot, alembic, peewee, sqlglot, SQLAlchemy, 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, bitsandbytes, cmdstanpy, crcmod, cupy-cuda12x, cupy-cuda13x, fairscale, gradio-client, gym, LangChain, llvmlite, lm-eval, ml-dtypes, MLflow, nltk, ONNX, onnxruntime, onnxscript, openai-whisper, opt-einsum, orbax-checkpoint, peft, prophet, rouge-score, sacrebleu, safetensors, scikit-image, sentencepiece, skops, tf-keras, tiktoken, timm, tokenizers, torchtext, gymnasium, TensorFlow, jax, torchvision, xgboost, lightgbm, scikit-learn, accelerate, datasets, pytorch-lightning, evaluate, flax, Keras, torchmetrics, albumentations, deepspeed, diffusers, hyperopt, Optuna, pettingzoo, tensordict, tensorflow-datasets, tensorflow-probability, torchaudio, bleach, defusedxml, et-xmlfile, imageio, imageio-ffmpeg, imagesize, jsonlines, linkify-it-py, lxml, mako, markdown, markdown-it-py, markupsafe, mdurl, mistune, moviepy, nbconvert, nh3, openpyxl, pandocfilters, ruamel-yaml, webencodings, xlrd, xmltodict, pillow, docutils, jinja2, beautifulsoup4, av, nbformat, torchcodec, annotated-types, fastjsonschema, fqdn, jsonschema-specifications, pathvalidate, pydantic-core, referencing, rfc3339-validator, rfc3986, rfc3986-validator, validators, Pydantic, jsonschema, openapi-schema-validator, aiobotocore, azure-mgmt-compute, azure-mgmt-resource, colorlog, Gunicorn, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, python-json-logger, psutil, 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
- Only in mamba: apache-tvm-ffi, quack-kernels

## Side by side

| | ray | mamba |
|---|---|---|
| Size | 1,531,664 lines written, 2,777 code files | 28,235 lines written, 43 code files |
| Who writes it | 3.6% of its commits signed by AI. With Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex | 0.5% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 6, 2026, 32,373 commits, 44,213 stars | Last push July 22, 2026, 219 commits, 18,976 stars |
| Tests | 2,168 test files. 9.7% of its code files have a test that imports them | 11 test files. 51.2% 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, ray or mamba?

ray, with 1,531,664 lines written; mamba has 28,235.

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

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

ray, with 44,213 stars; mamba has 18,976.

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

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

ray, with 2,168 test files; mamba has 11.

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

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

ray: its last push was on November 6, 2026, and mamba's on July 22, 2026.

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

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

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

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

## Sources

- ray-project/ray: Read on November 6, 2026, at commit 77567c5 (https://github.com/ray-project/ray/tree/77567c5c5790e9e91aa40a5af93004ef958c2ffc)
- state-spaces/mamba: Read on November 6, 2026, at commit e9594ce (https://github.com/state-spaces/mamba/tree/e9594ce1c732d97440f0332fdc43170a2294dbfa)

## 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.
