tqchen opened a new pull request, #19858: URL: https://github.com/apache/tvm/pull/19858
Summary: - Remove the Relax-specific PrimType node/API and use canonical ir.PrimType for dtype-only scalar types. - Update parser, printer, analysis, op inference/legalization, and tests to avoid value-bearing PrimType semantics. - Preserve scalar values where needed by reading PrimValue expressions directly instead of storing values in the type. Validation: - cmake --build build -j$(nproc) - cmake --build build --target cpptest -j$(nproc) - PYTHONPATH=python:.local/python LD_LIBRARY_PATH=/home/tqchen/miniforge3/lib:build python3 -m pytest tests/python/relax/test_type.py tests/python/relax/test_expr.py tests/python/relax/test_op_binary.py tests/python/relax/test_tvmscript_parser.py tests/python/relax/test_tvmscript_printer_relax.py tests/python/relax/test_analysis_type_analysis.py tests/python/relax/test_blockbuilder_core.py tests/python/relax/test_ast_printer.py tests/python/relax/test_op_manipulate.py tests/python/relax/test_op_index.py tests/python/tvmscript/test_tvmscript_parser_tir.py tests/python/tirx-base/test_tir_specialize.py -q - LD_LIBRARY_PATH=/home/tqchen/miniforge3/lib:build ./cpptest --gtest_filter=NestedMsg.* - pre-commit run --files $(git diff --name-only HEAD~1) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
