Skip to content

FragIfty01/Gensyn-via-Clore-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 

Repository files navigation

🚀 Gensyn x Clore AI - Swarm Setup Guide


🖥️ System Requirements

Requirement Recommended Specs
GPU NVIDIA RTX 3090 / 4090
RAM 25 GB
Internet Speed Download / Upload > 100 Mbps
Server Region Avoid Russian servers

📝 Signup & SSH Key Setup

  1. Sign Up at Clore AI
    👉 https://clore.ai?ref_id=1pgsgg8q

  2. Add SSH Key to Account
    🔐 https://clore.ai/account#keys

How to Add SSH Key


⚙️ Server Setup (Clore Dashboard)

  1. Select Ubuntu Jupyter as the image.
  2. Delete extra HTTP ports.
  3. Add HTTP port: 3000.
  4. Click Create to deploy your node.

Server Setup Screenshot


🔌 Connect to Your Server via SSH

  1. Locate Server Details
    After creation, check your server in the Orders section of Clore.
    Format: Address : Port

  2. Connect Using Termius
    Download Termius or use your preferred terminal client.

  3. SSH Connection Command

    ssh -p <port> root@<address>
    
    

Image

e.g : For above case , I connect with ssh -p 1254 root@n1.us.clorecloud.net > Press enter > Ignore pass and select Key to connect > And we are in !

Video

2025-04-08.16-38-06.mp4

Installation

apt-get update &&  apt-get upgrade -y
apt-get install -y nvidia-cuda-toolkit

Install Dependencies

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
apt update
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt install -y nodejs
node -v
npm install -g yarn
yarn -v

Install YARN

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

Python Dev

apt install -y python3.12-venv python3.12-dev

clone repo

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

Open gensyn screen

creen -S gensyn

Go to directory

cd rl-swarm/

⚠️Important⚠️

If this your first time then just simply run next next commands. If you are switching from another machine. Save your swarm.pem file and export this in the directory.

In the screenshot , you just drag the swarm.pem file to rl-swarm directory

Image

Next just run

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

Go back to your order and click the http link. Cut extra characters after /. Check video 👇

2025-04-08.17-27-06.mp4

You know the rest !

Error Handling

[ ./run_rl_swarm.sh: line 160: sudo: command not found ]

sed -i 's/sudo //g' run_rl_swarm.sh

rerun

Image

If you face this error , CTRL + C and run :

sed -i -E 's/(startup_timeout: *float *= *)[0-9.]+/\1120/' $(python3 -c "import hivemind.p2p.p2p_daemon as m; print(m.__file__)")

Rerun

./run_rl_swarm.sh

Login page not opening

Stop process with Ctrl + C

nano modal-login/app/page.tsx

Just above that return line, paste the following code (make sure there is one line of space between the pasted code and the return line, and that the indentation matches):,

   useEffect(() => {
     if (!user && !signerStatus.isInitializing) {
       openAuthModal(); 
     }
   }, [user, signerStatus.isInitializing]);

Image

Save it by pressing:

  • Ctrl X + Y

  • Enter

Rerun

./run_rl_swarm.sh

PS1 unbound variable

Image

sed -i '/\[ -z "\$PS1" \] && return/i : "${PS1:=}"' /root/.bashrc

line 101 / 121 : open : command not found

Image

sed -i '101s|^|# |' run_rl_swarm.sh

Image|

sed -i '121s|^|# |' run_rl_swarm.sh

Just comment out the line

Rerun

./run_rl_swarm.sh

Good luck in swarm ❤️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages