Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit dc9ee6d

Browse files
slyubomirskygussmith23
authored andcommitted
Remove things that use our VTA fork and will not work now
1 parent c389c23 commit dc9ee6d

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ This is a fork of TVM for adding BYOC integrations for the 3LA project.
1919

2020
Right now we have a VTA integration in `src/relay/backend/contrib/ilavta`. Note that you have to include the line `SET(USE_ILAVTA_CODEGEN ON)` in `build/config.cmake` before building TVM to support this (other flags that should be on: `USE_LLVM`, `USE_VTA_FSIM`). We have a test of this backend in `tests/python/relay/test_external_codegen.py` (see `test_extern_vta()`).
2121

22-
This version also uses a fork of the VTA repo meant to dump logs.
23-
Try `vta/python/integration/matmul_tutorial.py` to use the dumping facility.
24-
VTA can be set into dumping mode by calling `vta.testing.simulator.dump_mode(True)`.
25-
You can specify the location at which the dump will be deposited using `vta.testing.simulator.dump_target(path)`; the default is `./vta_sim_dump.json`.
26-
See the readme at [the VTA fork](https://github.com/uwsampl/3la-vta) to see a description of the dumping mode and the dumping format.
27-
28-
You can use `vta.testing.ila_converter.convert(dump_file, dest_file)` to convert a VTA simulator dump into an ILA program fragment.
29-
3022
# 3LA environment setup
3123

3224
## Docker setup

vta/python/vta/testing/simulator.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ def dump_mode(toggle):
117117
Whether to dump logs and memory
118118
(false by default)
119119
"""
120-
tvm.get_global_func("vta.simulator.profiler_dump_mode")(1 if toggle else 0)
120+
return
121+
# tvm.get_global_func("vta.simulator.profiler_dump_mode")(1 if toggle else 0)
121122

122123

123124
def sim_dump_target(target):
@@ -129,7 +130,8 @@ def sim_dump_target(target):
129130
and memory dump corresponding to the initial state
130131
if dumping mode is on.
131132
"""
132-
tvm.get_global_func("vta.simulator.profiler_dump_target")(target)
133+
return
134+
# tvm.get_global_func("vta.simulator.profiler_dump_target")(target)
133135

134136

135137
def output_dump_target(target):
@@ -141,6 +143,7 @@ def output_dump_target(target):
141143
and memory dump corresponding to
142144
all stores to DRAM if dumping mode is on.
143145
"""
144-
tvm.get_global_func("vta.simulator.profiler_output_dump_target")(target)
146+
return
147+
# tvm.get_global_func("vta.simulator.profiler_output_dump_target")(target)
145148

146149
LIBS = _load_sw()

vta/tests/python/integration/matmul_tutorial.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,6 @@
432432

433433
# Clear stats
434434
if env.TARGET in ["sim", "tsim"]:
435-
simulator.dump_mode(True)
436-
simulator.sim_dump_target("test_sim.json")
437-
simulator.output_dump_target("test_output.json")
438435
simulator.clear_stats()
439436

440437
# Invoke the module to perform the computation

0 commit comments

Comments
 (0)