CosmoStat / autometacal

Metacalibration and shape measurement by automatic differentiation
MIT License
4 stars 1 forks source link

Model fitting test #33

Closed andrevitorelli closed 2 years ago

andrevitorelli commented 2 years ago

test_model_fitting currently crashes with:

2021-10-20 13:37:46.326649: I tensorflow/core/util/cuda_solvers.cc:180] Creating CudaSolver handles for stream 0x5650e55d74f0 2021-10-20 13:37:47.213119: F tensorflow/core/util/cuda_solvers.cc:115] Check failed: cusolverDnCreate(&cusolver_dn_handle) == CUSOLVER_STATUS_SUCCESS Failed to create cuSolverDN instance.

EiffL commented 2 years ago

Ok well ^^' I guess now is as good a time as any to setup proper automated tests.

@andrevitorelli you could try to resolve #8 first. You can copy/paste most of the GitHub actions in the GalFlow repo. @sfarrens should be able to answer any questions on this

andrevitorelli commented 2 years ago

Solved: I had accidentally downgraded tensorflow-probability to a version (0.7) that didn't meet requirements. ver 0.14 passes tests.