Skip to content

[SYSTEMDS-3979] Split MM Chain into separate Statement Block - #2623

Open
ywcb00 wants to merge 6 commits into
apache:mainfrom
ywcb00:feat/recompile/sparsity/mmchain
Open

ywcb00 wants to merge 6 commits into
apache:mainfrom
ywcb00:feat/recompile/sparsity/mmchain

Conversation

@ywcb00

@ywcb00 ywcb00 commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Hello there,
this PR splits the inputs of a matrix multiplication chain into their own statement block to ensure the MM chain receives correct sparsity information as input (i.e., the sparsity is computed before sparsity rewrites).
The tests are modified accordingly.
All the best,
David

…va class to not being exclusive for read instructions
…multiplication chain into their own statement block
…parate method for processing the children of matrix multiplication hops

chore(test/functions/rewrite/RewriteSplitDagUnkownNnzReadTest.java): update assert string check to the new version of the log output
… into separate statement block only before the chain instead of before and after the chain
@codecov

codecov Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.67%. Comparing base (fc1bf7a) to head (e00cf55).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2623      +/-   ##
==========================================
- Coverage   76.68%   76.67%   -0.02%     
==========================================
  Files         452      452              
  Lines       28066    28066              
==========================================
- Hits        21523    21520       -3     
- Misses       6543     6546       +3     
Flag Coverage Δ
python 76.67% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…nd AFTER the MM chain regardless of whether input nnz are known or not

	NOTE: Thereby, we create a separate statement block for every mm chain, in which we can optimize and rewrite the mm chain isolated from other operations.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant