Skip to content

Commit 762c7e8

Browse files
committed
fixed rocm batch_matmul strategy for mixed i8i8i32
1 parent ce53e8d commit 762c7e8

File tree

1 file changed

+1
-1
lines changed
  • python/tvm/relay/op/strategy

1 file changed

+1
-1
lines changed

python/tvm/relay/op/strategy/rocm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def batch_matmul_strategy_rocm(attrs, inputs, out_type, target):
212212
"""Batch matmul strategy for ROCM"""
213213
strategy = _op.OpStrategy()
214214
strategy.add_implementation(
215-
wrap_compute_batch_matmul(topi.cuda.batch_matmul),
215+
wrap_compute_batch_matmul(topi.cuda.batch_matmul, need_out_dtype=True),
216216
wrap_topi_schedule(topi.cuda.schedule_batch_matmul),
217217
name="batch_matmul.cuda",
218218
plevel=10,

0 commit comments

Comments
 (0)