LLNL / MuyGPyS

A fast, pure python implementation of the MuyGPs Gaussian process realization and training algorithm.
Other
25 stars 11 forks source link

Need test cases for CI covering `MuyGPyS.torch` #86

Closed bwpriest closed 1 year ago

bwpriest commented 1 year ago

PR's #80 and #84 show that we need automated test cases that cover the functions it MuyGPyS.torch so that the torch interface stays in sync with the rest of the library.

bwpriest commented 1 year ago

There is a test case in tests/api/torch.py, but it requires data that we cannot host so it is not a part of the .github/workflows/develop-test.yml CI harness. We need a separate tests/torch.py test case that tests the components of MuyGPyS.torch and ensures that they do what we expect, i.e. that the output shapes are correct and that we can optimize some synthetic data correctly. See tests/optimize.py for some examples. It can get added to the build-torch job in .github/workflows/develop-test.yml.