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

Fix multiprocessing POW errors and No Torch logging errors #2186

Merged
merged 8 commits into from
Jul 29, 2024

Conversation

thewhaleking
Copy link
Contributor

The was a hidden error from the registration POW that was previously hidden, until logging was fixed in 54b7f3d. Fixes #2185. The join being called before termination was causing a Thread-2 exception because of the GIL (see: https://bugs.python.org/issue12488). Also includes a fix where bittensor.btlogging.error was called instead of bittensor.logging.error.

@thewhaleking thewhaleking added the bug Something isn't working label Jul 27, 2024
@thewhaleking thewhaleking requested a review from a team July 27, 2024 18:10
@thewhaleking
Copy link
Contributor Author

thewhaleking commented Jul 27, 2024

Discovered the importance of mocking the correct object. PR is good to go.

@thewhaleking thewhaleking changed the title Fix multiprocessing POW errors Fix multiprocessing POW errors and No Torch errors Jul 28, 2024
@thewhaleking thewhaleking changed the title Fix multiprocessing POW errors and No Torch errors Fix multiprocessing POW errors and No Torch logging errors Jul 28, 2024
Co-authored-by: gus-opentensor <[email protected]>
@thewhaleking thewhaleking merged commit 36b9b0c into staging Jul 29, 2024
31 of 32 checks passed
@thewhaleking thewhaleking deleted the fix/multiprocessing-pow branch October 2, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants