aos-onnx combines the ao operating system module and ONNX Realtime Runtime to create an ao custom module that enables AI inference from any model exported as in the ONNX format to your aos experience.
The bulk of this effort was done by @samcamwilliams, @twilson63 on aos-llama & @elliotsayes during the Hack the Weave competition, Elliot was able to create this WASM Binary that includes both SQLite, LUA, and aos, as an
ao
Module.
This project builds the AOS-SQLITE WASM Binary and Publishes it to Arweave.
- Build docker image
cd container
./build.sh
- Get Latest aos module
git submodule init
git submodule update --remote
- Use docker image to compile process.wasm
cd aos/process
docker run -v .:/src p3rmaw3b/ao emcc-lua
- Publish Module with tags via arkb
You will need a funded wallet for this step
export WALLET=~/.wallet.json
npm run deploy