Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
br_agents
akg
/
mfusion
/
tests
/
ut
/
python
/
ut_utils
/
TestCAPI
下载当前目录
G
ginfung
fix(mfusion): PermuteOp loses symbolic shape encoding on dynamic tensors
59ecff9d
创建于
20 天前
历史提交
文件
最后提交记录
最后更新时间
CMakeLists.txt
Add InferSymbolicShape interface and reshape by result type - Introduce InferSymbolicShapeInterface for ops to infer symbolic result dimensions from builder/state/result type. - Change Mfuse ReshapeOp to take only input tensor; output shape is encoded in result type (semi-static: at most one dynamic dim). ReshapeOp implements the interface and uses SymbolicBuilderHelper in its builder. - TorchToMfuse: lower aten.reshape and aten.view to mfuse.reshape(result_type, input); remove PDLL ConvertAtenReshape. - MfuseToTorch: derive view shape from reshape result type (static dims as constants, dynamic as -1). - Update MatMul fusion passes and tests for the new single-operand reshape.
20 天前
TestCreateBroadcastToPass.cc
Clean up compiler warnings
20 天前
TestCreatePermutePass.cc
fix(mfusion): PermuteOp loses symbolic shape encoding on dynamic tensors When creating PermuteOp with dynamic-shape input, the output tensor was missing symshape encoding, triggering VerifySymbolicShapeTrait: 'mfuse.permute' op failed symbolic shape verification Implement InferSymbolicShapeInterface for PermuteOp so that symshape encoding is automatically inferred from input + perm attribute at construction time via SymbolicBuilderHelper. Add SymbolAttrUtils::permuteSymbolicShapeExprs utility and two dynamic-shape lit test cases.
20 天前
TestCreateReduceSumPass.cc
Clean up compiler warnings
20 天前
TestCreateReshapePass.cc
Clean up compiler warnings
20 天前