Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set_weights: prevent exception when not registered #2555

Closed
wants to merge 3 commits into from

Conversation

heeres
Copy link

@heeres heeres commented Dec 21, 2024

  • The return value of get_uid_for_hotkey_on_subnet was not checked. If the hotkey is not registered, this call will return None, resulting in an exception later on.

ibraheem-opentensor and others added 3 commits December 16, 2024 15:37
- The return value of get_uid_for_hotkey_on_subnet was not checked. If
  the hotkey is not registered, this call will return None, resulting
  in an exception later on.
@heeres heeres force-pushed the set_weight_reg_fix branch from ae8452c to 4417284 Compare December 22, 2024 13:09
@camfairchild camfairchild changed the base branch from master to staging December 22, 2024 21:03
@ibraheem-opentensor
Copy link
Contributor

Hey @heeres,

Thank you for your contribution! Can you please update the branch so we can merge this in.

@heeres
Copy link
Author

heeres commented Dec 24, 2024

Seems to be fixed by commit 3497cd6

@heeres heeres closed this Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants