Cookiee235
Cookiee235
Fix a bug in the test_transform_dead_code_elimination.py file about the IR construction.
### Actual behavior Segmentation fault (core dumped) ### Environment TVM: 0.17.dev0 OS: Ubuntu20.04 ### Steps to reproduce ``` import tvm from tvm import relax from tvm.script import ir as I...
### Actual behavior ``` Segmentation fault (core dumped) ``` ### Steps to reproduce ``` import tvm from tvm import relax import numpy as np from tvm.script import ir as I...
### Actual behavior ``` Traceback (most recent call last): File "/share_container/optfuzz/res/res_ut/res_executions/30_test.py", line 50, in ex = relax.build(mod, target='llvm') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/software/tvm/python/tvm/relax/vm_build.py", line 335, in build mod = pipeline(mod) ^^^^^^^^^^^^^ File...
### Actual behavior ``` Traceback (most recent call last): File "/share_container/optfuzz/res/bugs/assert_lazy.py", line 52, in mod = relax.transform.LazyTransformParams()(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 ``` Traceback (most recent call last): File "/share_container/optfuzz/res/bugs/inconsis222.py", line 258, in np.testing.assert_allclose(before_outputs, after_outputs, 1e-3, 1e-3) File "/root/miniconda3/lib/python3.12/site-packages/numpy/testing/_private/utils.py", line 1504, in assert_allclose assert_array_compare(compare, actual, desired, err_msg=str(err_msg), File "/root/miniconda3/lib/python3.12/contextlib.py",...
Hi all, The pass `RemoveUnusedOutputs` seems to give an unexpected optimized result. Due to the lack of detailed documentation about this API (e.g., `relax.transform.RemoveUnusedOutputs`), I cannot confirm if the optimization...
### 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...