Hyperparameters

Hyperparameters

What each subnet hyperparameter controls, its unit, and how to change it.

View as Markdown

Read them with btcli sudo get --netuid N (the subnet_hyperparameters read); the subnet owner changes the owner-settable ones with btcli sudo set (the set_hyperparameter intent). Raw on-chain integers are primary; where a parameter is a fixed-point fraction or a rao amount, the value also accepts the human form with a decimal point. Each parameter has its own explainer page; the source column links the on-chain storage declaration.

HyperparameterUnitOwner-settableWhat it controlsSource
rhointegeryestrust curve steepnessRho
kappafraction (u16, 65535 = 1.0)root onlyconsensus majority-stake thresholdKappa
immunity_periodblocks (12s)yesprune-immunity window for new neuronsImmunityPeriod
min_allowed_weightsintegeryesminimum weights per submissionMinAllowedWeights
max_weights_limitfraction (u16, 65535 = 1.0)root onlycap on a single miner's weightMaxWeightsLimit
tempoblocks (12s)yesblocks per consensus epochTempo
min_difficultyPoW difficulty (u64)root onlyPoW registration difficulty floorMinDifficulty
max_difficultyPoW difficulty (u64)yesPoW registration difficulty ceilingMaxDifficulty
difficultyPoW difficulty (u64)root onlycurrent PoW registration difficultyDifficulty
weights_versionintegeryesminimum version key for set_weightsWeightsVersionKey
weights_rate_limitblocks (12s)root onlywait between weight submissionsWeightsSetRateLimit
adjustment_intervalblocks (12s)root onlydifficulty/burn adjustment cadenceAdjustmentInterval
activity_cutoffblocks (12s)root onlyno-weights window before inactiveActivityCutoff
activity_cutoff_factorintegeryesactivity cutoff, per-mille of tempoActivityCutoffFactorMilli
registration_allowedflagroot onlynew neuron registrations allowedNetworkRegistrationAllowed
network_pow_registration_allowedflagyesPoW registration toggleNetworkPowRegistrationAllowed
target_regs_per_intervalintegerroot onlyregistration-rate controller targetTargetRegistrationsPerInterval
min_burnTAO amount in raoyesburned-registration cost floorMinBurn
max_burnTAO amount in raoyesburned-registration cost ceilingMaxBurn
bonds_moving_avgfraction (1,000,000 = 1.0)yesbonds EMA smoothing factorBondsMovingAverage
max_regs_per_blockintegerroot onlyper-block registration capMaxRegistrationsPerBlock
serving_rate_limitblocks (12s)yescooldown between axon serve callsServingRateLimit
max_validatorsintegerroot onlytop-stake validator permit capMaxAllowedValidators
adjustment_alphafraction (u64, u64::MAX = 1.0)yesdifficulty/burn adjust smoothingAdjustmentAlpha
commit_reveal_periodepochs (tempos)yesweight commit-to-reveal delayRevealPeriodEpochs
commit_reveal_weights_enabledflagyescommit-reveal weights toggleCommitRevealWeightsEnabled
alpha_highfraction (u16, 65535 = 1.0)yesliquid-alpha smoothing upper bound
alpha_lowfraction (u16, 65535 = 1.0)yesliquid-alpha smoothing lower bound
liquid_alpha_enabledflagyesper-weight bonds EMA (liquid alpha)LiquidAlphaOn
bonds_penaltyfraction (u16, 65535 = 1.0)yespenalty on out-of-consensus bondsBondsPenalty
alpha_sigmoid_steepnessintegeryesliquid-alpha sigmoid steepnessAlphaSigmoidSteepness
min_childkey_takefraction (u16, 65535 = 1.0)yesfloor for childkey takeMinChildkeyTakePerSubnet
owner_immune_neuron_limitintegeryesowner-designated prune-immune UIDsImmuneOwnerUidsLimit
max_allowed_uidsintegeryesneuron slot capacity before pruningMaxAllowedUids
burn_increase_multmultiplier (U64F64 bits / 2^64)yesburn cost bump per registrationBurnIncreaseMult
burn_half_lifeblocks (12s)yesburn cost decay half-lifeBurnHalfLife
collateral_lock_sharefraction (u16, 65535 = 1.0)yesregistration price share lockedCollateralLockShare
collateral_drain_ratiomultiplier (U64F64 bits / 2^64)yescollateral released per α earnedCollateralDrainRatio
yuma3_enabledflagyesyuma3 consensus variant toggleYuma3On
yuma_versionintegerroot onlyepoch consensus variant (2 or 3)
subnet_is_activeflagroot onlysubnet started (staking + emissions)
subnet_emission_enabledflagroot onlyroot switch for TAO emission shareSubnetEmissionEnabled
user_liquidity_enabledflagroot onlylegacy user-LP flag (always false)
bonds_reset_enabledflagyesbonds reset on metadata commitBondsResetOn
transfers_enabledflagyesstake transfers between coldkeysTransferToggle
owner_cut_enabledflagyesowner emission cut toggleOwnerCutEnabled
owner_cut_auto_lock_enabledflagyesauto-lock the owner's emission cutOwnerCutAutoLockEnabled