Thank you for your interest in contributing to this project! We welcome contributions from the community.
- Fork the repository
- Clone your fork:
git clone https://github.com/hieulhaiwork/EMD-Pytorch.git - Create a development environment:
conda create -n emd-dev python=3.9 conda activate emd-dev pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
- Install in development mode:
pip install -e .
- Create a new branch:
git checkout -b feature/your-feature-name - Make your changes
- Test your changes:
python tests/final_validation.py - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin feature/your-feature-name - Submit a pull request
- Follow PEP 8 for Python code
- Use meaningful variable names
- Add docstrings to functions and classes
- Keep CUDA code well-commented
- All changes should include appropriate tests
- Run the full test suite before submitting
- Performance regressions should be avoided
- Ensure your code passes all tests
- Update documentation if needed
- Add your changes to the changelog
- Request review from maintainers
- Use the issue tracker for bug reports and feature requests
- Provide minimal reproducible examples for bugs
- Check existing issues before creating new ones