Trouble putting together a regression model in pymc3

What’s y_train's shape? One quick option to reduce memory consumption is to sample(cores=1). When using more than one, new processes are forked, data is copied across process and the overall memory consumption scales with the number of cores.