GPU Setup Instructions
1. Update NVIDIA Drivers
Start by ensuring your system is running the latest NVIDIA drivers. This is crucial for optimal performance and compatibility with GPU mining. Visit the official NVIDIA website, download the appropriate drivers for your GPU model and operating system, and install them.
2. Reboot Your System
After installing the NVIDIA drivers, reboot your computer. This step ensures that the updates are correctly applied and your system is ready for the next steps.
3. Install CUDA for Windows
CUDA is essential for running GPU-based computations. To install it, go to the CUDA Downloads page, select your operating system and architecture, and follow the instructions to install CUDA on your system.
4. Reboot Your System Again
Once CUDA is installed, reboot your computer again. This final reboot ensures that CUDA is fully configured and ready to be used.
5. Verify NVIDIA Driver Installation
To confirm that your NVIDIA drivers and CUDA are installed correctly, open a terminal or command prompt. Type the command nvidia-smi to check the status and information of your GPU. This step will help you verify that everything is set up properly.
6. Download and Install Git with Git LFS
Next, you’ll need Git for version control, along with Git LFS for managing large files. Download Git for Windows from the official Git website, making sure to include Git LFS during the installation process.
7. Download the Runner
The runner software manages the mining operations. Download version 0.3.2 here and extract the files to a directory of your choice.
For Manual Set Up, follow the steps below
8. Download the Worker
Download version 0.8.2 here and extract it to your preferred directory.
9. Initialize the Worker
To set up the worker, you’ll need to configure the necessary signatures and start the server. Open PowerShell, navigate to the directory where your worker files are located, and enter the following commands:
cd <path_to_your_worker_files>
$env:SIGNATURE="0xa748d7723e60aa148d23cc31fc5deabfa3f17d41a0343506193e5bb0b86692f82cba7d5628473e3a3f356ccc614b4c2b434fb287238d3c4f2ad55c5a5357dadb1c"
./worker.exeThis will start the worker and begin the GPU mining process on the NeurochainAI network.
1. Update System
First, ensure that all system packages are up to date. Open a terminal and run the following commands:
sudo apt-get update
sudo apt-get upgrade2. Reboot
After updating, reboot your system to apply all changes and updates:
sudo reboot3. Install Essential Packages
Next, you need to install essential packages required for software compilation and version control:
sudo apt-get install git build-essential4. Disable Nouveau Drivers
Nouveau drivers can conflict with NVIDIA's proprietary drivers, so you'll need to disable them. Edit the configuration file:
sudo nano /etc/modprobe.d/blacklist-nouveau.confInsert the following lines:
blacklist nouveau
options nouveau modeset=0Then, update the initial RAM filesystem:
sudo update-initramfs -u5. Reboot
Reboot your system again to apply the changes made to the drivers:
sudo reboot6. Install NVIDIA Driver and CUDA
Now, download and install the NVIDIA driver and CUDA toolkit. Use the following commands:
wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run
sudo sh cuda_12.1.0_530.30.02_linux.runFollow the prompts to complete the installation.
7. Update Environment Variables
After installing CUDA, you need to update your environment variables to ensure the system recognizes CUDA paths. Edit the .bashrc file:
nano ~/.bashrcAdd the following lines at the end of the file:
export CUDA_HOME=/usr/local/cuda-12.1
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH
export PATH=${CUDA_HOME}/bin:${PATH}After editing, apply the changes:
source ~/.bashrc8. Reboot and Verify GPU Information
Reboot your system once more to finalize the setup:
sudo rebootAfter rebooting, verify that your NVIDIA GPU is properly recognized by running:
nvidia-smi9. Download Recent Model, Extract, and Open Directory in Terminal
Download the 0.8.2 version of the model here. After extracting the files, open the directory in the terminal and set the signature:
export SIGNATURE=0xa748d7723e60aa148d23cc31fc5deabfa3f17d41a0343506193e5bb0b86692f82cba7d5628473e3a3f356ccc614b4c2b434fb287238d3c4f2ad55c5a5357dadb1c10. Run the Server
Finally, run the server with the following command:
./serverThis will start the GPU mining process on your Linux machine.
Este guia fornece instruções claras e detalhadas para configurar a mineração de GPU no Linux, cobrindo desde a atualização do sistema até a execução do servidor de mineração.
Last updated
