rl-swarm on ( Ubuntu WSL )
A guide simple installation and running Gensyn rl-swarm on Ubuntu WSL / Local deviece
π» System Requirements
CPU Architecture
amd64
Recommended RAM
24 GB
Recommended GPU
RTX 3090, RTX 4090, RTX 5090, or GPU with > 12 GB VRAM
Python Version
Python >= 3.10 (For Mac, you may need to upgrade)
Cuda Version
12.8+
Note: You can running rl-swarm with minimum 8gb VRAM, if you have at least 32 gb RAM on your device.
π₯ Installation
for the ubuntu culture XD
sudo apt update && sudo apt upgrade -yInstall other dependencies
sudo apt update && sudo apt install -y python3 python3-venv python3-pip curl wget screen git lsof nano unzip iproute2Install node.js and npm
curl -fsSL https://raw.githubusercontent.com/prolinkmoon/gensyn-testnet/main/install-nodejs.sh -o install-nodejs.sh && chmod +x install-nodejs.sh && ./install-nodejs.shInstall cuda-toolkit
curl -o install-cuda.sh https://raw.githubusercontent.com/prolinkmoon/gensyn-testnet/main/install-cuda.sh && chmod +x install-cuda.sh && ./install-cuda.shClone the gensyn repo and navigate to it:
Start the Swarm:
Login
>> Would you like to push models you train in the RL swarm to the Hugging Face Hub? [y/N]
optional: type N + enter
>> Enter the name of the model you want to use in huggingface repo/name format, or press [Enter] to use the default model. use default: enter
>> Would you like your model to participate in the AI Prediction Market? [Y/n]
Recommended: type Y + enter
"The Swarm" Discord Role by running Gensyn Monitoring
This guide will walk you through setting up a Gswarm Telegram Bot to monitor your swarm node and earn The Swarm Discord role.
π Official Docs: Gswarm.dev/docs
π Step 1: Install Go and Gswarm
First, make sure you have Go installed properly. If you're unsure, just run these commands:
Now install the Gswarm CLI:
You should now be able to run gswarm from anywhere in your terminal.
β Verify Installation:
π€ Step 2: Create Your Telegram Bot
1. Generate a Bot with @BotFather
Open Telegram and search for @BotFather
Send
/newbotand follow the steps (pick a name and username)Save the Bot Token you receive
2. Find Your Chat ID
Start a conversation with your bot and send any message
Visit the following URL in your browser (replace with your actual bot token):
Enable Pretty Print to make the JSON readable
Look for the "chat": {"id": ...} field in the response β that number is your chat ID
π Note: If the result is empty ("result": []), send a message to your bot and refresh the page.
π§ Step 3: Run the Gswarm Bot
Back in your terminal, simply run:
Follow the interactive prompts to enter:
Your Telegram Bot Token
Your Chat ID
Your EOA Address (visible in your Gensyn Dashboard)
π Step 4: Link Discord & Telegram
To receive The Swarm Discord role:
1. Get the Code
On Discord, go to the #|swarm-link channel Type:
2. Verify in Telegram
Open your Telegram bot Type:
(Replace <code> with the one you got on Discord) Once verified, your accounts will be linked β and you'll get the shiny new The Swarm role!
Last updated