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

Illegal instruction in CUDA8.0 #25

Closed
xiaotingFu opened this issue Dec 1, 2018 · 1 comment
Closed

Illegal instruction in CUDA8.0 #25

xiaotingFu opened this issue Dec 1, 2018 · 1 comment

Comments

@xiaotingFu
Copy link

Hi,
I just installed tsne-cuda used anaconda:

conda install tsnecuda cuda80 -c cannylab # For CUDA8.0

My nvcc version is listed below:
(tsnecuda) [xfu7@c47 ~]$ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2016 NVIDIA Corporation Built on Tue_Jan_10_13:22:03_CST_2017 Cuda compilation tools, release 8.0, V8.0.61
However using the following test script, I find some error:

>>> from tsnecuda import TSNE
>>> import numpy as np
>>> X = np.array([[0, 0, 0], [0, 1, 1], [1, 0, 1], [1, 1, 1]])
>>> X_embedded = TSNE().fit_transform(X)

WARNING clustering 4 points to 2 centroids: please provide at least 78 training points
Illegal instruction

Can anyone help me what is the problem?

Thanks a lot,

@DavidMChan
Copy link
Member

For future reference, this is just a warning when you use very few points in the FAISS library. Because this was designed to be optimal for large numbers of points, when you use smaller sets of points, you are doing more bookkeeping work than is necessary. Nothing is going wrong with the library, it just many not be optimal in terms of performance.

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