First and foremost, thank you for considering contributing to GPUd! We appreciate the time and effort you're putting into helping improve our project. This guide outlines the process and standards we expect from contributors.
First clone the source code from Github
git clone https://github.com/leptonai/gpud.git
Use go
to build gpud
from source
cd gpud
make all
./bin/gpud -h
We highly recommend writing tests for new features or bug fixes and ensure all tests passing before submitting a PR.
To run all existing tests locally, simply run
./scripts/tests-unit.sh
./scripts/tests-e2e.sh
Ensure your code is clean, readable, and well-commented. We use golangci-lintblack as code linter.
To run lint locally, first install linters by doing
golangci-lint run