Skip to content

Fix multiprocessing POW errors and No Torch logging errors#2186

Merged
thewhaleking merged 8 commits intostagingfrom
fix/multiprocessing-pow
Jul 29, 2024
Merged

Fix multiprocessing POW errors and No Torch logging errors#2186
thewhaleking merged 8 commits intostagingfrom
fix/multiprocessing-pow

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
basfroman
basfroman previously approved these changes Jul 27, 2024
@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 <158077861+gus-opentensor@users.noreply.github.com>
@thewhaleking thewhaleking merged commit 36b9b0c into staging Jul 29, 2024
@ibraheem-abe ibraheem-abe mentioned this pull request Aug 23, 2024
@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