You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update on "[caffe2] Export operators to c10 without including ATen/Tensor.h"
With this change, the only caffe2 files that depend on `ATen/Tensor.h`
are ones that directly use the ATen API. Specifically,
```
[
"caffe2/CMakeFiles/torch_cuda_cpp.dir/contrib/aten/aten_op_gpu.cc.o",
"caffe2/CMakeFiles/torch_cpu.dir/core/tensor.cc.o",
"caffe2/CMakeFiles/torch_cuda_cpp.dir/operators/layer_norm_op.cu.o",
"caffe2/CMakeFiles/torch_cpu.dir/core/IValueInterface.cc.o",
"caffe2/CMakeFiles/cuda_tensor_interop_test.dir/__/aten/src/ATen/test/cuda_tensor_interop_test.cpp.o",
"caffe2/CMakeFiles/torch_cpu.dir/contrib/aten/aten_op.cc.o",
"caffe2/CMakeFiles/caffe2_pybind11_state_gpu.dir/python/pybind_state.cc.o",
"caffe2/CMakeFiles/torch_cpu.dir/operators/layer_norm_op.cc.o",
"caffe2/CMakeFiles/torch_cpu.dir/core/export_c10_op_to_caffe2.cc.o",
"caffe2/CMakeFiles/torch_cpu.dir/core/export_caffe2_op_to_c10.cc.o",
"caffe2/CMakeFiles/torch_cpu.dir/operators/enforce_finite_op.cc.o",
"caffe2/CMakeFiles/torch_cpu.dir/core/operator.cc.o",
"caffe2/CMakeFiles/tensor_interop_test.dir/__/aten/src/ATen/test/tensor_interop_test.cpp.o",
"caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o"
]
```
Differential Revision: [D32289810](https://our.internmc.facebook.com/intern/diff/D32289810)
[ghstack-poisoned]
0 commit comments