Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxybazh committed Jun 23, 2022
1 parent cd33cec commit 16a9add
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/tvm/meta_schedule/tune.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ def tune_relay(
):
if backend == "graph":
return relay_build(mod, target=target, params=params)
elif backend == "vm":
if backend == "vm":
return relay.vm.compile(mod, target=target, params=params)
else:
raise ValueError(f"Backend {backend} not supported in ApplyHistoryBest!")
raise ValueError(f"Backend {backend} not supported in ApplyHistoryBest!")

0 comments on commit 16a9add

Please sign in to comment.