Ontify
Catalysis of the reaction: 2-C-methyl-D-erythritol 4-phosphate + NADP(+) = 1-deoxy-D-xylulose 5-phosphate + H(+) + NADPH.