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

Fail with CUDA error 9. #123

Open
Mi-Peng opened this issue Jun 19, 2023 · 3 comments
Open

Fail with CUDA error 9. #123

Mi-Peng opened this issue Jun 19, 2023 · 3 comments

Comments

@Mi-Peng
Copy link

Mi-Peng commented Jun 19, 2023

Thanks for your working, this is a great implementation. I'm using tsne-cuda on Linux OS with NVIDIA GPU. Running tsnecuda.test() is fine but when I run for my code got

Faiss assertion 'err__ == cudaSuccess' failed in void faiss::gpu::ivfInterleavedScanImpl_32_(faiss::gpu::Tensor<float, 2, true>&, faiss::gpu::Tensor<int, 2, true>&, thrust::device_vector<void*>&, thrust::device_vector<void*>&, faiss::gpu::IndicesOptions, thrust::device_vector<int>&, int, faiss::MetricType, bool, faiss::gpu::Tensor<float, 3, true>&, faiss::gpu::GpuScalarQuantizer*, faiss::gpu::Tensor<float, 2, true>&, faiss::gpu::Tensor<long int, 2, true>&, faiss::gpu::GpuResources*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1636459943780/work/faiss/gpu/impl/scan/IVFInterleaved32.cu:13; details: CUDA error 9 invalid configuration argument

Here is how I run:

from tsnecuda import TSNE

tsne_embedding = TSNE(
            n_components=2,
            perplexity=perplexity,
            early_exaggeration=early_exaggeration,
            learning_rate=learning_rate,
            n_iter=n_iter,
            metric=metric,
            init='random',
        ).fit_transform(embedding)

and I install tsnecuda by conda command:

conda install tsnecuda -c cannylab

and

conda install tsnecuda -c conda-forge

but none of them work.

@artemZholus
Copy link

same issue

@boycehbz
Copy link

Is the problem being addressed?

@boycehbz
Copy link

I found it may fail on a large dataset

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

3 participants