Thanks for your interest in contributing! Here's how to get started.
git clone https://github.com/CastelDazur/gpu-memory-guard.git
cd gpu-memory-guard
pip install -e ".[dev]"Tests use mocked GPU data and run without a physical GPU:
pytest tests/ -v- Bug fixes with a test that reproduces the issue
- New GPU backends (AMD ROCm, Intel Arc, Apple Metal)
- GGUF size estimation from model metadata
- Multi-GPU split logic for tensor parallelism
- Documentation improvements and examples
- Fork the repo and create your branch from
main - Add tests for any new functionality
- Make sure all tests pass
- Update README.md if you changed the public API
- Submit a PR with a clear description
- Python 3.8+ compatible
- Type hints on all public functions
- Docstrings for classes and public methods
- No external dependencies in the core module
Open an issue with:
- Your GPU model and driver version
- Python version
- Steps to reproduce
- Expected vs actual behavior
By contributing, you agree that your contributions will be licensed under the MIT License.