Skip to content

Polar Express msign add eps, remove nan_to_num#79

Merged
ClashLuke merged 3 commits into
HomebrewML:mainfrom
sozforex:msign_improve
Oct 7, 2025
Merged

Polar Express msign add eps, remove nan_to_num#79
ClashLuke merged 3 commits into
HomebrewML:mainfrom
sozforex:msign_improve

Conversation

@sozforex

@sozforex sozforex commented Oct 6, 2025

Copy link
Copy Markdown
Contributor

Some small changes to msign.
I think torch.nan_to_num had been added to resolve issues with the algorithm from the v2 version of the paper, v3 apparently resolved that problem by adding eps term.

@sozforex

sozforex commented Oct 7, 2025

Copy link
Copy Markdown
Contributor Author

Just in case, the ruff lint in the CI check dislikes a bunch of unused imports that had not been introduced by this PR

@ClashLuke

Copy link
Copy Markdown
Member

dw about the linting, i'm currently working on extending the CI. -- your changes are great, i especially appreciate the added references!

@ClashLuke ClashLuke merged commit f7d7476 into HomebrewML:main Oct 7, 2025
2 of 3 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.

2 participants