- GensynTestnet - Join Swarm Now
| Requirement | Details |
|---|---|
| CUDA Devices (Recommended) | RTX 3090, RTX 4090, A100, H100 |
| CPU Architecture | arm64 or amd64 |
| Recommended RAM | + 24 GB |
===========================================================================
- Rent GPU -
RTX 3090 RTX 4090 A100 H100
Note: You can run the node without a GPU using CPU-only mode.
===========================================================================
- Connect To Your Server -
1 - open powershell on windows
2 -
ssh-keygen -t rsa 3 - press enter to save the file
4 - copy your public key ( SSH )
Replace Your Address
Get-Content C:\Users\.../.ssh/id_rsa.pub | Set-Clipboard5 - go back to the website and define ssh key for your servers
6 - get your private key on your windows powershell
Replace Your Address
Get-Content C:\Users\.../.ssh/id_rsa | Set-Clipboard 7 - go to termius and set a keychain with your private and public key
8 - right now add a new host with ip and port ( your provider will give you )
Done
===========================================================================
- Install
sudoand other dependencies
apt update && apt install -y sudo
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 yarn3. Install Python
sudo apt-get install python3 python3-pip python3-venv python3-dev -y4. Install Node
sudo apt-get update
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
node -v
yarn -v1- Create account in HuggingFace
2- Create an Access Token with Write permissions here and save it
git clone https://github.com/gensyn-ai/rl-swarm/
git clone https://github.com/cryptoneth/GensynTestnet
mv GensynTestnet/run_rl_swarm.sh rl-swarm/run_rl_swarm.sh
cd rl-swarmOpen a screen to run it in background
screen -S gensynInstall swarm
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
python3 -m venv .venv && . .venv/bin/activate && chmod +x ./run_rl_swarm.sh && ./run_rl_swarm.shgo to ngrok Get the token from: https://dashboard.ngrok.com/get-started/your-authtoken
paste your AuthToken
Then Open Link And Connect To Gensyn Testnet with your Email
Then Paste Your Hugging Face Token
Every Things Fine Right Now
Just Copy Your Node Name And Wait For Correct Log
Press Crtl + A + D
1- Node name
- Now your node started running, Find your name after word
Hello, like mine iswhistling hulking armadilloas in the image below (You can useCTRL+SHIFT+Fto search Hello in terminal)
**2- Save swarm.pem file in this directory: /root/rl-swarm/
and make sure to back up these
cd
cat rl-swarm/modal-login/temp-data/userData.jsoncd
cat rl-swarm/modal-login/temp-data/userApiKey.json- Minimize:
CTRL+A+D - Return:
screen -r swarm - Stop and Kill:
screen -XS swarm quit
Track Your Node With this Bot on Tg
@gensyntrackbot
Example : /check QmZPwBPynMxz56tTaj25QFXdo2YFHA....
##Update Your Node
cd
rm -r GensynTestnet
git clone https://github.com/cryptoneth/GensynTestnet/
cd GensynTestnet
chmod +x gensyn_update.sh && ./gensyn_update.sh
##Reset Your Node
screen -x gensyn pkill -SIGKILL -f hivemind
cd rl-swarm
python3 -m venv .venv && . .venv/bin/activate && chmod +x ./run_rl_swarm.sh && ./run_rl_swarm.sh#Gensyn
