vinx13 commented on code in PR #17157:
URL: https://github.com/apache/tvm/pull/17157#discussion_r1678431685
##########
python/tvm/contrib/cutlass/gen_tensor_op.py:
##########
@@ -745,8 +745,8 @@ def get_batch_on_arg(arg_name, arg_shape):
attrs["qkv"] = func_args[0]
attrs["num_queries"] = s = annotations["num_queries"]
attrs["num_keys"] = annotations["num_keys"]
- if len(func_args) > 5 and not is_var_len: # +1 for workspace, the
last arg
- attrs["bias"] = func_args[4]
+ if len(func_args) > 2 and not is_var_len: # +1 for workspace, the
last arg
Review Comment:
FuseOps is updated to inline the constant shape parameters. So there are
fewer func_args here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]