Thanks for your interest in Magpie! This guide explains how to contribute, report issues, and submit changes.
- Read
README.mdto understand the project scope and usage. - Ensure you have a supported GPU environment (AMD HIP or NVIDIA CUDA), or use Docker.
# Create virtualenv and install dependencies
make install-dev
# Run basic checks
make verify- Create a new branch from
main. - Keep changes focused and scoped.
- Run lint checks before submitting:
make lint- Open a Pull Request with motivation, impact, and verification steps.
- Lint:
ruff - Formatting:
ruff - Add documentation or comments when needed.
This project may depend on GPU hardware or drivers. In your PR, include:
- Test environment (GPU model, driver version, HIP/CUDA version)
- Execution mode (local or Docker)
- Key commands and output summary (e.g.,
python -m Magpie analyze ...)
Please include:
- Reproduction steps
- Expected vs actual behavior
- Environment (OS, GPU, driver, Python version)
- Relevant logs or a minimal repro
If you discover a security issue, do not open a public issue. Contact maintainers through a private channel.
- Add evaluation modes or kernel config examples
- Fix edge cases in the evaluation pipeline
- Improve report structure or readability
- Improve docs, examples, and tests
By contributing, you agree that your contributions are licensed under the repository LICENSE (MIT).