Closed radekrepo closed 8 years ago
It doesn't require CUDA, but the code isn't written to handle that case. CPUs are just extremely slow for lda2vec, and I wouldn't recommend it. That said, a quick fix is to remove that line that calls the GPU env cuda.get_device
and to remove later lines about model.to_gpu
Hi,
I read from the main page of this github that the only requirement for modelling is to have the CUDA support. At present, I'm trying to use code from the lda2vec_run.py file to run modelling. I have seen that there is a moment towards the end of the file where the output is saved to hdf5 but I can't find any documentation on whether CUDA + cuDNN and/or HDF5 is required to run an lda2vec model.
I ask because at present, despite installation of CUDA toolkit together with Visual Studio 2013 and setting environmental variables for Chainer, I cannot correctly import cuda to chainer.
My code is this:
I get an error as follows:
I would be grateful for help and any clarification.