Dria is a decentralized network that allows millions of AI agents to collaborate on generating synthetic data to improve AI models.
- Official Guide + Windows Version: https://dria.co/join
- Install docker
sudo apt update -y && sudo apt upgrade -y
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update -y && sudo apt upgrade -y
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo chmod +x /usr/local/bin/docker-compose
- Docker version
docker --version
- Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
cd $HOME && curl -L -o dkn-compute-node.zip https://github.com/firstbatchxyz/dkn-compute-launcher/releases/latest/download/dkn-compute-launcher-linux-amd64.zip
- Unzip the file
unzip dkn-compute-node.zip
- Head to directory
cd dkn-compute-node
./dkn-compute-launcher
-
Enter your DKN wallet Secret key
Your metamask Private Key without 0x
Use Burner Wallet / Airdrop Wallet -
Pick a Model
-
I use only one model,
gemini-1.5-flash
by selecting10
-
Gemini
is a google API with upto1500
free requests daily, No cost, doesn't need VPS resources. -
Get your Google API here Click
Get a Gemini API key in Google AI Studio
> ClickCreate API Key
> Save it and paste it into your VPS model -
Running multiple models may reduce the performance of your node and prevent it from responding to tasks
- Skip
Jina
&Serper API key
by pressingEnter
- Now your node will start Downloading Models files and Testing them each model must pass its test and it only depends on your system specification
Error: If a port conflict occurs, edit the file using this command:
nano $HOME/dkn-compute-node/.env
or
nano .env
- Change port
DKN_P2P_LISTEN_ADDR="/ip4/0.0.0.0/tcp/2001
- Or you can modify it to avoid conflicts with the old ones you are running.
- Now that you have ensured your
models
passed the test and your node is running, you should restart your node within a screen session. PressCtrl+C
to stop the node and exit.
screen -S dria
./dkn-compute-launcher
- You can minimze the screen with
CTRL+A
, then clickD
- To open your screen again
screen -r dria
- https://steps.leaderboard.dria.co/
- Paste your DRIA node address