mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[Pytorch Edge] Caffe2 Serialize files into indepedent target. Clean up function.cpp deps
Summary:
It seemed strange to me that min_runtime_lib was dependent on the serialization headers but didnt have a dependency on their .cc. This puts them into their own target that contains both and then updates deps.
(Note: this ignores all push blocking failures!)
Test Plan: ci
Reviewed By: iseeyuan
Differential Revision: D34159900
fbshipit-source-id: 57102414be2439f5f4e3ed8ccd2b0c375b9de9b2
(cherry picked from commit c9ff2d2d9d)
This commit is contained in:
parent
d79aec91f7
commit
76df91215f
|
|
@ -1,5 +1,4 @@
|
|||
#include <ATen/core/dynamic_type.h>
|
||||
#include <caffe2/serialize/inline_container.h>
|
||||
#include <torch/csrc/jit/mobile/function.h>
|
||||
#include <torch/csrc/jit/mobile/interpreter.h>
|
||||
#include <torch/csrc/jit/mobile/parse_bytecode.h>
|
||||
|
|
@ -7,7 +6,6 @@
|
|||
#include <torch/csrc/jit/mobile/prim_ops_registery.h>
|
||||
#include <torch/csrc/jit/runtime/instruction.h>
|
||||
#include <torch/csrc/jit/runtime/operator.h>
|
||||
#include <torch/csrc/jit/serialization/import_export_constants.h>
|
||||
|
||||
namespace torch {
|
||||
namespace jit {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user