mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/46057 The code analyser (that uses LLVM and runs in the OSS PyTorch git repo) already produces a YAML file which contains base operator names and the operators that they depend on. Currently, this operator dependency graph is converted into a python dictionary to be imported in BUCK and used there. However, it is mostly fed into other executables by serializing the JSON and the consumer pieces this JSON together by concatenating each argument together. This seems unnecessary. Instead, this diff retains the original YAML file and makes all consumers consume that same YAML file. ghstack-source-id: 114641582 Test Plan: Build Lite Predictor + sandcastle. Reviewed By: iseeyuan Differential Revision: D24186303 fbshipit-source-id: eecf41bf673d90b960c3efe7a1271249f0a4867f |
||
|---|---|---|
| .. | ||
| analyzer.cpp | ||
| build.sh | ||
| CMakeLists.txt | ||
| default_op_deps.yaml | ||
| gen_op_registration_allowlist.py | ||
| op_deps_pass.cpp | ||
| op_deps_processor.py | ||
| run_analyzer.sh | ||