DongQN
  • ☑️0G Validator Node
  • ☑️0G Storage Node
    • ☑️Update Storage Node
  • ☑️0G Storage KV
    • ☑️Update 0G Storage KV
  • ☑️0G DA Node
    • ☑️Update 0G DA Node
  • ☑️0G DA Client
  • ☑️Initia-Testnet
  • ☑️XRPL EVM-Testnet
  • ☑️Allora Full Node (RPC)
  • ☑️Hedge-Tesnet
  • ☑️Symphony Validator Node
  • ☑️Aaron Network Validator
  • ☑️Story Validator Node
  • ☑️Empe Validator Node
  • ☑️Nillion Validator Node
  • ☑️Gensyn Testnet Node CPU
  • Reference
    • API Reference
      • Pets
      • Users
  • How to Set Up Explorer
Powered by GitBook
On this page
  • 2. Install General Utilities and Tools
  • 3. Install Python
  • 4. Install Node
  • 5. Install Yarn
  • 6. Swap
  • 7. Clone the Repository
  • 8. Detach from screen session
  • ⚠️ OTP Issue / URL not accessible :

Gensyn Testnet Node CPU

Recommended Hardware: 4 Cores, 16GB RAM, 256GB of storage (NVME), RTX 3090, RTX 4090, A100

1. Update System Packages

sudo apt-get update && sudo apt-get upgrade -y

2. Install General Utilities and Tools

sudo apt install screen curl iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli libgbm1 pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev  -y

3. Install Python

sudo apt-get install python3 python3-pip
sudo apt install python3.10-venv

4. Install Node

sudo apt-get update
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g yarn

5. Install Yarn

curl -o- -L https://yarnpkg.com/install.sh | sh
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
source ~/.bashrc

6. Swap

sudo swapoff /swapfile
sudo rm /swapfile
sudo dd if=/dev/zero of=/swapfile bs=1M count=16384
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

7. Clone the Repository

git clone https://github.com/gensyn-ai/rl-swarm/
cd rl-swarm

Open a screen to run it in background

screen -S swarm

Install swarm

cd $HOME/rl-swarm && python3 -m venv .venv && . .venv/bin/activate && git pull
CUDA_VISIBLE_DEVICES="" CPU_ONLY=1 bash run_rl_swarm.sh

Press Y

You need to visit the URL which you will find on your terminal there and then, log in using your email. After logging in, it will display something like this

  • It will ask you this question : Would you like to push models you train in the RL swarm to the Hugging Face Hub? [y/N] ; You should write N there

  • You will see something like this; it indicates that everything is working fine. You can now detach from this screen session.

8. Detach from screen session

  • Use Ctrl + A and then press D to detach from this screen session.

⚠️ OTP Issue / URL not accessible :

  • If you can't get OTP in your email and also can't login using google, then use this method :

  • Install ngrok in different tab on the same vps ( don't close previous tab where gensyn is running)

wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz && tar -xvzf ngrok-v3-stable-linux-amd64.tgz && sudo mv ngrok /usr/local/bin/
  • Sign up using email

  • Now go to Your authtoken section and then click on "show authtoken" option and then copy that command

  • Now open your VPS in other tab and paste the command

  • Now use this command ngrok http 3000

  • Then click on the following url with ngrok domain and then access gynsyn page and login using email address (✅ working, tested)

PreviousNillion Validator NodeNextAPI Reference

Last updated 8 days ago

It will show like this

Now visit :

☑️
👍
https://ngrok.com/