tvm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bram via TVM Discuss <nore...@discuss.tvm.ai>
Subject [TVM Discuss] [Development] Zero copy DLManagedTensor for "set_input"
Date Fri, 05 Apr 2019 06:26:28 GMT


Any thoughts on the best way to do this?

I gave it a shot here: https://gist.github.com/bwasti/a9d3b82d06f0de7df34a04e0c1ae4764
but didn't make much headway -- I hit a hard to decipher error in the Bind logic:

```
RuntimeError: [23:10:17] /home/bwasti/local/pytorch_tvm/tvm/src/runtime/module_util.cc:54:
Check failed: ret == 0 (-1 vs. 0) : Assert fail: (int32(arg0.shape[0]) ==
 33554432), Argument arg0.shape[0] has an unsatisfied constraint
```





---
[Visit Topic](https://discuss.tvm.ai/t/zero-copy-dlmanagedtensor-for-set-input/2103/1) to
respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/b769a62f38adf9eb2fdc2ee8e22a8f121950a36446d3ae629fc3d6f803e09714).

Tianqi Chen, UW, Seattle, WA, 98105, United States
http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=LNzAk8DCVP3FNYJaemDd8A2
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message