Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Dec 12, 2021
1 parent 463574c commit 1c0bbb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions python/tvm/contrib/cutlass/gen_conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
from .conv2d_profiler import Conv2dProfilerEmitter
from .gen_tensor_op import (
ProfilerEngine,
generate_sm75_tensor_op_1688,
generate_sm80_tensor_op_16816,
GENERATOR_FUNC_TABLE,
)
from .library import (
Expand Down Expand Up @@ -187,8 +185,10 @@ def profile(
if profile_all:
self.engine.compile_all(ops, use_multiprocessing)

args =("--n=%d --h=%d --w=%d --c=%d --k=%d --r=%d --s=%d --pad_h=%d --pad_w=%d "
"--stride_h=%d --stride_w=%d --dilation_h=%d --dilation_w=%d") % workload
args = (
"--n=%d --h=%d --w=%d --c=%d --k=%d --r=%d --s=%d --pad_h=%d --pad_w=%d "
"--stride_h=%d --stride_w=%d --dilation_h=%d --dilation_w=%d"
) % workload

for op in ops:
out = self.engine.evaluate(op, args.split(" "))
Expand Down
2 changes: 0 additions & 2 deletions python/tvm/contrib/cutlass/gen_gemm.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
from .gemm_profiler import GemmProfilerEmitter
from .gen_tensor_op import (
ProfilerEngine,
generate_sm75_tensor_op_1688,
generate_sm80_tensor_op_16816,
GENERATOR_FUNC_TABLE,
)
from .library import (
Expand Down

0 comments on commit 1c0bbb2

Please sign in to comment.