Skip to content

Commit c2a754c

Browse files
TerryTsaofacebook-github-bot
authored andcommitted
Fix CMakeLists.txt for Int8 python bindings (pytorch#15047)
Summary: Currently in caffe2, one cannot properly fetch the content of Int8 blobs. Upon digging the source code, it turns out that the relevant source code is not being compiled. Adding the source to CMakeLists.txt fixes this issue. First time ever doing a pull request. Please let me know if there's any rule I should follow. Thanks. Pull Request resolved: pytorch#15047 Differential Revision: D13417583 Pulled By: bddppq fbshipit-source-id: dd39575971a3012635edbf97a045d80e4b62a8eb
1 parent 687834d commit c2a754c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

caffe2/python/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set(Caffe2_CPU_PYTHON_SRCS
44
"/pybind_state_dlpack.cc"
55
"/pybind_state_nomni.cc"
66
"/pybind_state_registry.cc"
7+
"/pybind_state_int8.cc"
78
)
89

910
if(CAFFE2_USE_MKLDNN)

0 commit comments

Comments
 (0)