mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[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:
parent
9a2d4d550e
commit
3afd24d62c
2 changed files with 10825 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
10823
tools/code_analyzer/default_op_deps.yaml
Normal file
10823
tools/code_analyzer/default_op_deps.yaml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue