Skip to content

Commit

Permalink
Skip GPyTorch tests if torch version too low (#890)
Browse files Browse the repository at this point in the history
GPyTorch requires relatively high versions of PyTorch. Therefore,
certain tests in the CI matrix may fail for certain GPyTorch versions.
We thus skip the GPyTorch tests in case the PyTorch version is not
sufficiently high.

We don't want to force the PyTorch version itself on the user (as long
as it's sufficiently high) because most users probably don't use
GPyTorch.

To check the versions, as discussed in #888, we use the version checking
code copied from scipy.
  • Loading branch information
BenjaminBossan committed Sep 2, 2022
1 parent 1491d5a commit 862f205
Show file tree
Hide file tree
Showing 2 changed files with 507 additions and 0 deletions.

0 comments on commit 862f205

Please sign in to comment.