LLNL / MuyGPyS

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

Need to support sigma_sq optimization in PyTorch #112

Open alecmdunton opened 1 year ago

alecmdunton commented 1 year ago

Torch doesn't like it when we try to use, e.g., muygps_sigma_sq_optim on a MuyGPS object because of an issue with deepcopy. Will need to figure out a way to support computation of sigma_sq in MuyGPyS.torch.muygps_layer that doesn't require calling anything in MuyGPyS._src.

bwpriest commented 1 year ago

This is still an issue, and needs to get addressed. I believe that we need to stop treating MuyGPS objects as immutable and stop treating optimization functions as pure functions, but this might be confusing to users.