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 Jul 28, 2021
1 parent 6c65f7a commit d902c54
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_runtime.create(graph, lib, ctxes)
else:
Expand Down

0 comments on commit d902c54

Please sign in to comment.