bittensor icon indicating copy to clipboard operation
bittensor copied to clipboard

Implement Liquid Alpha Paramters In CLI

Open distributedstatemachine opened this issue 1 year ago • 0 comments

Description

In order to support liquid alpha , we need to add the enable the following hyper paramaters to be configurable in the cli:

  • alpha_low: This is set with a default of 0.25
  • alpha_high: This is set with a default of 0.75

We also need to add these parameters to SubnetInfo/ chaindata.py , in order for the struct to remain decodable.

pub struct SubnetHyperparams {
    rho: Compact<u16>,
    kappa: Compact<u16>,
    immunity_period: Compact<u16>,
    min_allowed_weights: Compact<u16>,
    max_weights_limit: Compact<u16>,
    tempo: Compact<u16>,
    min_difficulty: Compact<u64>,
    max_difficulty: Compact<u64>,
    weights_version: Compact<u64>,
    weights_rate_limit: Compact<u64>,
    adjustment_interval: Compact<u16>,
    activity_cutoff: Compact<u16>,
    pub registration_allowed: bool,
    target_regs_per_interval: Compact<u16>,
    min_burn: Compact<u64>,
    max_burn: Compact<u64>,
    bonds_moving_avg: Compact<u64>,
    max_regs_per_block: Compact<u16>,
    serving_rate_limit: Compact<u64>,
    max_validators: Compact<u16>,
    adjustment_alpha: Compact<u64>,
    difficulty: Compact<u64>,
    alpha_high: Compact<u16>, // Add
    alpha_low: Compact<u16>, // Add
}

Acceptance Criteria

Tasks

  • [ ] alpha high
  • [ ] alpha low
  • [ ] Add net subnet hyperparameters

Related Links

distributedstatemachine avatar Jun 11 '24 12:06 distributedstatemachine