-
Notifications
You must be signed in to change notification settings - Fork 587
Deploy instructions
Geoff Pleiss edited this page Jan 14, 2026
·
16 revisions
- If necessary: update the minimum PyTorch/Python version, and the minimum
linear_operatorversion:- In setup.py
- In README.md
- In .github/workflows/*.yml
- In
.conda/meta.yaml
- On Github, go to https://github.com/cornellius-gp/gpytorch/releases/new to create a new release.
- Under the
Tag: Select Tagdropdown, clickCreate New Tag. Name the tagv<semantic_version_number>(e.g.v1.15.2). - Click
Generate Release Notesto automatically populate the release name and description. - Click
Publish Release
- Under the
That should be it! The deploy actions should take care of the rest.
- Go to the RTD admin page for GPyTorch and click on the "Versions" tab
- Find the latest tag under "Activate a Version", and click the "Activate" button. Check the "active" check box.
- Under "Admin > Advanced Settings", change the default version to the latest version.
- Locally create a packaged version (
python setup.py sdist) - Upload the latest package to PyPI (
twine upload dist/gpytorch-<version_number>.tar.gz)
- Make sure you have
conda-buildinstalled:conda install conda-build - Let the meta.yaml file know about the pytorch channel
conda config --append channels pytorch - Change in to the
.condadirectory:cd .conda - Run
conda-build .in the.condadirectory - Upload the latest package to Anaconda Cloud using the command printed out at the end of
conda-build.