- Official Guide + Windows Version: https://dria.co/join
- This guide is for Linux AMD (aka VPS)
# 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 check
docker --version
# 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 dkn-compute-node.zip
cd dkn-compute-node
./dkn-compute-launcher
1. Enter your DKN wallet Secret key (Your metamask Private Key without 0x
)
2. Pick a Model
- I've picked three models (
Gemini
andOpenrouter
) by writing10,25
Gemini
is a google API with upto 1500 free requests daily, No cost, doesn't need VPS resources. Get your Google API hereOpenRouter
is an API, You can buy credits with crypto to use it, Get API here, I think this one gives better pointsOllama
downloads and runs a local model host locally in your server, No cost, but it uses your VPS or system resources. It needs a powerfull VPS, you can ignore and only use Openrouter and GeminiOpenAI
is an API but it needs a monthly payment which means it may not give you points if you use free version, if you have chosen it, get your API here
3. Skip Jina & Serper API key by pressing Enter
4. 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 you had any port conflicts, you must change the ports in
.env
file or use this:nano $HOME/dkn-compute-node/.env
If you wanted to restart the node to change Models, you can clear
DKN_MODELS=
variable in.env
file, then rerun Dria using./dkn-compute-launcher
When the Node started logging, Head back to the first lines of the logs and check if both Gemini
and OpenRouter
passed their tests and see their name in front of using models
like mine in the following picture:
Now you ensured that your Models passed the test and your node is running, you should re-run your node to start it in a screen. press Ctrl+C
and exit the node
screen -S dria
./dkn-compute-launcher
You can minimze the screen with CTRL+A+D
To open your screen again:screen -r dria
Join Discord and Fill the Form to receive role
https://steps.leaderboard.dria.co/
cd $HOME
rm -rf dkn-compute-node.zip
rm -rf dkn-compute-node
Stop Ollama Node
pgrep ollama
# Example: if 74877, then use:
kill 74877
# OR
sudo systemctl stop ollama
sudo systemctl disable ollama
Stop Dria (Terminate screen)
screen -XS dria quit
Start from Step Install Dria