mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[Submodule] Remove foxi (#132976)
It is not used after removal of Caffe2 code. Pull Request resolved: https://github.com/pytorch/pytorch/pull/132976 Approved by: https://github.com/ezyang
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -74,10 +74,6 @@
|
||||
ignore = dirty
|
||||
path = third_party/fbgemm
|
||||
url = https://github.com/pytorch/fbgemm
|
||||
[submodule "third_party/foxi"]
|
||||
ignore = dirty
|
||||
path = third_party/foxi
|
||||
url = https://github.com/houseroad/foxi.git
|
||||
[submodule "android/libs/fbjni"]
|
||||
ignore = dirty
|
||||
path = android/libs/fbjni
|
||||
|
@ -557,7 +557,6 @@ cc_library(
|
||||
"@eigen",
|
||||
"@fbgemm//:fbgemm_src_headers",
|
||||
"@fmt",
|
||||
"@foxi",
|
||||
"@onnx",
|
||||
] + if_cuda(
|
||||
[
|
||||
|
@ -90,12 +90,6 @@ new_local_repository(
|
||||
path = "third_party/onnx",
|
||||
)
|
||||
|
||||
new_local_repository(
|
||||
name = "foxi",
|
||||
build_file = "//third_party:foxi.BUILD",
|
||||
path = "third_party/foxi",
|
||||
)
|
||||
|
||||
local_repository(
|
||||
name = "com_google_protobuf",
|
||||
path = "third_party/protobuf",
|
||||
|
@ -1291,7 +1291,6 @@ if(CAFFE2_CMAKE_BUILDING_WITH_MAIN_REPO AND NOT INTERN_DISABLE_ONNX)
|
||||
set_target_properties(onnx_proto PROPERTIES CXX_STANDARD 17)
|
||||
endif()
|
||||
endif()
|
||||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../third_party/foxi EXCLUDE_FROM_ALL)
|
||||
|
||||
add_definitions(-DONNX_NAMESPACE=${ONNX_NAMESPACE})
|
||||
if(NOT USE_SYSTEM_ONNX)
|
||||
@ -1320,8 +1319,6 @@ if(CAFFE2_CMAKE_BUILDING_WITH_MAIN_REPO AND NOT INTERN_DISABLE_ONNX)
|
||||
message("-- Found onnx: ${ONNX_LIBRARY} ${ONNX_PROTO_LIBRARY}")
|
||||
list(APPEND Caffe2_DEPENDENCY_LIBS onnx_proto onnx)
|
||||
endif()
|
||||
include_directories(${FOXI_INCLUDE_DIRS})
|
||||
list(APPEND Caffe2_DEPENDENCY_LIBS foxi_loader)
|
||||
# Recover the build shared libs option.
|
||||
set(BUILD_SHARED_LIBS ${TEMP_BUILD_SHARED_LIBS})
|
||||
endif()
|
||||
|
@ -96,7 +96,7 @@ else()
|
||||
append_torchlib_if_found(caffe2_protos protobuf-lite protobuf protoc)
|
||||
append_torchlib_if_found(onnx onnx_proto)
|
||||
|
||||
append_torchlib_if_found(foxi_loader fmt)
|
||||
append_torchlib_if_found(fmt)
|
||||
append_torchlib_if_found(cpuinfo clog)
|
||||
|
||||
if(NOT @USE_INTERNAL_PTHREADPOOL_IMPL@)
|
||||
|
1
setup.py
1
setup.py
@ -365,7 +365,6 @@ def get_submodule_folders():
|
||||
"gloo",
|
||||
"cpuinfo",
|
||||
"onnx",
|
||||
"foxi",
|
||||
"QNNPACK",
|
||||
"fbgemm",
|
||||
"cutlass",
|
||||
|
1
third_party/foxi
vendored
1
third_party/foxi
vendored
Submodule third_party/foxi deleted from c278588e34
16
third_party/foxi.BUILD
vendored
16
third_party/foxi.BUILD
vendored
@ -1,16 +0,0 @@
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
|
||||
cc_library(
|
||||
name = "foxi",
|
||||
srcs = [
|
||||
"foxi/onnxifi_loader.c",
|
||||
],
|
||||
hdrs = glob([
|
||||
"foxi/*.h",
|
||||
]),
|
||||
includes = [
|
||||
".",
|
||||
],
|
||||
linkstatic = 1,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
Reference in New Issue
Block a user