copied infer to github