Skip to content

Use threaded bt-decode#268

Open
thewhaleking wants to merge 2 commits intostagingfrom
feat/thewhaleking/threaded-bt-decode
Open

Use threaded bt-decode#268
thewhaleking wants to merge 2 commits intostagingfrom
feat/thewhaleking/threaded-bt-decode

Conversation

@thewhaleking
Copy link
Collaborator

Because bt-decode does not invovle the GIL, we can send it to an asyncio thread pool executor for better concurrency in decoding.

The benchmark looks good, but real-world performance will likely only see a minuscule performance increase in everyday use, but largely-concurrent programs may see a much bigger performance gain.

@github-actions github-actions bot added run-bittensor-sdk-tests Runs Bittensor SDK tests. run-bittensor-cli-tests Runs BTCLI tests. labels Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant