Node

Node


  1. Install sudo


apt update && apt install -y sudo


  1. Install other dependencies


sudo apt update && sudo apt install -y python3 python3-venv python3-pip curl wget screen git && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && sudo apt update && sudo apt install -y yarn


  1. Install Node.js and npm if not installed already


curl -sSL https://raw.githubusercontent.com/zunxbt/installation/main/node.sh | bash


  1. Clone this repository


cd $HOME && [ -d rl-swarm ] && rm -rf rl-swarm; git clone https://github.com/zunxbt/rl-swarm.git && cd rl-swarm


  1. Create a screen session


screen -S gensyn


  1. Run the swarm


python3 -m venv .venv && . .venv/bin/activate && ./run_rl_swarm.sh


  • It will ask some questions, you should send response properly
  • Would you like to connect to the Testnet? [Y/n] : Write Y
  • Would you like to push models you train in the RL swarm to the Hugging Face Hub? [y/N] : Write N
  • When you will see interface like this, you can detach from this screen session
Screenshot 2025-04-01 061641


  1. Detach from screen session


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


Report Page