opentensor / bittensor-subnet-template

Template Design for a Bittensor subnetwork
MIT License
65 stars 112 forks source link

process_weights_for_netuid breaks when there is only 1 non-zero weight #93

Open dylanuys opened 3 months ago

dylanuys commented 3 months ago

Edge case in weight setting that only occurs when there's a single non-zero weight:

Toy recreation of the issue:

Screenshot 2024-06-06 at 2 40 15 PM