Skip to content

Reduce manifold sampling temporaries#51

Merged
lezcano merged 1 commit into
masterfrom
review/manifold-temporaries
Jun 7, 2026
Merged

Reduce manifold sampling temporaries#51
lezcano merged 1 commit into
masterfrom
review/manifold-temporaries

Conversation

@lezcano

@lezcano lezcano commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace masked spectral writes with in-place clamp_min_
  • use value-only amax reductions where indices are unused
  • reduce temporary tensors in sphere sampling and membership checks
  • preserve all existing epsilon values and comparison semantics

Why

These equivalent expressions remove boolean masks, unused reduction outputs, and full-sized temporary tensors without changing manifold tolerance behavior.

Validation

  • pytest -s --tb=short -n8 test/test_lowrank.py test/test_positive_semidefinite.py test/test_sphere.py test/test_integration.py
  • included in the full remote suite: 60 passed, 1 skipped

@lezcano lezcano marked this pull request as ready for review June 7, 2026 16:49
@lezcano lezcano force-pushed the review/manifold-temporaries branch from c3fea56 to 537c0dc Compare June 7, 2026 16:55
@lezcano lezcano merged commit 521bb2e into master Jun 7, 2026
9 checks passed
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.

1 participant