tvm
tvm copied to clipboard
Open deep learning compiler stack for cpu, gpu and specialized accelerators
When running a Relax program that involves dynamic strided slicing with specific input values, I encounter three types of behavior: 1. The code runs without errors. 2. The error ValueError:...
When attempting to run a Relax program that includes a nested function using the LambdaLift transformation, the following error occurs during execution on the Virtual Machine (VM): ``` InternalError: Check...
Apologies if this isn't a real bug, but I'm getting an InternalError when trying to compile (see code sample below). As far as I can tell, I should be getting...
### Steps to Reproduce ```python import tvm from tvm import tir from tvm.tir.analysis.analysis import verify_well_formed, verify_memory from tvm.script import tir as T @T.prim_func def tvmgen_default_fused_nn_conv2d_8(p0: T.Buffer((1, 64, 35, 35), "float32"),...
The `Function.bind_params` method requires all bound values to have `StructInfo` annotations. While these are generated on construction for `relax::Constant` and `relax::PrimValue`, the most common cases of bound values, other useful...
### Actual behavior ```shell ... [09:37:39] /software/tvm/src/runtime/relax_vm/vm.cc:735: pc = 21, execute: vm.builtin.alloc_tensor Segmentation fault (core dumped) ``` ### Steps to reproduce ```python import tvm from tvm import relax import numpy...
I encountered an issue while running a Relax module with a specific transformation sequence. Specifically, when `FuseTIR()` is applied once, the VM fails to find the PackedFunc `fused_relax_nn_attention_cutlass_gv`. However, when...
There is a bug when we use WSL2 or other virtual machine in NAT mode as host, the host can find the device easily, but when device respond to the...
### Actual behavior ``` Traceback (most recent call last): File "/share_container/optfuzz/res/bugs/reduced/complete/1954_test.py", line 252, in mod = relax.transform.FuseTIR()(mod) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/software/tvm/python/tvm/ir/transform.py", line 270, in __call__ return _ffi_transform_api.RunPass(self, mod) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/software/tvm/python/tvm/_ffi/_ctypes/packed_func.py",...
### Actual behavior ``` Traceback (most recent call last): File "/share_container/optfuzz/res/bugs/reduced/complete/328_test.py", line 162, in ex = relax.build(mod, target='llvm') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/software/tvm/python/tvm/relax/vm_build.py", line 335, in build mod = pipeline(mod) ^^^^^^^^^^^^^ File...