Guides and instructions for maintainers and contributors of this repository.
-
run examples to check it works
cd onediff_diffusers_extensions python3 examples/text_to_image.py
-
bump version in these files:
.github/workflows/pub.yml src/onediff/__init__.py onediff_diffusers_extensions/onediffx/__init__.py
-
install build package
python3 -m pip install build twine
-
build wheel
rm -rf dist python3 -m build
-
upload to pypi
twine upload dist/*