Connecting Your GPUs and CPUs to the ZkAGI Cluster Dashboard: A Step-by-Step Guide

ZkAGI
ZkAGI
Published in
3 min readJul 10, 2024

Windows and Ubuntu Setup Guide

CPU Setup

  1. Download Docker:
  • Visit Docker’s official website and download Docker for your OS.

2. Open Command Prompt:

  • Windows: Open Command Prompt.
  • Ubuntu: Open Terminal.

3. Execute Docker Pull Command:

docker pull zkagi/connect2cluster:latest

4. Run Docker Container:

docker run -dit -e “walletAddress=YOUR_WALLET_ADDRESS” — privileged — network host zkagi/connect2cluster

5. Connect:

  • Wait for 20 seconds.
  • Click on the connect button in the ZkAGI interface.

GPU Setup

  1. Download Docker:
  • Visit Docker’s official website and download Docker for your OS.

2. Check GPU and Drivers:

  • Open Command Prompt (Windows) or Terminal (Ubuntu).

3. Run the following command to check your GPU name and drivers:

nvidia-smi

4. Driver Version Check:

  • If your driver version is > 552, downgrade it using the following link.

5. Open Command Prompt:

  • Windows: Open Command Prompt.
  • Ubuntu: Open Terminal.

6. Execute Docker Pull Command:

docker pull zkagi/connect2cluster:gpu-latest

7. Run Docker Container:

docker run -dit -e “walletAddress=YOUR_WALLET_ADDRESS” — privileged — network host — gpus all zkagi/connect2cluster

8. Connect:

  • Wait for 20 seconds.
  • Click on the connect button in the ZkAGI interface.

Disconnecting CPU/GPU Connection

To disconnect the running container, execute the following command in Command Prompt or Terminal:

Windows:

FOR /F “tokens=*” %i IN (‘docker ps -q — filter “ancestor=zkagi/connect2cluster”’) DO docker stop %i

Ubuntu:

docker ps -q — filter “ancestor=zkagi/connect2cluster” | xargs docker stop

Restarting CPU/GPU Connection

To restart the stopped container, execute the following command in the Command Prompt or Terminal:

Windows:

FOR /F “tokens=*” %i IN (‘docker ps -a -q — filter “ancestor=zkagi/connect2cluster”’) DO docker restart %i

Ubuntu:

docker ps -a -q — filter “ancestor=zkagi/connect2cluster” | xargs -I {} docker restart {}

--

--

ZkAGI
ZkAGI
Editor for

World's First Privacy Conscious Decentralised AGI