Ubuntu GPU NRG AI Nodes

This is your comprehensive guide to setting up the NRG AI Node on an Ubuntu system. Whether you are a seasoned developer or new to the Linux world, this easy-to-follow tutorial will assist you in getting your NRG AI Node operational on your Ubuntu setup. Let's dive in and start the process.

  1. Install Docker

  2. Install NVIDIA drivers and container toolkit

  3. Run the NRG AI Node and register for Test Grid

Make sure you have Ubuntu version 20.04 or higher. ------------ NVIDIA Driver Installation Guide

Follow these steps to install the NVIDIA drivers on your system:

  1. Visit the official NVIDIA website or the link provided (https://www.linuxbabe.com/ubuntu/install-nvidia-driver-ubuntuopen in new window) to download the correct driver.

  2. Once the download is complete, run the installer and follow the instructions provided.

  3. After installation, check that the correct driver is installed by using the command nvidia-smi in the terminal.

  4. If the command displays the correct driver information, the installation was successful. If not, try reinstalling the driver or seeking further assistance.

------------ To install the NVIDIA Container Toolkitopen in new window (nvidia-ctk), run the following commands:

curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
  && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
    sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
    sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list \
  && \
    sudo apt-get update

Then we can install the NVIDIA Container Toolkit package:

sudo apt-get install -y nvidia-container-toolkit

# Configuring the NVIDIA Container Toolkit on Linux

As we aim to run Podman within Docker, adhere to the Docker configuration instructions detailed here: Configuring Dockeropen in new window.

Execute the following commands in your terminal:

sudo nvidia-ctk runtime configure --runtime=docker

Subsequently, restart Docker with:

sudo systemctl restart docker

With just a single command in your command line, you can easily set up a NRG Node on your machine. Simply run the following command:

bash <(wget -qO- https://nrgai.app/register.sh)

Please note that this script has certain requirements and is specifically designed to run without the need for sudo privileges. It's crucial to exercise caution when running any script from the internet with sudo privileges. Even in this case, it's advisable to thoroughly review the script before executing it on your system.

The script performs a series of tests to verify the successful completion of the previous steps outlined in the guide. Once all the checks pass, your node will start up.

You will see your node's information displayed in the following format. As long as there are no error messages, your node will automatically join the Test Grid market, where it will receive a Test Grid benchmark job. It's important to keep the node running during this process. Last steps : 1: Inventory Your GPU Resources & Refer to the Host Setup Guide: Consult the comprehensive instructions in the NRG AI host setup manual to verify your system satisfies all the requirements for listing. Create and Manage Your Offerings: Employ the NRG AI platform to catalog your GPU resources, ensuring prices are competitive and transparent, duration of rentals is clearly defined, and any specific terms or conditions are outlined for your potential clients.

2: Validate Your System & Check System Compatibility: It's crucial to rigorously test your setup to guarantee it aligns with the expectations of prospective renters. This entails confirming the NRG AI client's operability, network connectivity, and the performance levels of the GPUs installed. Assess Network Reliability: Ensure your network configurations allow for uninterrupted access by clients, a key component in offering a dependable hosting service.

3: Plan for Maintenance Schedule Maintenance Wisely: Organize any necessary system maintenance to cause the least possible interference with ongoing rentals, and inform your clients about any planned outages in a timely manner.

4: Join the NRG AI Community & Get Involved with the Community: Engaging with the NRG AI Discord channel is an excellent way to meet other hosts, share advice, and seek assistance with any obstacles you might face.

5: Launch Your Hosting Service & Activate Your Listings: Once your system is set and evaluated, you can start listing on NRG AI. Make sure your rates are competitive and your rental agreements are straightforward. Monitor Actively: Consistently check your listings to respond to feedback and adjust to market demand, ensuring a prosperous hosting venture on NRG AI.

Last updated