cornellius-gp / linear_operator

A LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch
MIT License
95 stars 28 forks source link

Use a fix random seed for the tests #95

Open vivienreports opened 8 months ago

vivienreports commented 8 months ago

🚀 Feature Request

Use a fix random seed for the tests.

Motivation

Hello!

In a CI build of linear_operator, we are sometimes experiencing a build failure due to too tight tolerances. For instance, here:

https://bordeaux.guix.gnu.org/build/cecb897d-366c-4d76-a501-7e7507978b53/log

The fact that it happens randomly is a problem to build the package reliably.

Pitch

Could you please use a fixed random seed to run the tests, at least for CI builds? I don’t know enough Python to help much.

Best regards,

Vivien