fix: stabilize tassemble f32->f16 path and add A3 board validation#263
Open
TaoTao-real wants to merge 3 commits intozhangstevenunity:mainfrom
Open
fix: stabilize tassemble f32->f16 path and add A3 board validation#263TaoTao-real wants to merge 3 commits intozhangstevenunity:mainfrom
TaoTao-real wants to merge 3 commits intozhangstevenunity:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pto.tassembleverifier to allowsrc=f32 -> dst=f16/bf16for A3TINSERTcast-quant path.test/samples/Assemble/assemble.pyto generate an A3-legalTINSERTflow and keep emitted-pattern regression.test/samples/Assemble/board_validationharness/files and fix local address overlap in generated kernel test artifact.Motivation
tassemblelowering targetsTINSERT(dst_mat, src_acc, ...)on A3.Design
TAssembleOp::verify()now accepts either:src=f32withdst=f16/bf16.Assemblesample builds a valid pipeline aroundtassembleand checks emitted C++ patterns.golden_v4.binvsv4.bin.Testing
test/samples/runop.sh -t Assemble(pass)test/samples/runop.sh all(OK=169 FAIL=0 SKIP=1)GOLDEN_MODE=npu ACL_DEVICE_ID=2 .../run_a3_board_case.sh test/samples/Assemble/board_validation/home/zhongxuan/ptoas_board_runs/board_validation_20260314_215720Risk / Rollback
tassembledtype verification and the new Assemble sample/board harness.