You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[...]
test_SparseGPRegression_rbf_white_kern_1d (GPy.testing.model_tests.GradientTests)
Testing the sparse GP regression with rbf kernel with white kernel on 1d data ... initializing Y
initializing inference method
adding kernel and likelihood as parameters
Adding Z as parameter
FAIL
[...]
======================================================================
FAIL: test_SparseGPRegression_rbf_white_kern_1d (GPy.testing.model_tests.GradientTests)
Testing the sparse GP regression with rbf kernel with white kernel on 1d data
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/guix-build-python-gpy-1.10.0.drv-0/GPy-1.10.0/GPy/testing/model_tests.py", line 788, in test_SparseGPRegression_rbf_white_kern_1d
self.check_model(rbf, model_type='SparseGPRegression', dimension=1)
File "/tmp/guix-build-python-gpy-1.10.0.drv-0/GPy-1.10.0/GPy/testing/model_tests.py", line 682, in check_model
self.assertTrue(m.checkgrad())
AssertionError: False is not true
----------------------------------------------------------------------
Ran 274 tests in 466.921s
FAILED (failures=1, skipped=3)
Thanks!
The text was updated successfully, but these errors were encountered:
Hi! I just tried updating GPy to version 1.13.1, and I'm getting a syntax error in the mpi_test__.py file which seemingly uses Python 2 syntax:
testing/mpi_test__.py'...
*** File "/gnu/store/7gyd40a2zchj2j1s796v5393laxpvr9l-python-gpy-1.13.1/lib/python3.10/site-packages/GPy/testing/mpi_test__.py", line 16
print float(m.objective_function())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Clearly, this is a something I overlooked when modernizing the tests.
I am a little confused why CI testing did not run into this 🤔 but anyways, thanks for reporting! I'll open up a branch on this one.
@Apteryks I am not sure how you are running the tests. Is there any way you can test if branch 1054-test_sparsegpregression_rbf_white_kern_1d-test-failure-on-powerpc64le-arch fixes this?
Hello,
Found by GNU Guix CI (https://ci.guix.gnu.org/build/2921270/)
Thanks!
The text was updated successfully, but these errors were encountered: