add inf-and-flip inference-meta-solver
fix FastPD patch