在家中使用日常设备运行自己的 AI 集群。由 exo labs 维护。
|
1 year ago | |
---|---|---|
docs | 1 year ago | |
examples | 1 year ago | |
exo | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
main.py | 1 year ago | |
main_static.py | 1 year ago | |
requirements.txt | 1 year ago |
Forget expensive NVIDIA GPUs, unify your existing devices into one powerful GPU: iPhone, iPad, Android, Mac, Linux, pretty much any device!
exo is experimental software. Expect bugs early on. Create issues so they can be fixed. The exo labs team will strive to resolve issues quickly.
We also welcome contributions from the community. We have a list of bounties in this sheet.
exo supports LLaMA and other popular models.
exo optimally splits up models based on the current network topology and device resources available. This enables you to run larger models than you would be able to on any single device.
exo will automatically discover other devices using the best method available. Zero manual configuration.
exo provides a ChatGPT-compatible API for running models. It's a one-line change in your application to run models on your own hardware using exo.
The current recommended way to install exo is from source.
git clone https://github.com/exo-explore/exo.git
cd exo
pip install -r requirements.txt
python3 main.py
python3 main.py
That's it! No configuration required - exo will automatically discover the other device(s).
Until the below is fixed, the only way to access inference is via peer handles. See how it's done in this example for Llama 3.
// A ChatGPT-like web interface will be available on each device on port 8000 http://localhost:8000 and Chat-GPT-compatible API on port 8001 (currently doesn't work see https://github.com/exo-explore/exo/issues/6).
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?"}]}'
exo supports the following inference engines: