| Clean up compiler warnings
| 20 天前 |
| TorchToMfuse: expand, permute, cast; unify reshape; PDLL renames
- Map aten.expand to mfuse.broadcast_to when size is a constant int list.
- Map aten.permute to mfuse.permute (constant dims, normalized indices).
- PDLL: prims.convert_element_type and NPU dtype_cast ops -> mfuse.cast.
- Use ConvertReshapeLikeOp for view, reshape, squeeze.dim, unsqueeze ->
mfuse.reshape.
- OpRegister: mfuse.permute is OPAQUE (was RESHAPE) for split analysis.
- Rename PDLL files (TorchAten/NpuToMfuse); add TorchPrimToMfuse; CMake.
- Lit: cast, expand, permute, reshape_ops; fold test_convert_torch_view.
| 20 天前 |
| Remove typepromote for bin ops
| 20 天前 |
| Add relu cluster
| 20 天前 |
| refactor(fusion): canonicalize reciprocal-sqrt and simplify rmsnorm matching.
| 20 天前 |
| Resolve static code check
| 19 天前 |
| feat(mfusion): fine-grained IR observability for fusion pipelines in Python.
| 20 天前 |
| rename muse dialect to mfuse
| 20 天前 |
| Remove the conversion of the cast backward operator.
| 20 天前 |
| Fuse numtotensor and cast or single numtotensor to full
| 20 天前 |
| Fix mfusion rank0 scalar and batch matmul lowering
Lower aclnn.batch_matmul transpose flags with explicit permutes before bmm/matmul conversion.
Use torch.prims.convert_element_type for mfuse.cast, rewrite splat vtensor literals through full, and cast mixed-type binary operands to the result element type.
Prevent DVM clustering for ops that consume unsafe external rank-zero tensor operands while allowing safe constant/full scalar producers.
| 20 天前 |
| TorchToMfuse: expand, permute, cast; unify reshape; PDLL renames
- Map aten.expand to mfuse.broadcast_to when size is a constant int list.
- Map aten.permute to mfuse.permute (constant dims, normalized indices).
- PDLL: prims.convert_element_type and NPU dtype_cast ops -> mfuse.cast.
- Use ConvertReshapeLikeOp for view, reshape, squeeze.dim, unsqueeze ->
mfuse.reshape.
- OpRegister: mfuse.permute is OPAQUE (was RESHAPE) for split analysis.
- Rename PDLL files (TorchAten/NpuToMfuse); add TorchPrimToMfuse; CMake.
- Lit: cast, expand, permute, reshape_ops; fold test_convert_torch_view.
| 20 天前 |