- 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
- Enter your DKN wallet Secret key (Your metamask Private Key without
0x
) - Pick a Model
- Before picking your models, Check the team's guide:
Model types team suggests to complete most tasks:
Model recommendations based on your resource capacity
- I've picked two models (
Ollama
andOpenAI
) by writing3,23
OpenAI
doesn't need system resources and it's only API, if you have chosen it, get your API hereOllama
downloads and runs a local model host locally in your server, No cost, but it use your system resources
-
Skip Jina & Serper API key by pressing Enter
-
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
When the Node started logging, Head back to the first lines of the logs and check if both Ollama
and OpenAI
passed their tests and see their name in front of using models
like mine in the following picture:
If you didn't pass any of the Models:
I've chosen lightest
Ollama
model but if it didn't pass the test for you, you can ignore and continue usingOpenAI
Since I wanted to use
Ollama
too because it's free, so I had to stop some of my other running dockers, then restart the Dria script to pass the test (TestingOllama
highly depends on your system resources, after testing is passed, it keeps running with very low resources)If you wanted to restart the node to change Models, you can clear
DKN_MODELS=
variable in.env
file or usenano $HOME/dkn-compute-node/.env
, then rerun Dria using./dkn-compute-launcher
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
They will soon add a dashboard to track your progress