[Apache TVM Discuss] [Questions] Is it possible to get source of compute graph?

2021-05-07 Thread Rijul Gupta via Apache TVM Discuss
Hey, In the output of the `relay.build` [graph, lib, params] is there a way to obtain the source of execution graph similar to `lib.lib.source`? So far I have only seen source being obtained through lowering of schedules, but I am not sure how to convert a relay module to a schedule as well.

[Apache TVM Discuss] [Questions] Do we have any way to process codegen with more fine grade control?

2021-05-07 Thread Xqdan via Apache TVM Discuss
I post an exmple for intrinsics choosing. ``` for (i, 0, 65535) { C[i] = (A[i] + B[i]) } ``` ``` Call Engine: veadd_mm // normal ===stmt cost : 2061.94 (smallest cost) shape : 1x65535 [ tx.veadd_mm(tir.tvm_access_ptr(tir.type_annotation(), C, (int64)0, (int64)65535, 2), tir.tvm_access_ptr(