NI Compuτe: Subnet Miner Setup
How to Mine on the Bittensor NI Compute Subnet (SN27) - The Permission-less Compute Market
Last updated
How to Mine on the Bittensor NI Compute Subnet (SN27) - The Permission-less Compute Market
Last updated
For miners interested in joining this innovative network, Subnet 27 offers the opportunity to contribute computing resources and earn $NI in return. This guide is structured to provide a comprehensive breakdown of how you can get started with contributing to Bittensor’s commodity markets using your compute power.
NI Compute decentralizes computing resources by combining siloed pools of compute on a blockchain to be validated and accessed trustlessly. This opens a door to scalable compute without the constraints of centralized power.
NI Compute brings, arguably, the most important and finite resource needed for the creation of machine intelligence. All network participants will have access to an ever-expanding pool of compute for all development needs.
What is a decentralized supercomputer without access to permissionless compute?
Miners contribute processing resources, notably GPU (Graphics Processing Unit) instances.
Performance-Based Mining: The system operates on a performance-based reward mechanism, where miners are incentivized through a dynamic reward structure correlated to the processing capability of their hardware. High-performance devices are eligible for increased compensation, reflecting their greater contribution to the network's computational throughput. Emphasizing the integration of GPU instances is critical due to their superior computational power, particularly in tasks regarding machine learning.
Rent A Server From Subnet 27: https://app.neuralinternet.ai/
Compute Subnet Github: https://github.com/neuralinternet/compute-subnet
Compute Subnet Discord Channel: https://discord.gg/t7BMee4w
Real-Time Compute Subnet Metrics: https://opencompute.streamlit.app/
We greatly appreciate and encourage contributions from the community to help improve and advance the development of the Compute Subnet. We have an active bounty program in place to incentivize and reward valuable contributions.
If you are interested in contributing to the Compute Subnet, please review our Reward Program for Valuable Contributions document on GitHub. This document outlines the details of the bounty program, including the types of contributions eligible for rewards and the reward structure.
Reward Program for Valuable Contributions: https://github.com/neuralinternet/compute-subnet/blob/main/CONTRIBUTING.md
Validator CLI Guide For Reserving Compute Subnet Resources: Validator Utilization of Compute Resources
We do not support Containerized (docker)-based cloud platforms such as Runpod, VastAI and Lambda.
We strongly urge miners to provide their own hardware to foster and build a stronger network for all. Providing your own in-house hardware may come with its own benefits.
If you cannot supply your hardware in-house, here are some usable GPU providers:
Latitude.sh (referral code: BITTENSOR27)
Oblivus (referral code: BITTENSOR27 - 2% cash back in platform expenditures)
Examples of GPUs to rent (listed in order of computing power):
GPU Base Scores: The following GPUs are assigned specific base scores, reflecting their relative performance. To understand scoring please see the Proof-of-GPU page here:
NVIDIA H200: 4.00
NVIDIA H100 80GB HBM3: 3.30
NVIDIA H100 80GB PCIE: 2.80
NVIDIA A100-SXM4-80GB: 1.90
Install Link: https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
Verify that the Docker Engine installation is successful by running the hello-world
image.
See Bittensor’s documentation for alternative installation instructions.
Bittensor Documentation: docs.bittensor.com
Verify using the btcli
command
which will give you an output similar to below:
Create a Cold & Hotkey with the commands below:
Access the Compute-Subnet Directory
Required dependencies for validators and miners:
To ensure optimal performance and compatibility, it is strongly recommended to install the latest available CUDA version from NVIDIA.
If Nvidia toolkit and drivers are already installed on your machine, scroll down to verify then move on to the Wandb Setup.
You may need to reboot the machine at this point to finalize changes
The simplest way to check the installed CUDA version is by using the NVIDIA CUDA Compiler (nvcc
).
The output of which should look something like
To log into the wandb project named opencompute from neuralinternet, miners and validators need a wandb API key. This is necessary for your miner to be properly scored. You can obtain a free API key by making an account here: https://wandb.ai/
Inside of the Compute-Subnet directory; Rename the .env.example
file to .env
and replace the placeholder with your actual API key.
You can now track your mining and validation statistics on Wandb. For access, visit: https://wandb.ai/neuralinternet/opencompute. To view the networks overall statistics check out our real-time dashboard here: https://opencompute.streamlit.app/
Install and run pm2 commands to keep your miner online at all times.
Confirm pm2 is installed and running correctly
Make sure to check that docker is properly installed and running correctly:
This is an example of it running correctly:
At this point, you will need some $TAO in your coldkey address for miner registration. Once your coldkey is funded, run the command below to register your hotkey:
Open your desired ssh port for allocations; default is 4444 (required for allocation):
--miner.whitelist.not.enough.stake
: (Optional) Whitelist the validators without enough stake. Default: False.
--miner.whitelist.not.updated
: (Optional) Whitelist validators not using the last version of the code. Default: False.
--miner.whitelist.updated.threshold
: (Optional) Total quorum before starting the whitelist. Default: 60. (%)
After launching the compute miner, you can then check the logs using the two commands below: