Ξ
Home / Services / GensynAI Node Installation

GensynAI Node Installation Guide

A comprehensive guide to installing and configuring a GensynAI node on your server. Follow these steps to set up your node quickly and efficiently.

System Requirements

  • CPU: arm64 atau amd64
  • RAM: 24GB (Direkomendasikan)
  • GPU: RTX 3090/4070/4090, A100, H100
  • Python: >= 3.10

Estimated Time

  • Setup: 15-20 menit
  • Sync: 30-60 menit
  • Validasi: 5-10 menit

Installation Steps

1

Persiapkan Server

Pilih salah satu metode untuk menjalankan node:

Metode 1: GPU Server (Direkomendasikan)

  • Kunjungi Quick Pod Website
  • Daftar menggunakan email
  • Verifikasi akun Quick Pod
  • Deposit dana (crypto atau kartu kredit)
  • Pilih template Ubuntu 22.04 jammy
  • Pilih GPU RTX 4090
  • Klik Create POD

Metode 2: VPS atau WSL

Bisa menggunakan VPS biasa atau Windows Subsystem for Linux, tapi mungkin akan mengalami OOM error dan win rate lebih rendah.

2

Install Dependencies

Install semua dependencies yang diperlukan.

# Install sudo
apt update && apt install -y sudo

# Install dependencies
sudo apt update && sudo apt install -y python3 python3-venv python3-pip curl wget screen git lsof nano unzip iproute2

# Install Node.js dan npm
curl -sSL https://raw.githubusercontent.com/zunxbt/installation/main/node.sh | bash
Copied!
3

Setup Node

Buat screen session dan jalankan node.

# Buat screen session
screen -S gensyn

# Clone repository dan jalankan script
cd $HOME && rm -rf gensyn-testnet && git clone https://github.com/zunxbt/gensyn-testnet.git && chmod +x gensyn-testnet/gensyn.sh && ./gensyn-testnet/gensyn.sh
Copied!

Catatan: Ketika ditanya "Would you like to push models you train in the RL swarm to the Hugging Face Hub? [y/N]", jawab dengan "N".

4

Backup Data

Backup file swarm.pem yang penting.

[ -f backup.sh ] && rm backup.sh; curl -sSL -O https://raw.githubusercontent.com/zunxbt/gensyn-testnet/main/backup.sh && chmod +x backup.sh && ./backup.sh
Copied!

Kunjungi URL yang ditampilkan untuk mengunduh file swarm.pem, userData.json, dan userApiKey.json.

5

Monitor Node

Periksa status node Anda.

# Reattach ke screen session
screen -r gensyn

# Detach dari screen session (Ctrl + A, lalu D)
Copied!

Kunjungi gensyn-node.vercel.app dan masukkan Peer-ID Anda untuk memeriksa wins.

Informasi Tambahan

Model dan Swarm yang Tersedia

Model yang Didukung

  • Qwen 2.5 0.5B
  • Qwen 2.5 1.5B
  • Qwen 2.5 7B
  • Qwen 2.5 32B (4 bit)
  • Qwen 2.5 72B (4 bit)

Swarms yang Aktif

  • Math (GSM8K dataset)
  • Math Hard (DAPO-Math 17K dataset)

Optimasi Performa

Untuk mengoptimalkan performa node Anda, Anda dapat mengedit file konfigurasi di:

./hivemind_exp/configs/gpu/grpo-qwen-2.5-0.5b-deepseek-r1.yaml

Beberapa parameter yang dapat dioptimalkan:

  • vllm_gpu_memory_utilization: Pengaturan penggunaan memori GPU
  • max_grad_norm: Batas normalisasi gradien (disarankan 0.5)
  • Precision: Pilih antara bfloat16 atau float32

Catatan Penting

  • Backup swarm.pem

    Selalu backup file swarm.pem Anda. Jika file ini hilang, kontribusi Anda juga akan hilang.

  • Multiple Nodes

    Untuk menjalankan multiple nodes, Anda perlu mengisolasi setiap GPU dan menginstall repo terpisah untuk masing-masing GPU.

  • Model Custom

    Anda dapat menggunakan model yang berbeda, tapi harus kompatibel dengan Hugging Face's AutoModelForCausalLM class.