mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[BC BREAKING] Remove outdated python submodules (#108236)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/108236 Approved by: https://github.com/malfet
This commit is contained in:
parent
eb67c452c8
commit
d6a9c2b4b5
|
|
@ -43,7 +43,7 @@ function assert_git_not_dirty() {
|
||||||
# TODO: we should add an option to `build_amd.py` that reverts the repo to
|
# TODO: we should add an option to `build_amd.py` that reverts the repo to
|
||||||
# an unmodified state.
|
# an unmodified state.
|
||||||
if [[ "$BUILD_ENVIRONMENT" != *rocm* ]] && [[ "$BUILD_ENVIRONMENT" != *xla* ]] ; then
|
if [[ "$BUILD_ENVIRONMENT" != *rocm* ]] && [[ "$BUILD_ENVIRONMENT" != *xla* ]] ; then
|
||||||
git_status=$(git status --porcelain)
|
git_status=$(git status --porcelain | grep -v '?? third_party' || true)
|
||||||
if [[ $git_status ]]; then
|
if [[ $git_status ]]; then
|
||||||
echo "Build left local git repository checkout dirty"
|
echo "Build left local git repository checkout dirty"
|
||||||
echo "git status --porcelain:"
|
echo "git status --porcelain:"
|
||||||
|
|
|
||||||
8
.gitmodules
vendored
8
.gitmodules
vendored
|
|
@ -58,18 +58,10 @@
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
path = third_party/cpuinfo
|
path = third_party/cpuinfo
|
||||||
url = https://github.com/pytorch/cpuinfo.git
|
url = https://github.com/pytorch/cpuinfo.git
|
||||||
[submodule "third_party/python-enum"]
|
|
||||||
ignore = dirty
|
|
||||||
path = third_party/python-enum
|
|
||||||
url = https://github.com/PeachPy/enum34.git
|
|
||||||
[submodule "third_party/python-peachpy"]
|
[submodule "third_party/python-peachpy"]
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
path = third_party/python-peachpy
|
path = third_party/python-peachpy
|
||||||
url = https://github.com/malfet/PeachPy.git
|
url = https://github.com/malfet/PeachPy.git
|
||||||
[submodule "third_party/python-six"]
|
|
||||||
ignore = dirty
|
|
||||||
path = third_party/python-six
|
|
||||||
url = https://github.com/benjaminp/six.git
|
|
||||||
[submodule "third_party/onnx"]
|
[submodule "third_party/onnx"]
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
path = third_party/onnx
|
path = third_party/onnx
|
||||||
|
|
|
||||||
2
cmake/External/nnpack.cmake
vendored
2
cmake/External/nnpack.cmake
vendored
|
|
@ -45,8 +45,6 @@ if(ANDROID OR IOS OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAM
|
||||||
set(CAFFE2_THIRD_PARTY_ROOT ${PROJECT_SOURCE_DIR}/third_party)
|
set(CAFFE2_THIRD_PARTY_ROOT ${PROJECT_SOURCE_DIR}/third_party)
|
||||||
|
|
||||||
# Directories for NNPACK dependencies submoduled in Caffe2
|
# Directories for NNPACK dependencies submoduled in Caffe2
|
||||||
set(PYTHON_SIX_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/python-six" CACHE STRING "six (Python package) source directory")
|
|
||||||
set(PYTHON_ENUM_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/python-enum" CACHE STRING "enum34 (Python package) source directory")
|
|
||||||
set(PYTHON_PEACHPY_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/python-peachpy" CACHE STRING "PeachPy (Python package) source directory")
|
set(PYTHON_PEACHPY_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/python-peachpy" CACHE STRING "PeachPy (Python package) source directory")
|
||||||
if(NOT DEFINED CPUINFO_SOURCE_DIR)
|
if(NOT DEFINED CPUINFO_SOURCE_DIR)
|
||||||
set(CPUINFO_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/cpuinfo" CACHE STRING "cpuinfo source directory")
|
set(CPUINFO_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/cpuinfo" CACHE STRING "cpuinfo source directory")
|
||||||
|
|
|
||||||
14
third_party/LICENSES_BUNDLED.txt
generated
vendored
14
third_party/LICENSES_BUNDLED.txt
generated
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
The Pytorch repository and source distributions bundle several libraries that are
|
The Pytorch repository and source distributions bundle several libraries that are
|
||||||
compatibly licensed. We list these here.
|
compatibly licensed. We list these here.
|
||||||
|
|
||||||
Name: DCGM
|
Name: DCGM
|
||||||
|
|
@ -114,11 +114,6 @@ License: BSD-3-Clause
|
||||||
Files: third_party/eigen
|
Files: third_party/eigen
|
||||||
For details, see: third_party/eigen/COPYING.BSD
|
For details, see: third_party/eigen/COPYING.BSD
|
||||||
|
|
||||||
Name: enum
|
|
||||||
License: BSD-3-Clause
|
|
||||||
Files: third_party/python-enum/enum
|
|
||||||
For details, see: third_party/python-enum/enum/LICENSE
|
|
||||||
|
|
||||||
Name: fbgemm
|
Name: fbgemm
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Files: third_party/fbgemm
|
Files: third_party/fbgemm
|
||||||
|
|
@ -318,11 +313,6 @@ License: BSD-2-Clause
|
||||||
Files: third_party/python-peachpy
|
Files: third_party/python-peachpy
|
||||||
For details, see: third_party/python-peachpy/LICENSE.rst
|
For details, see: third_party/python-peachpy/LICENSE.rst
|
||||||
|
|
||||||
Name: python-six
|
|
||||||
License: MIT
|
|
||||||
Files: third_party/python-six
|
|
||||||
For details, see: third_party/python-six/LICENSE
|
|
||||||
|
|
||||||
Name: sleef
|
Name: sleef
|
||||||
License: BSL-1.0
|
License: BSL-1.0
|
||||||
Files: third_party/sleef
|
Files: third_party/sleef
|
||||||
|
|
@ -356,4 +346,4 @@ Files: third_party/kineto/libkineto/third_party/dynolog/third_party/cpr/test
|
||||||
Name: zstd
|
Name: zstd
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Files: third_party/zstd
|
Files: third_party/zstd
|
||||||
For details, see: third_party/zstd/LICENSE
|
For details, see: third_party/zstd/LICENSE
|
||||||
|
|
|
||||||
1
third_party/python-enum
vendored
1
third_party/python-enum
vendored
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 4cfedc426c4e2fc52e3f5c2b4297e15ed8d6b8c7
|
|
||||||
1
third_party/python-six
vendored
1
third_party/python-six
vendored
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 15e31431af97e5e64b80af0a3f598d382bcdd49a
|
|
||||||
Loading…
Reference in New Issue
Block a user