Skip to content

Add unit tests for src modules#6

Open
Jah-yee wants to merge 2 commits into
thinking-machines-lab:mainfrom
Jah-yee:pr-add-unit-tests
Open

Add unit tests for src modules#6
Jah-yee wants to merge 2 commits into
thinking-machines-lab:mainfrom
Jah-yee:pr-add-unit-tests

Conversation

@Jah-yee

@Jah-yee Jah-yee commented Apr 15, 2026

Copy link
Copy Markdown

Tests Added

  • Add test_main.py for hyperspherical_descent
  • Add test_manifold_muon_extra.py for additional manifold_muon tests

Tests cover:

  • Shape preservation
  • Unit norm constraint
  • NaN handling
  • 2D tensor support
  • Orthogonality checks

Good day,

Thank you for your work on this excellent library!

Warmly,
RoomWithOutRoof

RoomWithOutRoof added 2 commits April 15, 2026 20:22
- test_msign.py: Add unit tests for msign matrix sign function
- test_manifold_muon.py: Add unit tests for manifold muon optimizer
- test_hyperspherical_descent.py: Add unit tests for hyperspherical descent
- Add test_main.py for hyperspherical_descent
- Add test_manifold_muon_extra.py for additional manifold_muon tests

Good day,

Thank you for your work on this excellent library!

Warmly,
RoomWithOutRoof
Jah-yee pushed a commit to Jah-yee/manifolds that referenced this pull request Apr 15, 2026
Added:
- requirements.txt with core and dev dependencies
- tests/test_manifold_muon.py with basic tests

Reference: Issues thinking-machines-lab#5, thinking-machines-lab#6

Good day!

Warmly, RoomWithoutRoof
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