[Apache TVM Discuss] [Questions] Mobilenetv2 is implemented on VTA and nn. conv2D group problem

2021-12-22 Thread Mengbo Z via Apache TVM Discuss
I was recently trying to deploy the network on an FPGA using VTA, but I ran into this problem when deploying mobilenetV2. When executing nn.conv2d, I set groups to the following format: ``` groups = int(in_planes/16) return nn.Conv2d(in_planes, out_planes, kernel_size=3, groups=groups ,str

[Apache TVM Discuss] [Questions] Some questions about MobileNet and DCGAN implemented on VTA

2021-12-22 Thread Mengbo Z via Apache TVM Discuss
@thierry @zhanghaohit @varinic @mrb256 @joyliu37 Hello everyone, I have been trying to implement the network on FPGA through VTA and mobilenetV2, where I set nn. Conv2d as the following format: ``` groups = int(in_planes/16) return nn.Conv2d(in_planes, out_planes, kernel_size=3, groups=gr

[Apache TVM Discuss] [Questions] [BYOC] How to partition specific region of a Relay graph to CPU

2021-12-22 Thread Cody H. Yu via Apache TVM Discuss
I don't quite understand your question. In particular how do you define a "region"? If a "region" is just an operator, then BYOC won't partition them for the accelerator if you didn't mark those ops as offloadable. --- [Visit Topic](https://discuss.tvm.apache.org/t/byoc-how-to-partition-s

[Apache TVM Discuss] [Questions] [BYOC] How to partition specific region of a Relay graph to CPU

2021-12-22 Thread Xiaoran Weng via Apache TVM Discuss
A "region" is a subgraph that can be offloaded to some target as in the `MergeCompilerRegions` pass. Essentially I want all the operators after the specific two operators to be unoffloadable, how can I do this? --- [Visit Topic](https://discuss.tvm.apache.org/t/byoc-how-to-partition-speci