Skip to content
Snippets Groups Projects
Commit 81148000 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Alveo] update remote exec and throughput test script naming

parent cdd052ec
No related branches found
No related tags found
No related merge requests found
......@@ -85,11 +85,7 @@ def remote_exec(model, execution_context):
# use platform attribute for correct remote execution
if platform == "alveo":
remote_cmd = "bash -i %s/%s/run.sh execute %d" % (
pynq_target_dir,
deployment_folder,
batchsize,
)
remote_cmd = "bash -i alveo_run.sh execute %d" % (batchsize)
else:
remote_cmd = (
"python3.6 driver.py --exec_mode=execute --batchsize={} "
......
......@@ -70,11 +70,7 @@ def throughput_test_remote(model, batchsize=1000):
# use platform attribute for correct remote execution
if platform == "alveo":
remote_cmd = "bash -i %s/%s/run.sh throughput_test %d" % (
pynq_target_dir,
deployment_folder,
batchsize,
)
remote_cmd = "bash -i alveo_run.sh throughput_test %d" % (batchsize)
else:
remote_cmd = (
"python3.6 driver.py --exec_mode=throughput_test --batchsize={} "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment