Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run python unit-tests #37

Closed
teju85 opened this issue Nov 16, 2018 · 2 comments
Closed

Unable to run python unit-tests #37

teju85 opened this issue Nov 16, 2018 · 2 comments

Comments

@teju85
Copy link
Member

teju85 commented Nov 16, 2018

I'm using at the HEAD of this repository. When I try to run the unit-tests, I get the error at attached at the end. Command to repro:

$ cd python/cuML/test
$ pytest test_pca.py

run.log

@dantegd
Copy link
Member

dantegd commented Nov 16, 2018

Just ran the python tests successfully in Python 3.6, cuda 9.2 environmente with a gv100. The log seems to be failing in cudf: cudf/dataframe.py:523: in as_gpu_matrix with a numba.cuda.cudadrv.driver.CudaAPIError: [1] Call to cuMemcpyDtoD results in CUDA_ERROR_INVALID_VALUE.

Also it seems that there might be a conflict on what exact version you are running, for the numpy tests it says: `E AttributeError: 'numpy.ndarray' object has no attribute '_cols'

python/cuML/pca/pca_wrapper.pyx:206: AttributeError`

But line 206 in current head is elif (isinstance(X, np.ndarray)): which doesn't access any attributes of X

@teju85
Copy link
Member Author

teju85 commented Nov 16, 2018

Ok. I think this was some weird issue with python libraries!
A full and clean install works and it doesn't show this error anymore.
Thanks Dante.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants