thejoker icon indicating copy to clipboard operation
thejoker copied to clipboard

Theano compilelock issues with MultiPool

Open adrn opened this issue 3 years ago • 7 comments

See email by Song Wang:

with schwimmbad.MultiPool() as pool:
        joker_mcmc = tj.TheJoker(prior_mcmc, pool=pool, random_state=rnd)
        mcmc_init = joker_mcmc.setup_mcmc(data, samples)

with schwimmbad.MultiPool() as pool:
       joker = tj.TheJoker(prior, pool=pool, random_state=rnd)
       prior_samples = prior.sample(size=10000,random_state=rnd)
       samples = joker.rejection_sample(data, prior_samples, max_posterior_samples=256)

throw a warning:

"INFO (theano.gof.compilelock): Waiting for existing lock by process '' (I am process '') INFO (theano.gof.compilelock): To manually release the lock, delete ***/lock_dir"

adrn avatar Jul 15 '20 11:07 adrn