Dev replace py parallel conf proto to cfg (#3810)
* Replace the py instruction with CFG Instruction * move RunInstruction to pybind & refactor EagerOneflow's interface by cfg * use forward declaration * Remove unused import * fix code style * Adjust import order * replace py parallel_conf proto to cfg * fix test_cpu_only_user_op parallel_conf * move RunInstruction api to oneflow_api.vm * fix MakeMachineId2DeviceIdList * remove useless line in oneflow_internal.i * replace args str to cfg_obj in python callback * add forward declear of InstructionListProto * cancel forward declear of InstructionListProto * fix a name spelling mistake * use the CFG object in the Python Callback * use cfg in the py Callback * fix redundant conversions * fix template bug * fix template * virtual const tmplate cfg * fix template.cfg.h * update cfg * update cfg Co-authored-by:clackhan <han_binbin@163.com> Co-authored-by: Noneflow-bot <69100618+oneflow-bot@users.noreply.github.com> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
想要评论请 注册 或 登录