Optimal Inference Schedules for Masked Diffusion Models