Thank you for your interest in contributing. QuadtrixLabs projects are built from scratch, kept minimal, and designed to run locally — contributions should follow that same spirit.
- No unnecessary dependencies. If it can be written from scratch in a reasonable amount of time, write it from scratch.
- No cloud requirements. All tools must be fully functional on a local machine.
- Clear code over clever code. Comment your reasoning, not just what the code does.
- Respect existing architecture. Read the project's README and any architecture notes before opening a PR.
- Fork the repository you want to contribute to.
- Clone your fork locally.
- Create a feature branch —
git checkout -b feature/your-feature-name - Make your changes with clear, descriptive commits.
- Test your changes locally before submitting.
- Open a Pull Request against the
mainbranch.
Use short, imperative commit messages:
Add tokenizer support for BPE encoding
Fix attention mask shape mismatch in multi-head layer
Refactor CUDA kernel for memory efficiency
Avoid vague messages like fix stuff, updates, or misc changes.
- Use
snake_casefor variables and functions,PascalCasefor classes. - Prefer standard library types over raw pointers where possible.
- Comment non-obvious logic, especially in math-heavy sections (attention, softmax, etc.).
- Follow PEP 8.
- Use type hints where practical.
- Keep notebooks clean — clear outputs before committing.
Before opening an issue:
- Search existing issues to avoid duplicates.
- Include your OS, hardware specs (especially GPU/CPU), and Python/compiler version.
- Provide a minimal reproducible example when reporting bugs.
Use the provided issue templates for bug reports and feature requests.
- Performance improvements to inference or training loops
- Better hardware compatibility (CPU, GPUs)
- Improved documentation and architecture explanations
- Additional model architectures (implemented from scratch)
- Testing infrastructure
- Integrations with cloud APIs or hosted inference services
- Wrappers around existing model frameworks (we build, not wrap)
- Unnecessary abstraction layers
By contributing, you agree that your contributions will be licensed under the same license as the project (MIT unless stated otherwise).
Questions? Open a discussion or reach out to @Eamon2009.