Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
6c880b6
Check well-formedness in the parser
slyubomirsky Feb 14, 2024
dbf64d0
Correct packed funcs in NN frontend
slyubomirsky Feb 14, 2024
471148c
Support the check_well_formed optional argument to I.ir_module
slyubomirsky Feb 14, 2024
ca0ce7a
Also check well-formedness in TIR
slyubomirsky Feb 14, 2024
76d79a6
Enable normalization for individual Relax functions and PrimFuncs
slyubomirsky Feb 14, 2024
cefdb7e
Use the error raised by the TIR well-formed checker for the message
slyubomirsky Feb 15, 2024
3177880
Fix tvmscript test failures
slyubomirsky Feb 15, 2024
4f9f97a
Whitespace
slyubomirsky Feb 15, 2024
019a85b
Fix errors in verify_well_formed test
slyubomirsky Feb 15, 2024
ab2f2bd
Include a more helpful error message
slyubomirsky Feb 15, 2024
a6db5fa
Fix TIR test failures
slyubomirsky Feb 15, 2024
2048e60
Address well-formed failures in test_tir_specialize
slyubomirsky Feb 15, 2024
831f8f2
Correct well-formedness error in test_tir_analysis_oob
slyubomirsky Feb 15, 2024
e6d5f00
Correct further well-formedness failures
slyubomirsky Feb 15, 2024
3070b18
Remove __tvm_meta__ from test case to avoid parsing error
slyubomirsky Feb 23, 2024
5c7aec3
Avoid circular import in entryy.py
slyubomirsky Feb 26, 2024
87426d3
Formatting fixes
slyubomirsky Feb 26, 2024
7e299e9
lint fix
slyubomirsky Feb 27, 2024
b8616f2
Add pylint exceptions
slyubomirsky Feb 27, 2024
cb114e4
Fix whitespace
slyubomirsky Feb 27, 2024
ea357bb
Fix more failed test cases
slyubomirsky Feb 27, 2024
5d6de7d
Catch inappropriate use of decl_function instead of segfaulting
slyubomirsky Feb 27, 2024
574677a
Fix test_lower.py
slyubomirsky Feb 27, 2024
08819aa
Mark purity in test_relax_2d_buffer_allocation.py
slyubomirsky Feb 27, 2024
f93c406
Mark purity in test_dma_builtin.py
slyubomirsky Feb 27, 2024
299abbc
Remove __tvm_meta___ from test_tir_usmp_analysis_extract_bufferinfo.py
slyubomirsky Feb 27, 2024
fda20a3
Suppress well-formed check in test_tir_transform_convert_blocks_to_op…
slyubomirsky Feb 27, 2024
8b9506d
Remove __tvm_meta__ in test_tir_usmp_algo.py
slyubomirsky Feb 27, 2024
4944c3a
Remove __tvm_meta__ from more USMP tests
slyubomirsky Feb 27, 2024
7889711
Fix incorrect var in test_tir_transform_storage_flatten.py
slyubomirsky Feb 27, 2024
e11cf8c
Remove all remaining instances of __tvm_meta__
slyubomirsky Feb 27, 2024
e35499d
Fix purity error in test_dataflow_pattern.py
slyubomirsky Feb 27, 2024
261e3eb
Fix purity error in test_ast_printer
slyubomirsky Feb 27, 2024
6cc354c
Fix test_arith_domain_touched example
slyubomirsky Feb 28, 2024
355aedf
Okay to set check_well_formed to True in test_tir_analysis_identify_m…
slyubomirsky Feb 28, 2024
f1b6dcb
Define variable in test_tir_analysis_oob
slyubomirsky Feb 28, 2024
d9dbeb5
Typo fix
slyubomirsky Feb 28, 2024
0ca4698
Add explanatory comment to test case
slyubomirsky Feb 28, 2024
8af392d
Define the undefined vars in test_tir_transform_common_subexpr_elim
slyubomirsky Feb 28, 2024
07c8819
Exception no longer necessary in test_tir_transform_inject_rolling_bu…
slyubomirsky Feb 28, 2024
ae8001c
Remove unnecessary check exemption in test_tir_transform_convert_ssa
slyubomirsky Feb 28, 2024
b373a4f
Avoid checking exemption in test_inject_ptx_ldg32
slyubomirsky Feb 28, 2024
785394d
Note special case in test_distributed_transform_propagate_sharding
slyubomirsky Feb 29, 2024
571cf47
Exempt well-formed error in dlight/test_benchmark
slyubomirsky Mar 1, 2024
aff00de
Exempt well-formedness errors in test_ethosu/, mostly uninitialized vars
slyubomirsky Mar 1, 2024
a8e7415
Whitespace
slyubomirsky Mar 1, 2024
f772190
Include non-CUDA GPUs in IsScheduledOnGPU
slyubomirsky Mar 5, 2024
f82ca07
Fix thread binding bug by changing thread binding var dtype
slyubomirsky Mar 6, 2024
2b7c4ca
Include overrides in test_runtime_builtin_paged_attention_kv_cache.py
slyubomirsky Mar 6, 2024
d254177
add exemptions in test_ethosu/test_replace_conv2d
slyubomirsky Mar 6, 2024
3247cb5
Add more ethosu exemptions
slyubomirsky Mar 6, 2024
9cd556d
More exemptions for ethosu tests
slyubomirsky Mar 6, 2024
1800188
Remove unused reference
slyubomirsky Mar 14, 2024
c54267b
Indicate purity in test_transform_rewrite_cuda_graph
slyubomirsky Mar 14, 2024
3684fd3
Indicate purity in test_transform_normalize
slyubomirsky Mar 14, 2024
e77ef6e
Reorder MergeSharedMemoryAllocations in GPU codegen
slyubomirsky Mar 18, 2024
c8fb78c
Add target parameter for FP8StorageLegalize and FP8ComputeLegalize
slyubomirsky Mar 19, 2024
3395808
Don't re-import Target in tvm/tir/transform/transform.py
slyubomirsky Mar 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Okay to set check_well_formed to True in test_tir_analysis_identify_m…
…cmcpy
  • Loading branch information
slyubomirsky committed Mar 19, 2024
commit 355aedf9b5e812d09354d72e6b0a0376a4df9baf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class BaseTest:
"""Utility class for defining unit tests for memcpy"""

def __init_subclass__(cls):
cls.check_well_formed = False # CompareBeforeAfter has a member var
cls.check_well_formed = True # CompareBeforeAfter has a member var
cls.func = tvm.testing.CompareBeforeAfter._normalize_before(cls.func)
cls.expected = pytest.fixture(cls.expected)

Expand Down