PartitionGraph doesn't intuitively inherit .commit(), so it is called on the BatchGraph instead.