Skip to content

MSign: Matrix-Sign the weights with interval#23

Draft
Koratahiu wants to merge 11 commits into
mainfrom
Msign
Draft

MSign: Matrix-Sign the weights with interval#23
Koratahiu wants to merge 11 commits into
mainfrom
Msign

Conversation

@Koratahiu

Copy link
Copy Markdown
Owner

Implements #17 for all adv optimizers via a new setting (MSign_interval). This controls the interval for applying the Matrix-Sign (MSign) operation to the weights (e.g., MSign_interval=100 applies MSign every 100 steps).

Instead of orthogonalizing the weights using a costly SVD, we use iterative CANS (Chebyshev-Optimized Newton-Schulz) with the total number of matrix multiplications (matmuls) set to 30.

@Koratahiu Koratahiu marked this pull request as draft June 16, 2026 16:26
@Koratahiu Koratahiu mentioned this pull request Jun 20, 2026
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