Questions tagged [tvm]

The token vending machine (TVM) is a server-based reference application that serves temporary credentials to remote clients to sign web requests to Amazon Web Services (AWS).

The token vending machine (TVM) is a server-based reference application that serves temporary credentials to remote clients to sign web requests to Amazon Web Services (AWS).

http://aws.amazon.com/code/7351543942956566

28 questions
5
votes
1 answer

How TVM is different from MLIR?

As per my understanding, both TVM and MLIR are used as compiler infrastructure for deep learning neural networks. Is my understanding correct?. And Which would be better if we are building a compiler for custom hardware that runs deep learning…
harry
  • 970
  • 6
  • 25
3
votes
0 answers

Clarification in understanding TorchScripts and JIT on PyTorch

Just wanted to clarify my understanding of the way JIT and TorchScripts work and clarify a particular example. So if im not wrong torch.jit.script converts my method or module to TorchScript. I can use my TorchScript compiled module in an…
ashenoy
  • 163
  • 1
  • 9
2
votes
1 answer

pycharm :No module named 'tvm'

I want to use tvm in my project,but got "pycharm :No module named 'tvm'". And I have configurated tvm.If I use the terminal environment to run the project, I can successful run program. The main problem is I need the hint in the pycharm.I try to add…
wenxin li
  • 29
  • 2
2
votes
0 answers

import readline segfaults after import TVM on Ubuntu

I'm working with TVM, a deep learning compiler. In my workflow, it is useful to be able to use import pdb; pdb.set_trace(), and drop into the debugger. However, pdb.set_trace() causes a segfault anytime after TVM has been imported. My current setup…
justgus
  • 150
  • 2
  • 7
2
votes
1 answer

Difference in graph and library parameters after relay.build_module.build() in the TVM library

In the TVM library, when the _relay.build_module.build()_ is used, what is the output result both after relay.build and tvm.build And what is the difference and need for two parameters as output - graph and library - which are later used to run the…
2
votes
1 answer

AWS Identity TVM registration from android

In Identity TVM registration, Instead of redirecting the user to Identity TVM register.jsp to register, can I directly get username and password of user through my application(Because user must register to use my application) and send them to…
Prabhu M
  • 3,534
  • 8
  • 48
  • 87
1
vote
0 answers

TVM fails compiling a pytorch model in dense_strategy_cpu

I made and trained a pytorch v1.4 model that predicts a sin() value (based on an example found on the web). Inference works. I then tried to compile it with TVM v0.8dev0 and llvm 10 on Ubuntu with a x86 cpu. I followed the TVM setup guide and ran…
1
vote
0 answers

MobilenetV3 Top 5 Accuracy issue

I use pre-trained model from this site: https://github.com/tensorflow/models/tree/master/research/slim/nets/mobilenet I download v3-large_224_1.0_float.pb model link is (Large dm=1 (float) ). After I run it, I often get this result, [ =====…
1
vote
1 answer

Amazon S3 - Token Vending Machines/IAM

I have the following policy configured in a IAM user and in one TVM because I need acces from S3 in an Android app but, whenever I try to save my credentials i get the same "500 - Server error". I dont have idea about the problem but i guess that…
gzanitti
  • 117
  • 1
  • 12
0
votes
0 answers

How can I cross-compile TVM for RISC-V on x86 Ubuntu 22.04.2 using LLVM and GCC toolchain?

How to cross compile TVM to RISCV on x86 Ubuntu 22.04.2? I want to cross-compile TVM for RISC-V on x86 Ubuntu 22.04.2. Environment: TVM version: 0.13.0-dev0 LLVM : sudo apt install llvm, version: 14.0.0 GNU toolchain for RISC-V : sudo apt-get…
Jerry
  • 1
  • 1
0
votes
0 answers

Problems when following Integrate TVM and NVDLA

I meet a problem while I am following the project from Github https://github.com/shivmgg/tvm about integrating NVDLA and TVM. I run it on centos7. I think whether someone who has used this project might help me with my questions. Hello everyone. I…
Owenz
  • 1
  • 1
0
votes
0 answers

TVMError: Binary was created using cuda but a loader of that name is not registered

I'm generating tvm and istalling and using it in another docker container TVM wheel generation code: # install cmake RUN yum install -y wget RUN wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz -O…
sb15
  • 313
  • 5
  • 18
0
votes
0 answers

Why are the output parameters of tvm.relay.optimize empty?

I am a beginner at using TVM. I have traced the resnet50. Now, I want to get the optimized modules using: model = ResNet50(10, 3) model.to(dtype) trace_input = torch.rand(1, 3, 224, 224) traced_model = torch.jit.trace(model, trace_input) for p in…
Maryam
  • 119
  • 1
  • 1
  • 6
0
votes
0 answers

example of tvm letnode

In tvm, according to the docs Let binding is used in every high-level programming language. In Relay, it is a data structure with three fields Let(var, value, body). When we evaluate a let expression, we first evaluate the value part, assign it to…
irasin
  • 145
  • 6
0
votes
0 answers

TVM: How to represent int8 gemm with int32 output

def matmul(M, K, N, dtype): A = te.placeholder((M, K), name="A", dtype=dtype) B = te.placeholder((K, N), name="B", dtype=dtype) k = te.reduce_axis((0, K), name="k") matmul = te.compute( (M, N), lambda i, j:…
naivebird
  • 11
  • 2
1
2