2.5-dimensional distributed model training