tvm
tvm copied to clipboard
Open deep learning compiler stack for cpu, gpu and specialized accelerators
### Actual behavior ``` Traceback (most recent call last): File "/share_container/optfuzz/res/bugs/simple/bug_add_loop.py", line 51, in mod = tvm.tir.transform.DefaultGPUSchedule()(mod) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/software/tvm-lunder/python/tvm/ir/transform.py", line 238, in __call__ return _ffi_transform_api.RunPass(self, mod) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/software/tvm-lunder/python/tvm/_ffi/_ctypes/packed_func.py",...
### Actual behavior ``` [16:49:04] /software/tvm-lunder/src/runtime/logging.cc:390: TVM_LOG_DEBUG enables VLOG statements in 'ir/transform.cc' up to level 1 [16:49:04] /software/tvm-lunder/src/runtime/logging.cc:390: TVM_LOG_DEBUG enables VLOG statements in 'relay/ir/transform.cc' up to level 1 Segmentation fault...
### Actual behavior ``` Traceback (most recent call last): File "/share_container/optfuzz/res/bugs/simple/res_undefined.py", line 49, in compiled_after = compile_mod(relax.transform.LiftTransformParams()(mod)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/share_container/optfuzz/res/bugs/simple/res_undefined.py", line 41, in compile_mod ex = relax.build(mod, target="llvm") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File...
Prior to this commit, the `relax.transform.LiftTransformParams` pass inspected the expression in each `relax::Binding` for variables that were required at runtime, but did not inspect the function's output. As a result,...
### Actual behavior ``` Traceback (most recent call last): File "demo.py", line 25, in vm = relax.VirtualMachine(ex, tvm.cpu()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/software/tvm/python/tvm/runtime/relax_vm.py", line 97, in __init__ self._setup_device(device, memory_cfg) File "/software/tvm/python/tvm/runtime/relax_vm.py", line...
By refering to the guide: https://github.com/apache/tvm/tree/main/apps/hexagon_launcher. Sussfully building all the files needed and push all the files to my android device. However, when runing the `launcher_android` file some errors occurred...
Prior to this commit, the Relax type produced by calling a TIR PrimFunc needed to be explicitly specified using the `out_sinfo` argument. These output shapes are required in order to...
It seems the provided Relax IRs are valid, however, it crashed when was compiled using `relax.build()` unexpectedly. ### Actual behavior ``` Traceback (most recent call last): File "test_simp.py", line 26,...
### Actual behavior ``` Traceback (most recent call last): File "test.py", line 20, in ex = relax.build(mod, target='llvm') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/software/tvm/python/tvm/relax/vm_build.py", line 340, in build mod = _vmcodegen(builder, mod, exec_mode)...
### Actual behavior ``` Traceback (most recent call last): File "/share_container/optfuzz/res/bugs/7bug_assert.py", line 25, in tvm.ir.assert_structural_equal(mod_seq, mod) # assert failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/software/tvm/python/tvm/ir/base.py", line 256, in assert_structural_equal _ffi_node_api.StructuralEqual(lhs, rhs, True, map_free_vars)...