Add multi-batch inference support, fix hivemind dependency, and improve installation process#27
Merged
HaibaraAiChan merged 10 commits intoai-decentralized:mainfrom Nov 1, 2025
JiuChen0:upload
Merged
Add multi-batch inference support, fix hivemind dependency, and improve installation process#27HaibaraAiChan merged 10 commits intoai-decentralized:mainfrom JiuChen0:upload
HaibaraAiChan merged 10 commits intoai-decentralized:mainfrom
JiuChen0:upload
Conversation
- Add --batch_size CLI argument for parallel sequence processing - Add conditional CUDA stream creation for CPU-only mode - Add device-aware ExecutionEnv and Policy resource distribution - Fix MPS compatibility on macOS
HaibaraAiChan
approved these changes
Nov 1, 2025
JiuChen0
added a commit
to JiuChen0/BloomBee
that referenced
this pull request
Mar 22, 2026
…ve installation process (ai-decentralized#27) * Add batch inference support and CPU compatibility - Add --batch_size CLI argument for parallel sequence processing - Add conditional CUDA stream creation for CPU-only mode - Add device-aware ExecutionEnv and Policy resource distribution - Fix MPS compatibility on macOS * fix hardcode of model loading and support batch size * Resolving dependency conflicts * docs: refine README setup and usage sections for clarity and correctness * Add batch size related updates * delete ddebug output * delete .id files * fix max token size problem * add prompt * clear the debug print --------- Co-authored-by: Danny Willow Liu <dannywillowliu@uchicago.edu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Key Changes
Multi-batch inference support
Enables inference with variable batch sizes for better performance and scalability.
Fix hivemind dependency installation issue
Resolved issues with installing hivemind dependencies in certain environments.
Remove hardcoded model restriction
Removed the hardcoded limitation that only allowed loading LLaMA 7B, enabling support for other model sizes.
Update installation instructions in
README.mdSimplified the installation process. The entire BloomBee environment can now be installed and configured with a single command:
pip install -e .