Connecting GPU to Cluster
Last updated
Last updated
Download Docker:
Visit Docker's official website and download Docker for your OS.
Open Command Prompt: - Windows: Open Command Prompt. - Ubuntu: Open Terminal.
Execute Docker Pull Command:
docker pull zkagi/connect2cluster:latest
Run Docker Container:
docker run -dit -e "walletAddress=YOUR_WALLET_ADDRESS" --privileged --network host zkagi/connect2cluster
Connect:
Wait for 20 seconds.
Click on the connect button in the ZkAGI interface.
Download Docker: - Visit Docker's official website and download Docker for your OS.
Check GPU and Drivers: - Open Command Prompt (Windows) or Terminal (Ubuntu).
Run the following command to check your GPU name and drivers:
nvidia-smi
Driver Version Check: - If your driver version is > 552, downgrade it using the following link.
Open Command Prompt: - Windows: Open Command Prompt. - Ubuntu: Open Terminal.
Execute Docker Pull Command:
docker pull zkagi/connect2cluster:gpu-latest
Run Docker Container:
docker run -dit -e "walletAddress=YOUR_WALLET_ADDRESS" --privileged --network host --gpus all zkagi/connect2cluster
Connect:
Wait for 20 seconds.
Click on the connect button in the ZkAGI interface.
To disconnect the running container, execute the following command in Command Prompt or Terminal:
FOR /F "tokens=*" %i IN ('docker ps -q --filter "ancestor=zkagi/connect2cluster"') DO docker stop %i
docker ps -q --filter "ancestor=zkagi/connect2cluster" | xargs docker stop
To restart the stopped container, execute the following command in Command Prompt or Terminal:
FOR /F "tokens=*" %i IN ('docker ps -a -q --filter "ancestor=zkagi/connect2cluster"') DO docker restart %i
docker ps -a -q --filter "ancestor=zkagi/connect2cluster" | xargs -I {} docker restart {}