Windows - GPU Slowly Node
Last updated
Last updated
For Windows users, it's essential to set up Ubuntu 22.04 specifically on WSL2.
Warning
Ensure you're installing Ubuntu 22.04 on WSL2. Unfortunately, Ubuntu 20.04 is not compatible with WSL2.
For detailed instructions on how to install WSL and run Ubuntu 22.04, follow the tutorial linked below:
Once installed, you can verify your WSL2 Ubuntu version by running the following command:
Please confirm that you have installed version 22.04.
To ensure a successful setup, follow these steps to install and configure Docker:
Install Docker Desktop with the WSL2 backend by visiting this link: .
After installation, make sure Docker is added to its own user group.
To fully utilize the GPU on the grid, we will need to install both the NVIDIA drivers and NVIDIA's CUDA Toolkit.
To verify if the drivers are correctly installed, open a terminal and run the following command:
If the drivers are correctly installed, you should see detailed information about your GPU, similar to the following example output:
These commands will help you generate the necessary configuration file and verify the CDI support.
Then we can install the NVIDIA Container Toolkit package:
# Configure the NVIDIA Container Toolkit
Once you have completed the configuration, run the following commands:
The Slowly Node connects to Podman and runs your containers inside of it. On WSL2, you'll need to natively install Podman >v4.1:
Check if you have Podman version 4 installed and if you have GPU support:
If you see Error: container create failed (no logs from conmon)...
when running the command, follow the steps here to resolve issue
With just a single command in your command line, you can easily set up a Slowly Node on your machine. Simply run the following command:
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!
Upon successful completion of the Test Grid benchmark job, you will receive a code in the logs. This code is required for your registration. Please follow the steps below:
Check the logs for the following message:
Copy the Test Grid registration code: <CODE>
.
Congratulations! 🎉 You have completed the technical part of the registration.
Info
To find your Node's Solana key, navigate to ~/.slowly/slowly_key.json
. It is essential to back up this file to ensure its safety.
This command can be used to start Podman service on port 8080, so our Slowly Node can reach it.
This is also already done by the register.sh
script in the final step, so this step is optional:
To validate Podman's proper functioning, use:
You can manually launch the Slowly Node to modify certain parameters:
Use the --podman
parameter to direct to your Podman service if it's running elsewhere.
Use --volume
to map your solana key to /root/.slowly/slowly_key.json
within the Docker container if you wish to use your own key.
To use NVIDIA drivers, download and install the appropriate driver from the official NVIDIA website: .
To install the (nvidia-ctk
), run the following commands:
For configuring the NVIDIA Container Toolkit to run Podman v4 natively on WSL2 (as Podman in Docker is not supported on WSL2), please follow the instructions for CDI configuration. You can find these instructions at .
If this doesn't work, make sure you have the NVIDIA drivers installed and the nvidia-ctk and