Testnet Tensor
  • Introduction
  • Explorer
  • GPT
  • DSN Dashboard
  • Create Account
    • Wallet
    • CLI
    • Faucet
  • Hypertensor CLI
    • Hypertensor CLI
  • Run A Subnet Node
    • Getting Started
    • Wiki
      • Running on AMD GPU
      • Running on Windows Using WSL
      • Troubleshooting
    • Generate Keypair
    • Register & Stake
    • Add
    • Start Validator Node
    • Start Bootstrap Node
    • Activate
    • Update Delegate Reward Rate
    • Deactivate
    • Remove
    • Keys
  • Delegate Staking
    • Introduction
    • Add Delegate Stake
    • Transfer Delegate Stake
    • Remove Delegate Stake
    • Claim Delegate Stake
  • Node Delegate Staking
    • Introduction
    • Add Node Delegate Stake
    • Transfer Node Delegate Stake
    • Remove Node Delegate Stake
    • Claim Node Delegate Stake
  • Delegate Staking Utils
    • Introduction
    • Subnet to Node
    • Node to Subnet
  • Build a Subnet
    • Introduction
    • DSN Standard
    • Subnet Consensus Protocol (SCP)
      • Incentives
      • Accounting
      • Proposals
    • Subnet
      • Registration
      • Activation
      • Deactivation
    • Subnet Nodes
      • Registration
      • Activation
      • Deactivate
  • Contribute
Powered by GitBook
On this page
  1. Run A Subnet Node

Start Validator Node

PreviousAddNextStart Bootstrap Node

Last updated 2 months ago

Before starting your validator node, ensure the port chosen for the node is open for communicating with peers. The DSN lets other peers know your IP address. If this is a concern, we recommend using a VPN or other means to hide it. Like a blockchain, other peers cannot make you run custom code, only what is in the registered RPC logic for model training and inference.

LibP2P has a detailed .

  • Model name: Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2

    • The path to download the model. The subnet automatically assumes it's a Hugging Face repository unless specified otherwise.

  • Public IP: The public IP of the server.

  • Port: The port opened for communications amongst peers in the subnet.

  • Identity Path: The path to the ed25519 private key file previously generated in the first step.

    • This defaults to private_key.key.

python -m subnet.cli.subnet.run_server_validator Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2 --public_ip {IP} --port {PORT} --identity_path private_key.key
python -m subnet.cli.subnet.run_server_validator Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2 --public_ip 127.0.0.1 --port 33130 --identity_path private_key.key

Parameters:

Model Name: The path to download the model. The subnet automatically assumes it's a Hugging Face repository unless specified otherwise.

--public_ip: The public IP of the server.

--port: The port opened for communications amongst peers in the subnet

--identity_path: The path to the ed25519 private key file previously generated in the step.

  • This defaults to private_key.key

--bootstrap_identity_path: (Optional) The path to the bootstrap ed25519 private key file previously generated in the step.

  • This defaults to bootstrap_private_key.key

--num_blocks: (Optional) Specify the number of served transformer blocks.

--local: (Optional) Argument for local testing to use the LOCAL_RPC environment variables.

See the list of arguments in the clidirectory.

This will:

  • Load the model transformer blocks

  • Start consensus integration automatically once the node is activated.

If you plan on using the IP and port to allow others to connect to the subnet, you can also to keep the validator node IP and port private from the general public.

security analysis
generate keypair
generate keypair
start a bootstrap node