在家中使用日常设备运行自己的 AI 集群。由 exo labs 维护。

Alex Cheema 5ef07d41a5 readme 1 năm trước cách đây
inference 490fa102a4 tinygrad inference engine 1 năm trước cách đây
networking e6f387a690 handle is_finished 1 năm trước cách đây
orchestration e6f387a690 handle is_finished 1 năm trước cách đây
topology 36b8456798 collect global topology with local peer visibility, ring memory weighted partitioning strategy 1 năm trước cách đây
.gitignore 850b72d3ea make StatefulShardedModel callable, add some tests for mlx sharded inference 1 năm trước cách đây
README.md 5ef07d41a5 readme 1 năm trước cách đây
example_user.py 36b8456798 collect global topology with local peer visibility, ring memory weighted partitioning strategy 1 năm trước cách đây
example_user_2.py e6f387a690 handle is_finished 1 năm trước cách đây
main.py 36b8456798 collect global topology with local peer visibility, ring memory weighted partitioning strategy 1 năm trước cách đây
main_dynamic.py 7077652c8e graceful node shutdown 1 năm trước cách đây
requirements.txt 3a66a0a4a8 add requirements.txt 1 năm trước cách đây

README.md

exo logo exo: Run your own AI cluster at home with everyday devices. Maintained by [exo labs](https://exolabs.net). Supports iPhone, iPad, Android, Mac, Linux, pretty much any device!

[Homepage](https://github.com/exo-explore/exo) | [Documentation](https://github.com/exo-explore/exo/docs) | [Discord](TODO)


Get Involved

We have a list of bounties in this sheet.

Features

Wide Model Support

exo supports LLaMA and many other popular models.

Dynamic Model Partitioning

exo optimally splits up models based on the current network topology and device resources available.

Automatic Device Discovery

Zero manual configuration. exo will automatically discover other devices using the best method available.

ChatGPT-compatible API

exo provides a ChatGPT-compatible API for running models. This means it's a one-line change in your application to run models on exo.

Inference Engines

exo supports the following inference engines:

Usage

Documentation

Example Usage on Multiple Devices

Device 1:

./run.sh

Device 2:

./run.sh

That's it! No configuration required - exo will automatically discover the other device(s).

A ChatGPT-like web interface will be available on each device on port 8000 http://localhost:8000.

An API endpoint will be available on port 8001. Example usage:

curl -X POST http://localhost:8001/api/v1/chat -H "Content-Type: application/json" -d '{"messages": [{"role": "user", "content": "What is the meaning of life?"}]}'