Skip to content

Revert accidental squash merge of enable_symm#4

Closed
annayesy wants to merge 2 commits into
mainfrom
revert-main-squash
Closed

Revert accidental squash merge of enable_symm#4
annayesy wants to merge 2 commits into
mainfrom
revert-main-squash

Conversation

@annayesy
Copy link
Copy Markdown
Collaborator

This reverts commit 323dddf.

ignacia-fp and others added 2 commits April 24, 2026 13:05
* lu stabilisation

* deserialise pivotmethod as type, value

* remove stabilisation from diagonal blocks

* diag factors stabilisation

* rlst type fix

* return factor norms

* op + alpha*I type of stabilisation

* modify results path when stabilising

* fix results path format

* addition of SRRQR algorithm

* rrqr added to filenemes

* max entry id logged

* debug print

* debug print

* prints removed

* fixed max rank

* fixed max rank

* remove inactive indices after batching

* alternative

* removal of inactive indices undone

* debug prints

* undo print

* remove innecessary conj

* conj reg

* undo

* remove left perm trans

* undo

* no conj

* conj array

* fix

* u_arr and comp factor public

* remove inactive indices in between batches

* manage level=1

* joint order implemented

* undo remove inactive inds

* fixed joint multiplication

* remove inactive indices

* save samples

* use max number of samples

* fix min num samples

* debug print

* debug print

* appending data fixed

* reduce oversampling

* alternative oversampling

* full use of samples

* fix to save

* fixed col major

* don't load shape

* fix col major rlst way

* bug fix

* fix corrupted shape

* macro implementation for loading samples

* small bug fix

* reduce local_oversample

* max sample for  local_oversample

* num threads limited

* pools of threads

* fixes to parallelism

* use mis for batch generation

* remove inactive batches

* disable mis

* disable greedy coloring:

* remove duplicate definitions

* debug prints

* remove debug prints

* minimum samples added

* minimum samples added

* disable parallel in id and lu

* undo serial batches

* modify batching

* batching fixed

* return to old batching

* sort before batching

* record update id time

* fix non-symmetric lu

* record level and mv times

* fix non-symmetric sampling

* changes to level effort

* leaf count added

* effective dofs

* extra stats

* update stats

* remove empty boxes

* fix tree indexing

* undo removal

* remove inactive neighbours

* remove empty

* init

* fixed errors

* documentation of base factors

* more documentation

* debug print

* transpose direct inversion

* modify transpose

* non symmetric block extraction

* remove trans

* add trans

* fix save samples

* fixes to non symmetric

* fix trans for arrayvectorspace

* conj right

* right

* right

* fixed

* fixed trans product

* Precompute fixed rank nsamples and update inactive indices after each color eliminated on a level

* fix rust formatting

* Install HDF5 in tests and pin cargo-upgrades in CI

* Use git crates.io index for cargo-upgrades in CI

* Fix CI checks for warnings

* Reduce RSRS memory usage and add diagnostics

* Record RSRS memory snapshots in statistics

* Fix Hermitian matvec products and CI coverage

* samples management

* add samples incrementally/no sample copying

* fixed sampling

* Optimize sample storage and restore fixed-rank projection

* Restore direct LU extraction for fixed-rank runs

* Separate sample loading time and load samples in place

* Speed up fixed-rank sample budget estimation

* Speed up diagonal extraction for tiny fixed-rank boxes

* simplify index calculation for block ext

* Prepare ifp_tests changes for enable_symm merge

* complex non-symmetric bug fixed

* Fix CI style checks

* Restore fixed-rank sample budget estimation

* Restore per-level fixed-rank activation

* force min_num_samples when its more than budget

* Fix fixed-rank sample budgeting on adaptive trees

The fixed-rank estimators capped carried coarser boxes by the requested rank before those boxes were processed. On adaptive meshes this undercounted the runtime near-field sketch size, so per-level and constant modes could start with too few samples and only discover the larger requirement at a later level, leading to late sample growth and LAPACK/subview failures.

Estimate the runtime active-sample upper bound with carried boxes at full size, use it directly for per-level budgets, and floor constant budgets by it. Keep runtime targets from falling below level minima and add a regression test for carried-box capping.

* Modified PerLevel and Constant sample use

* Box coloring for parallel processing and launch mask

* Store lu(X_RR) from joint id lu step for symmetrized X_RR and store factorized LU only

---------

Co-authored-by: Ignacia Piccardo <ignacia-fp@eduroam-int-dhcp-97-151-180.ucl.ac.uk>
Co-authored-by: Ignacia Piccardo <ignacia-fp@ignacias-air.home>
Co-authored-by: Ignacia Piccardo <ignacia-fp@Ignacias-MacBook-Air.local>
Co-authored-by: Ignacia Piccardo <ignacia-fp@Mac.lan>
Co-authored-by: Ignacia Piccardo <ignacia-fp@138-38-193-234.eduroam.bath.ac.uk>
Co-authored-by: Anna Yesypenko <annayesypenko@gmail.com>
@annayesy annayesy enabled auto-merge (squash) April 24, 2026 17:49
@annayesy annayesy disabled auto-merge April 24, 2026 17:49
@annayesy annayesy enabled auto-merge (squash) April 24, 2026 17:49
@annayesy annayesy requested a review from mscroggs April 24, 2026 17:59
@annayesy
Copy link
Copy Markdown
Collaborator Author

Hi @mscroggs, could you help with this? @ignacia-fp and I accidentally used squash merge when we meant to do a regular merge and preserve the branch’s commit history.

@mscroggs
Copy link
Copy Markdown
Member

@annayesy I reverted the merge into the main branch and force pushed that. I have opened #5 which should make the same changed and set it to auto merge (not squashed) once the tests pass.

force pushing is a little dangerous as it can lead to accidentally deleting things, so I made a local backup copy before of the full repo before I did anything. Let me know if anything doesn't look right and I can get files from that backup.

In general, I prefer squash merging for most commits as it keeps the main branch history tidy. But for larger changes like #3, it can be preferred not to. I updated the repo settings to allow non-squash merges, but squash merges are still the default. Let me know if you'd like me to change that (after all, this is your and @ignacia-fp's project not mine so I can't impose my preferences on you).

@mscroggs mscroggs disabled auto-merge April 27, 2026 14:58
@mscroggs mscroggs closed this Apr 27, 2026
@ignacia-fp
Copy link
Copy Markdown
Collaborator

ignacia-fp commented Apr 27, 2026 via email

@annayesy
Copy link
Copy Markdown
Collaborator Author

Thank you for helping to resolve this @mscroggs !

@annayesy annayesy deleted the revert-main-squash branch April 29, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants