[pytorch] check in default generated op dependency graph (#43570)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43570

Add the default op dependency graph to the source tree - use it if user runs
custom build in dynamic dispatch mode without providing the graph.

Test Plan: Imported from OSS

Reviewed By: ezyang

Differential Revision: D23326988

Pulled By: ljk53

fbshipit-source-id: 5fefe90ca08bb0ca20284e87b70fe1dba8c66084
This commit is contained in:
Jiakai Liu 2020-08-27 14:49:12 -07:00 committed by Facebook GitHub Bot
parent 9a2d4d550e
commit 3afd24d62c
2 changed files with 10825 additions and 1 deletions

View file

@ -168,7 +168,8 @@ if(INTERN_BUILD_ATEN_OPS)
if(SELECTED_OP_LIST)
if(NOT USE_STATIC_DISPATCH AND NOT OP_DEPENDENCY)
message(FATAL_ERROR "Must provide op dependency graph .yaml file for custom build with dynamic dispatch!")
message(INFO "Use default op dependency graph .yaml file for custom build with dynamic dispatch.")
set(OP_DEPENDENCY ${CMAKE_CURRENT_LIST_DIR}/../tools/code_analyzer/default_op_deps.yaml)
endif()
execute_process(
COMMAND

File diff suppressed because it is too large Load diff