Steven S. Lyubomirsky
Steven S. Lyubomirsky
In the current front end, we do not allow for annotating function return shapes, which is a somewhat curious asymmetry, since input shapes can be annotated. Should we permit annotating...
The following program results in a VM code generation error: ```python import tvm import tvm.script from tvm import relax from tvm.script import relax as R @tvm.script.ir_module class PrintClosure: @R.function def...
The VM module directly exposes `PackedFunc`s that can be executed with arbitrary arguments. This means users can pass ordinary Python ints, floats, and strings to them, which can lead to...
The current implementation of Relax allows tensors to be aliased. ```python from __future__ import annotations import os import numpy as np import tvm import tvm.script from tvm import relax from...
As discussed in the community meeting, `ExprMutator` and `ExprVisitor` somewhat confusingly also traverse binding blocks, which are _statements_ rather than expressions. What is even more interesting is that these inherit...
The following test case results in a crash during VM code generation: ```python from __future__ import annotations import tvm from tvm import relax from tvm.script import relax as R @tvm.register_func("print_test")...
This test case works locally but results in weird behavior over RFC: ```python from __future__ import annotations import numpy as np import tvm from tvm.contrib import utils import tvm.script from...
I am new to using and developing Relax and I am well aware of the ongoing efforts to develop more tutorials, but I would like to make an observation about...
As discussed in several TVM Open Development meetings, we were permitting invalid programs to be parsed by not checking well-formedness during parsing. This PR makes a small change to the...
Per the [discussion on in-place updates](https://discuss.tvm.apache.org/t/discuss-inplace-update-in-dataflow-block/14669), this is a tracking issue to discuss the steps and implementation details. - [x] Implement a basic version of the `call_tir_inplace` operator. This will...