Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chhwang committed Aug 12, 2024
1 parent 5ba79f9 commit b0176ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/ark/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ def launch(

# Recompile if the previous launch was not compiled with the same info
# or if this is the first launch
if plan_str != self.executor.plan() or device_id != self.executor.device_id():
if (
plan_str != self.executor.plan()
or device_id != self.executor.device_id()
):
self.executor.compile(plan_str, device_id)

self.executor.launch(stream, loop_mode)
Expand Down

0 comments on commit b0176ad

Please sign in to comment.