senarvi / theanolm

TheanoLM is a recurrent neural network language modeling tool implemented using Theano
Apache License 2.0
81 stars 29 forks source link

TheanoLM shouldn't require pygpu when Theano is configured to use CPU #32

Closed alumae closed 6 years ago

alumae commented 6 years ago

TheanoLM imports pygpu, even when Theano is configured to use CPU and there is not even a GPU on the machine.

Outcommenting import pygpu and print("pygpu", pygpu.__version__) fixes the problem.

alumae commented 6 years ago

Seems to be fixed in version 1.3