Contributing
Contributions are welcome! If you'd like to contribute to this project, please follow these guidelines.
Development Setup
-
Fork the repository: Create your own fork of the repository on GitHub.
-
Clone your fork:
git clone https://github.com/YOUR_USERNAME/denoising-diffusion-pytorch.git cd denoising-diffusion-pytorch
-
Install in editable mode: Install the package and its dependencies in editable mode. It's recommended to do this in a virtual environment.
python -m venv venv source venv/bin/activate pip install -e .
Making Changes
-
Create a new branch:
git checkout -b your-feature-branch
-
Make your changes: Add your new feature, fix a bug, or improve the documentation.
-
Code Style: Please format your code using a standard formatter like
black
to maintain consistent code style.pip install black black .
-
Testing: If you add a new feature, please also add corresponding tests. (Note: A testing suite is not yet formally established, but contributions in this area are highly encouraged).
Submitting a Pull Request
-
Commit your changes:
git commit -m "feat: Add awesome new feature"
-
Push to your fork:
git push origin your-feature-branch
-
Open a Pull Request: Go to the original repository on GitHub and open a pull request from your fork. Provide a clear description of the changes you've made.