You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, there have been some discussions around creating infrastructure for structural tests, which test for the structure of the generated code rather than correctness of the output. This is currently on the backlog. Once the infrastructure is in place, there are places where structural tests exist in the code already which should be refactored to be more readable/cleaner.
In particular it would be great to create test-utils which allow someone to traverse TIR and find nodes e.g. similar to XPath so that it's easy to assert that a pass adds/removes various attrs from all instances of a particular node type.
areusch
added
the
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
label
Oct 19, 2022
Recently, there have been some discussions around creating infrastructure for structural tests, which test for the structure of the generated code rather than correctness of the output. This is currently on the backlog. Once the infrastructure is in place, there are places where structural tests exist in the code already which should be refactored to be more readable/cleaner.
Here's an initial list (to be edited over time):
tests/python/relay/aot/test_crt_aot.py
:test_aot_codegen_backend_alloc_workspace_calls
(per Move the allocates of AoT codegen to be TVMBAWs #9065)The text was updated successfully, but these errors were encountered: