opentensor / bittensor

Internet-scale Neural Networks
https://www.bittensor.com/
MIT License
816 stars 274 forks source link

unclear UidVecContainInvalidOne error on setting root weights #2058

Open ppolewicz opened 1 week ago

ppolewicz commented 1 week ago

Describe the bug

Revolt | TAO-Validator.com tried setting weights when sn30 didn't exist and this is what he got

❌ Failed: {'type': 'Module', 'name': 'UidVecContainInvalidOne', 'docs': ['The 
caller is attempting to set weight to at least one UID that does not exist in 
the metagraph.']}
⠋ 📡 Setting root weights on finney ...2024-06-23 15:34:50.100 |     WARNING      | Set weights -  - Failed: {'type': 'Module', 'name': 'UidVecContainInvalidOne', 'docs': ['The caller is attempting to set weight to at least one UID that does not exist in the metagraph.']}

To Reproduce

try to set root weights to inexisting subnet

Expected behavior

a clear error which would say something like "you are trying to set weights on sn30 which doesn't exist"

Screenshots

No response

Environment

linux

Additional context

No response