mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01: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:
parent
bb6eef8ed1
commit
05e8e87a69
4
.gitmodules
vendored
4
.gitmodules
vendored
|
|
@ -74,10 +74,6 @@
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
path = third_party/fbgemm
|
path = third_party/fbgemm
|
||||||
url = https://github.com/pytorch/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"]
|
[submodule "android/libs/fbjni"]
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
path = android/libs/fbjni
|
path = android/libs/fbjni
|
||||||
|
|
|
||||||
|
|
@ -557,7 +557,6 @@ cc_library(
|
||||||
"@eigen",
|
"@eigen",
|
||||||
"@fbgemm//:fbgemm_src_headers",
|
"@fbgemm//:fbgemm_src_headers",
|
||||||
"@fmt",
|
"@fmt",
|
||||||
"@foxi",
|
|
||||||
"@onnx",
|
"@onnx",
|
||||||
] + if_cuda(
|
] + if_cuda(
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -90,12 +90,6 @@ new_local_repository(
|
||||||
path = "third_party/onnx",
|
path = "third_party/onnx",
|
||||||
)
|
)
|
||||||
|
|
||||||
new_local_repository(
|
|
||||||
name = "foxi",
|
|
||||||
build_file = "//third_party:foxi.BUILD",
|
|
||||||
path = "third_party/foxi",
|
|
||||||
)
|
|
||||||
|
|
||||||
local_repository(
|
local_repository(
|
||||||
name = "com_google_protobuf",
|
name = "com_google_protobuf",
|
||||||
path = "third_party/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)
|
set_target_properties(onnx_proto PROPERTIES CXX_STANDARD 17)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../third_party/foxi EXCLUDE_FROM_ALL)
|
|
||||||
|
|
||||||
add_definitions(-DONNX_NAMESPACE=${ONNX_NAMESPACE})
|
add_definitions(-DONNX_NAMESPACE=${ONNX_NAMESPACE})
|
||||||
if(NOT USE_SYSTEM_ONNX)
|
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}")
|
message("-- Found onnx: ${ONNX_LIBRARY} ${ONNX_PROTO_LIBRARY}")
|
||||||
list(APPEND Caffe2_DEPENDENCY_LIBS onnx_proto onnx)
|
list(APPEND Caffe2_DEPENDENCY_LIBS onnx_proto onnx)
|
||||||
endif()
|
endif()
|
||||||
include_directories(${FOXI_INCLUDE_DIRS})
|
|
||||||
list(APPEND Caffe2_DEPENDENCY_LIBS foxi_loader)
|
|
||||||
# Recover the build shared libs option.
|
# Recover the build shared libs option.
|
||||||
set(BUILD_SHARED_LIBS ${TEMP_BUILD_SHARED_LIBS})
|
set(BUILD_SHARED_LIBS ${TEMP_BUILD_SHARED_LIBS})
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ else()
|
||||||
append_torchlib_if_found(caffe2_protos protobuf-lite protobuf protoc)
|
append_torchlib_if_found(caffe2_protos protobuf-lite protobuf protoc)
|
||||||
append_torchlib_if_found(onnx onnx_proto)
|
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)
|
append_torchlib_if_found(cpuinfo clog)
|
||||||
|
|
||||||
if(NOT @USE_INTERNAL_PTHREADPOOL_IMPL@)
|
if(NOT @USE_INTERNAL_PTHREADPOOL_IMPL@)
|
||||||
|
|
|
||||||
1
setup.py
1
setup.py
|
|
@ -365,7 +365,6 @@ def get_submodule_folders():
|
||||||
"gloo",
|
"gloo",
|
||||||
"cpuinfo",
|
"cpuinfo",
|
||||||
"onnx",
|
"onnx",
|
||||||
"foxi",
|
|
||||||
"QNNPACK",
|
"QNNPACK",
|
||||||
"fbgemm",
|
"fbgemm",
|
||||||
"cutlass",
|
"cutlass",
|
||||||
|
|
|
||||||
1
third_party/foxi
vendored
1
third_party/foxi
vendored
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit c278588e34e535f0bb8f00df3880d26928038cad
|
|
||||||
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"],
|
|
||||||
)
|
|
||||||
Loading…
Reference in New Issue
Block a user