Welcome to the contributions to the Pytorch repository! This document provides guidelines for contributing to this project. By participating, you are expected to uphold this code.
There are many ways to contribute to the Pytorch project, including writing code, reporting bugs, and creating documentation or tutorials. Here's how you can get started:
If you find a bug or have a suggestion for improving the repository, please first check the issue tracker to see if someone else has already reported the issue. If not, submit a new issue, providing as much relevant information as possible to help us understand the problem or enhancement.
If you'd like to submit a change to the repository:
- Fork the repository.
- Make your changes in a new branch.
- Commit your changes, ensuring you write a clear commit message that explains the rationale behind the changes.
- Push your changes to your fork.
- Submit a pull request to the main repository. Include a clear description of the changes and any relevant issue numbers.
- Ensure your code adheres to the project's coding conventions and is well-documented.
- Add relevant tests that cover your changes.
- Make sure all tests pass before submitting the pull request.
- Keep pull requests focused and limited to a single issue. This facilitates quicker review and merging.
To set up your environment for developing on the project:
- Clone the repository to your local machine.
- Follow the setup instructions in the README.md file to install necessary dependencies and set up your development environment.
If you have any questions about contributing, please feel free to ask us. You can open an issue with your question, and a maintainer will get back to you as soon as possible.
Thank you for considering contributing to the project. Your efforts are greatly appreciated by the community!