Hi,
I tried one script on alter_op_layout as follows. For the first layer, input is
(1,3,224,244), infer type generates the layout_transform as 'ty=Tensor[(1,
**0**, 224, 224, 4), float32]'
@register_alter_op_layout("nn.conv2d", level=102)
def alter_conv2d(attrs, inputs, tinfos):
d
I had the exact same problem and after like 3 months, I finally found a
solution:
I assume you have installed CUDA and also exported `/usr/local/cuda/bin|lib64`
(-> `nvcc -V` works).
ValueError: arch(sm_xy) **is not passed**, and we cannot detect it from env
This suggests that we can pass it
See
http://tracking.discuss.tvm.ai/tracking/click?d=Q4bt4J5pMQk4yk9JC3EGQvuJELT_J4yS1WEH8aF5wR--UxsVvLGde6hI8bB3bXYX6Nqii6xfWm0WV4eMtD9rR36aCo5xJ1bPZvZdHE3OUz6EGQi-oVlvfGyOJBimah0OFwTouay1AZ_wCZvOv1hJ5XthbYjRpxXAiRhQcxIDLX6qWMwslj3tq_BJmOl9Uoyb-Q2
on how to solve this issue.
---
[Visit
T
First off, the `test_program_rpc.py` script has to be run on your host machine,
not on the PYNQ board.
Citing the documentation:
> `# On the Host-side`
> `python /vta/tests/python/pynq/test_program_rpc.py`
The error `No module named tvm` is probably because of a wrong `PYTHONPATH`.
Make sure