Hi,

A recent commit concerning libgpuarray/ pygpu:

https://github.com/Theano/Theano/commit/073288a377d70f59962f81561251ec52304c07ab

creates a problem when using Nematus (a popular machine translation system 
based on theano):

RuntimeError("You can't initialize the GPU in a subprocess if the parent 
process already did it")

There is indeed a parent Python training process, and it spawns a child 
Python process for validation. Training and validation need to be on 
different devices, and this is realized with THEANO_FLAGS.

I investigated this issue a bit more, and it turns out this is not a 
problem for Theano==1.0.0, only for Theano>=1.0.1.

Why is this change necessary?

Thanks and regards
Mathias

P.S. I was not sure whether to open a Github issue or post here. If Github 
is better please let me know.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to