@masahi
There is another option you could take here. The wildcard() actually works here because the constant remains in @main function of the IRModule. In the partition_for_* function where the full IRModule is visible (along with @main and external functions) you could actually mutate the constants within external function and hoist them out of the external function prior to calling the relay.build(...). In my understanding, all the relay.Constants that remain in the main will be handled in executor codegen and they will be passed when the external function is called. --- [Visit Topic](https://discuss.tvm.apache.org/t/byoc-cutlass-dealing-with-constants-in-c-source-gen-based-byoc/11362/6) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/df34d65834f153640bbea1f152b843e3ca6aebd02135945294291a0741831231).