When I run this demo in
https://tvm.apache.org/docs/tutorials/frontend/deploy_model_on_rasp.html
there is a problem.
tvm/python/tvm/_ffi/runtime_ctypes.py", line 102, in __init__
raise ValueError("Do not know how to handle type %s" % type_str)
ValueError: Do not know how to han
Found a way to add it to the operator registry, that works.
---
[Visit Topic](https://discuss.tvm.ai/t/fft-operator-in-relay-ir/7040/2) to
respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discuss.tvm.ai/email/un
I've checked the commit you mention above. According to my understanding, the
commit focus on giving a example demonstrating how to save customized op and
load it until runtime. Despite the use case is slightly different than mine, I
believe the building pipeline still works on my case. In con
There are some problems about how to use riscv-spike micro device, I sincerely
hoped that someone can answer me why my riscv-spike device runs in a strange
way.and show me how to use it properly.
My device config is like below:
DEV_RISCV = micro.device.riscv_spike.generate_config(0x1000, 0
https://github.com/apache/incubator-tvm/pull/5909
---
[Visit
Topic](https://discuss.tvm.ai/t/pattern-matching-for-tuplegetitem/7069/5) to
respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discuss.tvm.ai/email/un
Yeah. I would suggest enhancing the current one to `is_tuple_get_item(pat:
DFPattern, index: Optional[int] = None)`.
@t-vi Are you going to extend it? I might have some time tomorrow or later this
week to do so if needed.
---
[Visit
Topic](https://discuss.tvm.ai/t/pattern-matching-for-tu
@t-vi Sure, if you want to extend it, I'm okay with that. I'm not sure we need
an extra API, maybe just make the arbitrary value default?
---
[Visit
Topic](https://discuss.tvm.ai/t/pattern-matching-for-tuplegetitem/7069/3) to
respond.
You are receiving this because you enabled mailing li
This fits my definition of soon so it's fine.
---
[Visit
Topic](https://discuss.tvm.ai/t/is-there-a-way-to-pass-arguments-to-an-external-codegen/7067/5)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discu
As you mentioned, that will need to extend the `TupleGetItemPattern` to allow
unspecified index. Currently I can only come up with the following workaround:
```
op = is_op(...)
out = is_tuple_get_item(op, 0) | is_tuple_get_item(op, 1) |
is_tuple_get_item(op, 2)
```
cc @mbrookhart
---
[Vi
Just FYI. While the RFC shoudl be out this week as I mentioned, I am not sure
how long will it take for the community to converage the design and review the
PR. It will probably take 2-3 weeks in total I guess.
---
[Visit
Topic](https://discuss.tvm.ai/t/is-there-a-way-to-pass-arguments-to
If there is going to be a way to do that soon, I can wait and make do with some
default device for now.
Thanks for the info.
---
[Visit
Topic](https://discuss.tvm.ai/t/is-there-a-way-to-pass-arguments-to-an-external-codegen/7067/3)
to respond.
You are receiving this because you enabled
Hi,
is it currently possible to match TupleGetItem for an arbitrary index?
if not, would it be a permissible patch to add this (maybe with index=-1
internally and a second constructor facing the public)?
Best regards
Thomas
---
[Visit
Topic](https://discuss.tvm.ai/t/pattern-matching-for
Thanks for the interest. Currently we don't have a way to pass additional
arguments to the external codegen, but we do have a short term plan to add this
feature. The RFC should be out in this week.
During this time, a workaround I can think of is through the environment
variables. That is, s
I am developing an external codegen/runtime for IPU and following the Bring
Your Own Codegen To TVM tutorial more or less.
I've hit a snag in that the API for Poplar (the software stack for IPUs) needs
to know the number of devices it will run on (and possibly the type of device
also).
So I'
Hello,
I have two questions
## Question #1
I am interested in knowing if it is possible to generate a C/C++ source file
from a generated TIR description?
The TIR is generated by creating a schedule using the TE primitives.
More specifically, I want to do something similar to the first part o
I'm not very sure if you are correct, maybe you could take a look at this PR
(https://github.com/apache/incubator-tvm/pull/5892) that compiles tvm runtime
into wasm library?
---
[Visit
Topic](https://discuss.tvm.ai/t/how-to-build-runnable-wasm-on-browser/7048/12)
to respond.
You are rec
Well, I admit compilation of `libtvm_runtime.a` seems a little bit odd. But
without the static runtime library, rustc says the compilation is failed due to
lack of `tvm_runtime`. In addition, I find the building procedure in the
[tvm-wasm](https://github.com/kazum/tvm-wasm) asks user to run `c
It may be not what I want. I want to find a way to implement these two paired
functions for model serialization:
> std::string serialize(tvm::runtime::Module model);
>
> tvm::runtime::Module deserialize(std::string serialized_model);
---
[Visit
Topic](https://discuss.tvm.ai/t/is-there-a-w
[quote="posutsai, post:8, topic:7048"]
Run `cargo build -target=wasm32-wasi --release` in both runtime and frontend
directory. After doing this, libtvm_runtime.a and libtvm_frontend.a are
successfully generated under `tvm/rust/target/wasm32-wasi/release/` and cargo
is able to find it after spe
[quote="posutsai, post:7, topic:7048"]
As for those three types of target, is there any detail spec about the
difference among them? or could you give me some hint about their corresponding
use case.
[/quote]
Here are some guidances from wasmtime website:
https://bytecodealliance.github.io/wa
I have tried the pipeline on resnet model and when running in wasmtime runtime
seems like there are still some symbol that is undefined for example,
`env::TVMArrayCopyFromBytes`.
Here's what I've hone. When I specify `tvm_runtime` path in `Cargo.toml` just
like test_wasm32 did.
[dependen
21 matches
Mail list logo