Node
- Install
sudo
apt update && apt install -y sudo
- 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
- Install Node.js and npm if not installed already
curl -sSL https://raw.githubusercontent.com/zunxbt/installation/main/node.sh | bash
- Clone this repository
cd $HOME && [ -d rl-swarm ] && rm -rf rl-swarm; git clone https://github.com/zunxbt/rl-swarm.git && cd rl-swarm
- Create a
screen session
screen -S gensyn
- 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 YWould 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
- Detach from
screen session
- Use
Ctrl + A and then press D to detach from this screen session.