forked from NVIDIA/cudnn-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[New artifacts] Pre-built (alpha version) pip installable wheels for …
…linux will be made available as part of this release. The pip wheels are compatible from python 3.8 through 3.12. The source builds will continue to work as expected. (NVIDIA#68) [New artifacts] Pre-built (alpha version) pip installable wheels for linux will be made available as part of this release. The pip wheels are compatible from python 3.8 through 3.12. The source builds will continue to work as expected. [Documentation] We are updating our contribution policy and will be accepting small PRs targetting improving the cudnn-frontend. For full contribution guide refer to our contribution policy. [API updates] [Python] The graph.execute function in python now takes an optional handle. This is to help user provide a custom handle to the execute function(and achieve parity with the C++ API). [API updates] Pointwise ops can now take scalars directly as an argument. This simplifies the graph creation process in general. For eg. ``` auto C = graph.pointwise(A, graph.tensor(5.0f), fe::graph::Pointwise_attributes() .set_mode(fe::PointwiseMode_t::ADD) .set_compute_data_type(fe::DataType_t::FLOAT)); ``` [Installation] Addresses RFE NVIDIA#64 to provide installation as `cmake install` [Installation] Addresses RFE NVIDIA#63 to provide custom installation of catch2. If catch2 is not found, cudnn frontend fetches it automatically from the upstream github repository. [Logging] Improved logging to print legible tensor names. We will be working on further improvements in future releases to make the logging more streamlined. [Samples] Add a sample for showcasing auto-tuning to select the best plan among the ones returned from heuristics. [Samples] As part of v1.2 release, we have created new Jupyter notebooks, showcasing the python API usage. At this point, these will work on A100 and H100 cards only as mentioned in the notebooks. With future releases, we plan to simplify the installation process and elaborate the API usage. Please refer to `samples/python` directory. [Bug fixes] Fixed issues related to auto-tuning when the always plan 0 was executed, even though a different plan was chosen as the best candidate. [Unit Tests] We are adding some unit tests which will provide a way for developers to test parts of the their code before submitting the pull requests. It is highly encouraged to add unit-tests and samples before submitting a pull request.
- Loading branch information
Showing
101 changed files
with
4,979 additions
and
2,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Contributing to cudnn-frontend | ||
|
||
If you are interested in contributing to cudnn-frontend, your contributions will fall | ||
into three categories: | ||
1. You want to report a bug, feature request, or documentation issue | ||
- File an [issue](https://github.com/NVIDIA/cudnn-frontend/issues) | ||
describing what you encountered or what you want to see changed. | ||
- The cudnn team will evaluate the issues and triage them, scheduling | ||
them for a release. If you believe the issue needs priority attention | ||
comment on the issue to notify the team. | ||
2. You want to propose a new Feature and implement it | ||
- Post about your intended feature, and we shall discuss the design and | ||
implementation. | ||
- Once we agree that the plan looks good, go ahead and implement it, using | ||
the [code contributions](#code-contributions) guide below. | ||
3. You want to implement a feature or bug-fix for an outstanding issue | ||
- Follow the [code contributions](#code-contributions) guide below. | ||
- If you need more context on a particular issue, please ask and we shall | ||
provide. | ||
|
||
## Code contributions | ||
|
||
### Your first issue | ||
|
||
1. Read the project's [README.md](https://github.com/NVIDIA/cudnn-frontend/blob/main/README.md) | ||
to learn how to setup the development environment. | ||
2. Comment on the issue saying you are going to work on it and what changes you are going to make. | ||
3. Code! Make sure to update unit tests! | ||
4. When done, [create your pull request](https://github.com/NVIDIA/cudnn-frontend/compare). | ||
5. Wait for other developers to review your code and update code as needed. | ||
6. Once reviewed and approved, a cudnn-frontend developer will merge your pull request. | ||
7. At this time, we are accepting only small fixes, changes. Once merged to main this will be an untagged version. A release tag will be assigned along with future frontend release by cudnn team. | ||
|
||
Remember, if you are unsure about anything, don't hesitate to comment on issues and ask for clarifications! | ||
|
||
## Code Formatting | ||
|
||
Consistent code formatting is important in the cudnn-frontend project to ensure | ||
readability, maintainability, and thus simplifies collaboration. | ||
|
||
### Branches and Versions | ||
|
||
The cudnn-frontend repository has one main branch. Please submit a PR to this branch. We will update the doc as the policy changes. | ||
|
||
### Branch naming | ||
|
||
Branches used to create PRs should have a name of the form `<name>-issue-<issue_number>` | ||
which conforms to the following conventions: | ||
|
||
- Name: | ||
- A name to convey what is being worked on | ||
- Please use dashes or underscores between words as opposed to spaces. | ||
|
||
## Attribution | ||
Portions of contribution guide adopted from [https://github.com/rapidsai/cuml/blob/branch-24.04/CONTRIBUTING.md](https://github.com/rapidsai/cuml/blob/branch-24.04/CONTRIBUTING.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.