[Apache TVM Discuss] [Questions] [Rpc Related] What's the difference between rpc_proxy / rpc_server / rpc_tracker?

2023-06-28 Thread Anirudh via Apache TVM Discuss
This is pretty cool, thanks a lot for the detailed explanation. --- [Visit Topic](https://discuss.tvm.apache.org/t/rpc-related-whats-the-difference-between-rpc-proxy-rpc-server-rpc-tracker/3054/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe fr

[Apache TVM Discuss] [Questions] [Relay]Why the relay vm has no `system_lib:bool` or `runtime:tvm.runtime.Runtime` options to build

2023-06-28 Thread yanghaku via Apache TVM Discuss
Does the library module of Executable cannot use the system library module or it's useless? --- [Visit Topic](https://discuss.tvm.apache.org/t/relay-why-the-relay-vm-has-no-system-lib-bool-or-runtime-tvm-runtime-runtime-options-to-build/15204/1) to respond. You are receiving this because

[Apache TVM Discuss] [Questions] [unity] confuse about cuda kernel codegen

2023-06-28 Thread TaoWei via Apache TVM Discuss
![1|690x265, 100%](upload://ggfLLx4q3Ra9yUL8sApvNG503NO.png) ![2|690x359, 75%](upload://hqovdu5MuxFvjsn6sCdvMTh4y3l.png) ![3|690x53](upload://7sy5FdLPkT17u32r8OAyVPmsziu.png) The module is doing *Linear* transform, and i dispatch it to pre-scheduled op in MLC-LLM dolly-v2-3b. I profile i

[Apache TVM Discuss] [Questions] [BYOC] how to check BYOC result?

2023-06-28 Thread Li via Apache TVM Discuss
I tried BYOC followed https://tvm.apache.org/docs/dev/how_to/relay_bring_your_own_codegen.html ,and registered function to TVM backend. But how do I check this result and generate C code as example? I use > f1 = tvm.get_global_func("relay.ext.ccompiler") and it runs normally, but how d

[Apache TVM Discuss] [Questions] What is the difference between tvm.tir.const and ir_builder.allocate_const in TVM graph construction using tir?

2023-06-28 Thread tqchen via Apache TVM Discuss
tir.const should be used when we want to represent a constant immediate. We do not recommend `alloc_const` was used to create an allocation that associates with some constant array. Although we do not recommend using it, since it is not compatible with many tir schedules. Instead, we encoura

[Apache TVM Discuss] [Questions] What is the difference between tvm.tir.const and ir_builder.allocate_const in TVM graph construction using tir?

2023-06-28 Thread Infi_zc via Apache TVM Discuss
Thanks a lot. @tqchen Really appreciate it! --- [Visit Topic](https://discuss.tvm.apache.org/t/what-is-the-difference-between-tvm-tir-const-and-ir-builder-allocate-const-in-tvm-graph-construction-using-tir/15199/3) to respond. You are receiving this because you enabled mailing list mode.

[Apache TVM Discuss] [Questions] [BYOC] PyTorch upsample_bilinear2D not represented correctly in Relay

2023-06-28 Thread AQSingh via Apache TVM Discuss
I have two interpolate ops defined in PyTorch that take a (10, 10, 128) tensor and convert it to a (20, 20, 128) op as follows: (10,10,128) -> (10, 20, 128) -> (20, 20, 128). The corresponding Relay ops are incorrectly interpreted as: (10, 10, 128) -> (10, 10, 128) -> (19, 19, 128). Looking