https://github.com/GPflow/GPflow
Revision f3c511060ce62072a34a50319237d28b82d10448 authored by Vincent Dutordoir on 27 August 2020, 11:22:49 UTC, committed by GitHub on 27 August 2020, 11:22:49 UTC
* Update pull request template (#1510) Clarify template to make it easier for contributors to fill in relevant information. * Temporary workaround for tensorflow_probability dependency issue (#1522) * pin cloudpickle==1.3.0 as temporary workaround for tensorflow/probability#991 to unblock our build (to be reverted once fixed upstream) * Update readme with new project using GPflow (#1530) * fix bug in varying_noise notebook (#1526) * Fix formatting in docs (intro.md) and restore link removed by #1498 (#1520) * pin tensorflow<2.3 tensorflow-probability<0.11 (#1537) * Quadrature Refactoring (#1505) * WIP: quadrature refactoring * Removing old ndiagquad code * deleted test code * formatting and type-hint * merge modules * black formatting * formatting * solving failing tests * fixing failing tests * fixes * adapting tests for new syntax, keeping numerical behavior * black formatting * remove printf * changed code for compiled tf compatibility * black * restored to original version * undoing changes * renaming * renaming * renaming * reshape kwargs * quadrature along axis=-2, simplified broadcasting * black * docs * docs * helper function * docstrings and typing * added new and old quadrature equivalence tests * black * Removing comments Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com> * Typo Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com> * notation Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com> * reshape_Z_dZ return docstring fix * FIX: quad_old computed with the ndiagquad_old Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com> * more readable implementation Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com> * tf.ensure_shape added * removed ndiagquad * removed ndiagquad * Revert "removed ndiagquad" This reverts commit 7bb0e9f1e0f2b0e225a2b8a5b3092c4c2f24ba91. * FIX: shape checking of dZ * Revert "removed ndiagquad" This reverts commit 8e235241a697696e361158c30ff9aa9b4cc69f8a. Co-authored-by: Gustavo Carvalho <gustavo.carvalho@delfosim.com> Co-authored-by: ST John <st@prowler.io> Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com> * Add base_conditional_with_lm function (#1528) * Added base_conditional_with_lm function, which accepts Lm instead of Kmm Co-authored-by: Neil Ferguson <neil@prowler.io> Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com> Co-authored-by: st-- <st--@users.noreply.github.com> * Fixed separate_independent_conditional to correctly handle q_sqrt=None. (#1533) * Fixed separate_independent_conditional to correctly handle q_sqrt=None. Co-authored-by: Aidan Scannell <scannell.aidan@gmail.com> Co-authored-by: st-- <st--@users.noreply.github.com> * Bump version numbers to 2.1.0. (#1544) * Re-introduce pytest-xdist (#1541) Enables pytest-xdist for locally running tests (`make test`) on multiple cores in parallel. * check dependency versions are valid on CI (#1536) * Update to not use custom image (#1545) * Update to not use custom image * Add test requirements * Update parameter to be savable (#1518) * Fix for quadrature failure mode when autograph was set to False (#1548) * Fix and test * Change shape of quadrature tensors for better broadcasting (#1542) * using the first dimension to hold the quadrature summation * adapting ndiagquad wrapper * Changed bf for bX in docstrings Co-authored-by: Gustavo Carvalho <gustavo.carvalho@delfosim.com> Co-authored-by: st-- <st--@users.noreply.github.com> Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com> * Update min TFP supported version to 0.10 (#1551) * Broadcasting constant and zero mean function (#1550) * Broadcasting constant and zero mean function * Use rank instead of ndim Co-authored-by: st-- <st--@users.noreply.github.com> Co-authored-by: joelberkeley-pio <joel.berkeley@prowler.io> Co-authored-by: gustavocmv <47801305+gustavocmv@users.noreply.github.com> Co-authored-by: Gustavo Carvalho <gustavo.carvalho@delfosim.com> Co-authored-by: ST John <st@prowler.io> Co-authored-by: Neil Ferguson <nfergu@users.noreply.github.com> Co-authored-by: Neil Ferguson <neil@prowler.io> Co-authored-by: Aidan Scannell <as12528@my.bristol.ac.uk> Co-authored-by: Aidan Scannell <scannell.aidan@gmail.com> Co-authored-by: Sandeep Tailor <s.tailor@insysion.net> Co-authored-by: Artem Artemev <art.art.v@gmail.com>
1 parent acaccfd
Tip revision: f3c511060ce62072a34a50319237d28b82d10448 authored by Vincent Dutordoir on 27 August 2020, 11:22:49 UTC
Release 2.1.0 (#1552)
Release 2.1.0 (#1552)
Tip revision: f3c5110
config.yml
runtest: &runtest
steps:
- checkout
- run:
name: Install GPflow
command: |
pip install -U pip
pip install -e .
pip install -r tests_requirements.txt
- run:
name: Run tests
command: |
pytest -v -W ignore::UserWarning --durations=10 -m "${PYTEST_FILTER}" --cov=./gpflow ./tests
- run:
name: Upload coverage report
command: |
bash <(curl -s https://codecov.io/bash) -t "${CODECOV_TOKEN}"
version: 2.1
jobs:
verify-dependencies:
docker:
- image: circleci/python:3.6-buster
steps:
- checkout
- run:
name: Check installed dependencies are compatible
command: |
pip install --progress-bar=off -e .
pip check -vvv
type-check:
docker:
- image: circleci/python:3.6-buster
steps:
- checkout
- run:
name: Install type checker
command: pip install mypy
- run:
name: Run type checker
command: mypy .
unit-test:
<<: *runtest
docker:
- image: circleci/python:3.6-buster
environment:
PYTEST_FILTER: not notebooks
notebook-test:
<<: *runtest
docker:
- image: circleci/python:3.6-buster
environment:
PYTEST_FILTER: notebooks
format-checker:
docker:
- image: circleci/python:3.6-buster
steps:
- checkout
- run:
name: Install Black
command: |
pip install black==19.10b0
- run:
name: Run format checker
command: |
black --check -t py36 -l 100 gpflow tests doc setup.py
trigger-docs-generation:
docker:
- image: circleci/python:3.6-buster
environment:
ORGANIZATION: GPflow
PROJECT: docs
BRANCH: develop
steps:
- run:
name: Trigger the Build Job in Docs repo
# Compiled documentation for readthedocs are built and stored in the https://github.com/GPflow/docs/ repository
# For configuration of the doc build, see https://github.com/GPflow/docs/blob/develop/.circleci/config.yml
command: |
BUILD_INFO=$(curl -X POST -H -d \
"{}" \
"https://circleci.com/api/v1/project/$ORGANIZATION/$PROJECT/tree/$BRANCH?circle-token=$DOCS_TOKEN")
deploy:
docker:
- image: circleci/python:3.6-buster
steps:
- checkout
- run:
name: Verify git tag vs. VERSION
command: |
VERSION="v$(cat VERSION | tr -d '\t\r\n ')"
if [ "$VERSION" != "$CIRCLE_TAG" ]; then
echo "The package version ($VERSION) and the latest tag version ($CIRCLE_TAG) are different"
exit 1
fi
- run:
name: Install twine
command: |
pip install twine
- run:
name: Init .pypirc
command: |
echo -e "[pypi]" >> ~/.pypirc
echo -e "username = artemav" >> ~/.pypirc
echo -e "password = $PYPI_PASSWORD" >> ~/.pypirc
- run:
name: Create pip package
command: |
python setup.py bdist_wheel sdist
- run:
name: Upload to PyPI
command: |
twine upload dist/*
workflows:
version: 2.1
build_test_and_deploy:
jobs:
- verify-dependencies:
filters:
tags:
only: /^v[0-9]+(\.[0-9]+)*(-rc[0-9]+)?/
- type-check:
filters:
tags:
only: /^v[0-9]+(\.[0-9]+)*(-rc[0-9]+)?/
- format-checker:
filters:
tags:
only: /^v[0-9]+(\.[0-9]+)*(-rc[0-9]+)?/
- unit-test:
requires:
- format-checker
filters:
tags:
only: /^v[0-9]+(\.[0-9]+)*(-rc[0-9]+)?/
- notebook-test:
requires:
- format-checker
filters:
tags:
only: /^v[0-9]+(\.[0-9]+)*(-rc[0-9]+)?/
- trigger-docs-generation:
requires:
- unit-test
- notebook-test
filters:
branches:
only: develop
- deploy:
requires:
- unit-test
- notebook-test
filters:
tags:
only: /^v[0-9]+(\.[0-9]+)*(-rc[0-9]+)?/
branches:
ignore: /.*/
Computing file changes ...