How to specify my customized codegen when building the model? For example, my
customized codegen will generate CUDA kernel code and the host code, should I
still keep the `target='cuda'`?
---
[Visit
Topic](https://discuss.tvm.apache.org/t/byoc-codegen-for-customized-call-node-operator/118
When I remove those strategy statement for my customize operator at
`generic.py` and `cuda.py`, I encounter a problem like
```
AttributeError: module 'tvm.relay.op.strategy' has no attribute 'myop_strategy'
```
is there any workaround to avoid such check?
---
[Visit
Topic](https://discuss.
You shouldn't need to deal with strategy stuff for operators offloaded to BYOC.
---
[Visit
Topic](https://discuss.tvm.apache.org/t/byoc-codegen-for-customized-call-node-operator/11863/7)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these e
Hi, how should I set the add_implementation function at the Relay frontend when
I decide to use BYOC? Since I will not use the operator from `topi`
```
@override_native_generic_func("cumprod_strategy")
def cumprod_strategy(attrs, inputs, out_type, target):
"""cumprod generic strategy"""
Now I counter another problem
```
nn.func doesn't have an FTVMStrategy registered. You can register one in python
with `tvm.relay.op.register_strategy`.
```
Should I put some dummy strategy for this operator even if I use BYOC?
---
[Visit
Topic](https://discuss.tvm.apache.org/t/byoc-codege
this problem solved due to mismatched `set_body_typed(MakeFun)` and the actual
`MakeFun`
---
[Visit
Topic](https://discuss.tvm.apache.org/t/byoc-codegen-for-customized-call-node-operator/11863/4)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe fr
I just encounter a problem that
```
Check failed: (!actual_type.defined()) is false: Expected type PrimExpr but got
relay.Var
```
Even though my new operator defined with
```
Expr MakeFun(Expr X1, Expr X2, Expr X3, DataType out_dtype)
```
My type relation function is written as
```
bool Fu
Yes, if you don't intend to compile your model with native tvm, you only need
relay op so can skip that steps.
---
[Visit
Topic](https://discuss.tvm.apache.org/t/byoc-codegen-for-customized-call-node-operator/11863/2)
to respond.
You are receiving this because you enabled mailing list mo
Hi, All
If I want to use BYOC for a new operator, should I skip the Step 4-5 in this
tutorial https://tvm.apache.org/docs/dev/how_to/relay_add_op.html?
Thanks!
---
[Visit
Topic](https://discuss.tvm.apache.org/t/byoc-codegen-for-customized-call-node-operator/11863/1)
to respond.
You are