Contributing to MyoVerse#
Thank you for your interest in contributing to MyoVerse! This guide will help you get started with the development process.
Setting Up Development Environment#
Fork the repository on GitHub
Clone your fork locally:
git clone https://github.com/NsquaredLab/MyoVerse.git cd MyoVerse
Install uv (if you don’t have it yet):
Follow the instructions on the uv GitHub page.
Set up Virtual Environment & Install Dependencies:
uv sync --group dev
Install PyTorch with GPU:
For Windows: Visit the PyTorch installation guide and select the appropriate options. Use uv to run the install command:
# Example for CUDA 12.6 - Get the correct command from PyTorch website! uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126 --upgrade
For Linux: Pytorch GPU is already installed by MyoVerse.
Contribution Workflow#
Create a new branch for your feature or bugfix:
git checkout -b feature/your-feature-name
Make your changes and ensure all tests pass:
pytest
Add proper documentation for new features
Submit a pull request to the main repository
Code Style#
We follow PEP 8 guidelines for Python code
Use descriptive variable names
Document functions using NumPy docstring format
Add unit tests for new functionality
Documentation#
When adding new features, please update the documentation:
Add docstrings to your functions and classes
Update relevant documentation pages
Add example usage if applicable
Consider adding examples to the examples directory
Getting Help#
If you have questions or need assistance:
Open an issue on GitHub
Reach out on our community forums
Contact the maintainers