Sequential weight ids. Parallelizing factor graph generation.
add inference pipeline to spouse example