allow inference_X not optimize