Created by: zhouwei25
update inference library to 2.0-beta. cherry-pick https://github.com/PaddlePaddle/FluidDoc/pull/2680