The scheduler for protoML.