This is the development workflow of prime intellect to build upon hivemind
Install hivemind
cd hivemind_source
pip install .
cp build/lib/hivemind/proto/* hivemind/proto/.
pip install -e ".[all]"```
Install the pre commit hook to keep black and isort updated on each commit:
pre-commit install
To run the tests:
python -m pytest tests
Be sure to actually use python -m otherwise path won't be appended correctly
Add the PRIME_INTELLECT_DEV
environment variable to your .bashrc or .zshrc so that development features are enabled.
e.g.
- torch compile error will crash the script instead of silently failing