Repository navigation
docs: document the sparse expression path - #1017
Open
FabianHofmann wants to merge 1 commit into
Open
FabianHofmann wants to merge 1 commit into
FabianHofmann wants to merge 1 commit into
Conversation
Build cost — v1 vs legacyv1 build peak & time relative to legacy, on this commit — not a comparison against master (that is CodSpeed).
Full table (time + peak, mean)📊 Interactive plots + CSV: download the semantics-report-v1-vs-legacy artifact from this run. Report-only · not a gate · refreshed on every push · obsolete once legacy is dropped. |
Merging this PR will not alter performance
Comparing Footnotes
|
FabianHofmann
force-pushed
the
docs/sparse-path-971
branch
2 times, most recently
from
October 6, 2026 21:12
fa623e7 to
a6ffc91
Compare
FabianHofmann
force-pushed
the
docs/sparse-path-971
branch
from
October 7, 2026 10:26
a6ffc91 to
98b3db6
Compare
This branch has not been deployed
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.
Closes #971
Note
The following content was generated by AI.
Documents the sparse expression path.
examples/sparse-models.ipynb(pagesparse-models, under Advanced Features): what a sparse model is for, how to opt in (v1 semantics +Model(sparse=True); the deprecated per-call opt-ins), an end-to-end example (groupby(...).sum(),@, frozenCSRConstraint, solve), the operations that keep the CSR backing and the ones that densify, thewarn_on_densifyoption (None/True/False, explicit conversions quiet underNone), and the v1-only term-layout contract (Zero culling forces model rebuilding #925).doc/api.rst:LinearExpression.is_sparse,Model.sparse,CSRConstraint.to_dense/mutable, and a list of theoptionskeys.doc/user-guide.rst, one release note line.Every claim in the guide was checked by running code on this branch. The notebook executes cleanly, and a local sphinx build (notebook execution off) shows no new warnings compared to the base branch.