If you are interested in contributing to NVIDIA cuVS, your contributions will fall into three categories:
Performance-critical changes require proper benchmarks. Pull requests that affect performance-critical paths will not be merged until those benchmarks are produced; there are no exceptions to this rule.
Remember, if you are unsure about anything, don’t hesitate to comment on issues and ask for clarifications!
CUVS uses pre-commit to execute code linters and formatters such as Black, isort, and flake8. These tools ensure a consistent code format throughout the project. Using pre-commit ensures that linter versions and options are aligned for all developers. Additionally, there is a CI check in place to enforce that committed code follows our standards.
To use pre-commit, install via conda or pip:
Then run pre-commit hooks before committing code:
Optionally, you may set up the pre-commit hooks to run automatically when you make a git commit. This can be done by running:
Now code linters and formatters will be run each time you commit changes.
You can skip these checks with git commit --no-verify or with the short version git commit -n.
Once you have gotten your feet wet and are more comfortable with the code, you can look at the prioritized issues of our next release in our project boards.
Pro Tip: Always look at the release board with the highest number for issues to work on. This is where RAPIDS developers also focus their efforts.
Look at the unassigned issues, and find an issue you are comfortable with contributing to. Start with Step 3 from above, commenting on the issue to let others know you are working on it. If you have any questions related to the implementation of the issue, ask them in the issue instead of the PR.
Portions adopted from https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md
Link-time Optimization