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

[Alveo] working remote_exec on Alveo

parent 81148000
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,7 @@ def remote_exec(model, execution_context): ...@@ -85,7 +85,7 @@ def remote_exec(model, execution_context):
# use platform attribute for correct remote execution # use platform attribute for correct remote execution
if platform == "alveo": if platform == "alveo":
remote_cmd = "bash -i alveo_run.sh execute %d" % (batchsize) remote_cmd = "bash -ic 'bash alveo_run.sh execute %d'" % batchsize
else: else:
remote_cmd = ( remote_cmd = (
"python3.6 driver.py --exec_mode=execute --batchsize={} " "python3.6 driver.py --exec_mode=execute --batchsize={} "
......
...@@ -70,7 +70,7 @@ def throughput_test_remote(model, batchsize=1000): ...@@ -70,7 +70,7 @@ def throughput_test_remote(model, batchsize=1000):
# use platform attribute for correct remote execution # use platform attribute for correct remote execution
if platform == "alveo": if platform == "alveo":
remote_cmd = "bash -i alveo_run.sh throughput_test %d" % (batchsize) remote_cmd = "bash -ic 'bash alveo_run.sh throughput_test %d'" % batchsize
else: else:
remote_cmd = ( remote_cmd = (
"python3.6 driver.py --exec_mode=throughput_test --batchsize={} " "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