Skip to content

Commit

Permalink
disable sim target on VTA tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Brookhart committed Aug 19, 2021
1 parent 9663261 commit ba3d6e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vta/tutorials/frontend/deploy_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
# When target is 'pynq', reconfigure FPGA and runtime.
# Otherwise, if target is 'sim', execute locally.

if env.TARGET not in ["sim", "tsim", "intelfocl"]:
if env.TARGET not in ["tsim", "intelfocl"]:

# Get remote from tracker node if environment variable is set.
# To set up the tracker, you'll need to follow the "Auto-tuning
Expand Down Expand Up @@ -191,7 +191,7 @@
env.WGT_WIDTH,
start_name=pack_dict[model][0],
stop_name=pack_dict[model][1],
device_annot=(env.TARGET == "intelfocl" or env.TARGET == "sim"),
device_annot=(env.TARGET == "intelfocl"),
)
else:
relay_prog = mod["main"]
Expand Down Expand Up @@ -221,7 +221,7 @@
remote.upload(temp.relpath("graphlib.tar"))
lib = remote.load_module("graphlib.tar")

if env.TARGET == "intelfocl" or env.TARGET == "sim":
if env.TARGET == "intelfocl":
ctxes = [remote.ext_dev(0), remote.cpu(0)]
m = graph_executor.create(graph, lib, ctxes)
else:
Expand Down

0 comments on commit ba3d6e8

Please sign in to comment.