CannyLab / tsne-cuda

GPU Accelerated t-SNE for CUDA with Python bindings
BSD 3-Clause "New" or "Revised" License
1.81k stars 130 forks source link

CUBLAS_STATUS_NOT_INITIALIZED #115

Closed sofiapvcp closed 1 year ago

sofiapvcp commented 1 year ago

Hi, I tried installing via anaconda and got the following error message when running the test code:

>>> import tsnecuda
>>> tsnecuda.test()
Initializing cuda handles... CUBLAS error in file '/home/conda/feedstock_root/build_artifacts/tsnecuda_1667410386188/work/src/util/cuda_utils.cu', line 101, error: CUBLAS_STATUS_NOT_INITIALIZED
terminating!
python: /home/conda/feedstock_root/build_artifacts/tsnecuda_1667410386188/work/src/util/cuda_utils.cu:103: void __CublasSafeCall(cublasStatus_t, const char*, int): Assertion `0' failed.
Aborted (core dumped)

Here is the list of packages in my environment:

_libgcc_mutex 0.1 main _openmp_mutex 5.1 1_gnu ca-certificates 2022.12.7 ha878542_0 conda-forge certifi 2022.12.7 pyhd8ed1ab_0 conda-forge cudatoolkit 10.2.89 h713d32c_10 conda-forge gflags 2.2.2 he1b5a44_1004 conda-forge ld_impl_linux-64 2.38 h1181459_1 libblas 3.9.0 15_linux64_openblas conda-forge libcblas 3.9.0 15_linux64_openblas conda-forge libfaiss 1.7.1 cuda102hd37495c_1_cuda conda-forge libffi 3.4.2 h6a678d5_6 libgcc-ng 11.2.0 h1234567_1 libgfortran-ng 12.2.0 h69a702a_19 conda-forge libgfortran5 12.2.0 h337968e_19 conda-forge libgomp 11.2.0 h1234567_1 liblapack 3.9.0 15_linux64_openblas conda-forge libopenblas 0.3.20 pthreads_h78a6416_0 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libstdcxx-ng 11.2.0 h1234567_1 ncurses 6.3 h5eee18b_3 numpy 1.22.3 py38h99721a1_2 conda-forge openssl 1.1.1s h7f8727e_0 pip 22.3.1 py38h06a4308_0 python 3.8.15 h7a1cb2a_2 python_abi 3.8 2_cp38 conda-forge readline 8.2 h5eee18b_0 setuptools 65.5.0 py38h06a4308_0 sqlite 3.40.0 h5082296_0 tk 8.6.12 h1ccaba5_0 tsnecuda 3.0.1 cuda102py38hf301718_1 conda-forge wheel 0.37.1 pyhd3eb1b0_0 xz 5.2.8 h5eee18b_0 zeromq 4.3.4 h9c3ff4c_1 conda-forge zlib 1.2.13 h5eee18b_0

Any idea of what may be causing this?

Thank you