I trainned my module with multi-threads with
package threads. I wrote my module as
threadedtrain.lua demo shows. the demo works well whenever the threads number set, however, my own model run well only when I set nThreads(number of thread) =1 and throw bugs as title said when nThreads = 2. I run on 32G RAM machine, so the memory is enough. i can't find answer about BLAS of torch,all is about OpenBLAS, what should i do? recompile OpenBLAS or I miss something?