For a simple model
when use this code
with pm.Model() as cs_nh:
μ = pm.Normal(‘μ’, mu=0, sd=10, shape=groups)
σ = pm.HalfNormal(‘σ’, sd=10, shape=groups)
y = pm.Normal(‘y’, mu=μ[idx], sd=σ[idx], observed=diff) trace_cs_nh = pm.sample(1000)
I get an error . See the picture attached.
The code runs when i use only one core with trace_cs_nh = pm.sample(1000,cores=1)