Skip to content

Commit

Permalink
[REFACTOR] Phase out VTA
Browse files Browse the repository at this point in the history
This PR phases out VTA from the current development main branch.

The particular component will remain available in past releases
and is not actively maintained as of now.
  • Loading branch information
tqchen committed Nov 22, 2024
1 parent 42b1e97 commit 82a3efa
Show file tree
Hide file tree
Showing 112 changed files with 30 additions and 13,783 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
[submodule "3rdparty/rang"]
path = 3rdparty/rang
url = https://github.com/agauniyal/rang.git
[submodule "3rdparty/vta-hw"]
path = 3rdparty/vta-hw
url = https://github.com/apache/tvm-vta.git
[submodule "3rdparty/libbacktrace"]
path = 3rdparty/libbacktrace
url = https://github.com/tlc-pack/libbacktrace.git
Expand Down
43 changes: 0 additions & 43 deletions 3rdparty/cma/cma.h

This file was deleted.

173 changes: 0 additions & 173 deletions 3rdparty/cma/cma_api_impl.h

This file was deleted.

19 changes: 0 additions & 19 deletions 3rdparty/cma/settings.mk

This file was deleted.

1 change: 0 additions & 1 deletion 3rdparty/vta-hw
Submodule vta-hw deleted from 36a915
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ else()
endif()

# Module rules
include(cmake/modules/VTA.cmake)
include(cmake/modules/StandaloneCrt.cmake)
include(cmake/modules/CUDA.cmake)
include(cmake/modules/Hexagon.cmake) # This must come before logging.cmake
Expand Down
15 changes: 3 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@


.PHONY: all \
runtime vta cpptest crttest \
lint pylint cpplint scalalint \
runtime cpptest crttest \
lint pylint cpplint \
cppdoc docs \
web webclean \
cython cython3 cyclean \
Expand All @@ -39,15 +39,10 @@ TVM_BUILD_PATH := $(abspath $(TVM_BUILD_PATH))
# packaged version.
DMLC_CORE_PATH ?= $(ROOTDIR)/3rdparty/dmlc-core
DLPACK_PATH ?= $(ROOTDIR)/3rdparty/dlpack
VTA_HW_PATH ?= $(ROOTDIR)/3rdparty/vta-hw




all: $(addsuffix /all,$(TVM_BUILD_PATH))

runtime: $(addsuffix /runtime,$(TVM_BUILD_PATH))
vta: $(addsuffix /vta,$(TVM_BUILD_PATH))
cpptest: $(addsuffix /cpptest,$(TVM_BUILD_PATH))
crttest: $(addsuffix /crttest,$(TVM_BUILD_PATH))

Expand Down Expand Up @@ -78,7 +73,7 @@ FORCE:
# Since the pattern stem is already being used for the directory name,
# cannot also have it refer to the command passed to cmake.
# Therefore, explicitly listing out the delegated.
CMAKE_TARGETS = all runtime vta cpptest crttest clean
CMAKE_TARGETS = all runtime cpptest crttest clean

define GEN_CMAKE_RULE
%/$(CMAKE_TARGET): %/CMakeCache.txt FORCE
Expand Down Expand Up @@ -107,10 +102,6 @@ pylint:
jnilint:
python3 3rdparty/dmlc-core/scripts/lint.py tvm4j-jni cpp jvm/native/src

scalalint:
make -C $(VTA_HW_PATH)/hardware/chisel lint


mypy:
tests/scripts/task_mypy.sh

Expand Down
22 changes: 0 additions & 22 deletions apps/vta_rpc/start_rpc_server.sh

This file was deleted.

26 changes: 0 additions & 26 deletions apps/vta_rpc/start_rpc_server_to_tracker.sh

This file was deleted.

7 changes: 0 additions & 7 deletions ci/jenkins/generated/arm_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions ci/jenkins/generated/cortexm_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 82a3efa

Please sign in to comment.