Giter Site home page Giter Site logo

allora-worker's Introduction

allora-worker

Install requirements

sudo apt update && sudo apt upgrade -y
sudo apt install jq -y

# install docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
docker version

# install docker-compose
VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)

curl -L "https://github.com/docker/compose/releases/download/"$VER"/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose
docker-compose --version

request some faucet from the Allora Testnet Faucet

Run with custom model and pass your mnemonic phrase to it

curl -LOs https://raw.githubusercontent.com/sarox0987/allora-worker/main/custom-allora.sh && bash ./custom-allora.sh
Screenshot 2024-08-13 at 10 35 47 PM

make sure both custom-worker & custom-inference containers are running with docker ps

Screenshot 2024-08-17 at 2 50 20 PM

check the worker container with docker logs -f custom-worker command

Screenshot 2024-08-17 at 3 30 29 PM

make sure custom-inference is responsive

curl http://localhost:8001/inference/ETH

Run with hugging model and pass your mnemonic phrase to it

curl -LOs https://raw.githubusercontent.com/sarox0987/allora-worker/main/hugging-allora.sh && bash ./hugging-allora.sh

make sure both hugging-worker & hugging-inference containers are running with docker ps

Screenshot 2024-08-17 at 3 15 37 PM

check the worker container with docker logs -f hugging-worker command

make sure hugging-inference is responsive

curl http://localhost:8002/inference/ETH

allora-worker's People

Contributors

sarox0987 avatar

Stargazers

 avatar kehsan avatar  avatar ahdm avatar  avatar Esi Nakamoto avatar Logan avatar farzad avatar Behzad71 avatar  avatar Arash avatar SHAADAAB avatar Dante avatar encoderrrr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.