Skip to content

Commit

Permalink
Remove some Caffe2 binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyever committed May 1, 2024
1 parent 77219eb commit 0a05dcd
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 3,545 deletions.
31 changes: 0 additions & 31 deletions binaries/CMakeLists.txt
Expand Up @@ -8,33 +8,13 @@ if(INTERN_BUILD_MOBILE)
endif()

if(BUILD_CAFFE2)
caffe2_binary_target("convert_caffe_image_db.cc")
caffe2_binary_target("convert_db.cc")
caffe2_binary_target("make_cifar_db.cc")
caffe2_binary_target("make_mnist_db.cc")
caffe2_binary_target("predictor_verifier.cc")
caffe2_binary_target("speed_benchmark.cc")
caffe2_binary_target("split_db.cc")
caffe2_binary_target("print_registered_core_operators.cc")

if(USE_OBSERVERS)
caffe2_binary_target(caffe2_benchmark "caffe2_benchmark.cc" "benchmark_helper.cc")
target_include_directories(caffe2_benchmark PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../modules)
endif()

caffe2_binary_target("at_launch_benchmark.cc")
target_include_directories(at_launch_benchmark PUBLIC
${CMAKE_BINARY_DIR}/aten/src)

caffe2_binary_target("intra_inter_benchmark.cc")
target_include_directories(intra_inter_benchmark PUBLIC
${CMAKE_BINARY_DIR}/aten/src)

caffe2_binary_target("run_plan.cc")
caffe2_binary_target("db_throughput.cc")

# ---[ tutorials
caffe2_binary_target("tutorial_blob.cc")
endif()

caffe2_binary_target("parallel_info.cc")
Expand Down Expand Up @@ -82,17 +62,6 @@ if(USE_MPI)
target_link_libraries(run_plan_mpi ${MPI_CXX_LIBRARIES})
endif()

if(USE_OPENCV)
caffe2_binary_target("make_image_db.cc")
target_link_libraries(make_image_db ${OpenCV_LIBS})
caffe2_binary_target("convert_image_to_tensor.cc")
target_link_libraries(convert_image_to_tensor ${OpenCV_LIBS})
endif()

if(USE_OBSERVERS AND USE_OPENCV)
caffe2_binary_target("convert_and_benchmark.cc")
target_link_libraries(convert_and_benchmark ${OpenCV_LIBS})
endif()

caffe2_binary_target("dump_operator_names.cc")
caffe2_binary_target("optimize_for_mobile.cc")
Expand Down

0 comments on commit 0a05dcd

Please sign in to comment.