Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refractor monarch variable names to boost readbility #40

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Edenzzzz
Copy link

@Edenzzzz Edenzzzz commented Dec 13, 2024

Previously block dimensions such as q, p are very non-intuitive and make the code hard to understand and build on. In developing my Monarch PEFT project, I renamed them to fix the block-diagonal matmul taxonomy with terms like blk_in, blk_out to clearly indicate block dims.
This could significantly encourage follow-up work using this code base, as folks have complained about hard-to-use code :)

@Edenzzzz
Copy link
Author

Edenzzzz commented Dec 13, 2024

@DanFu09
Copy link
Collaborator

DanFu09 commented Dec 14, 2024

Cool! Has this been tested in this repo in any models?

@Edenzzzz
Copy link
Author

If you mean convergence tests, not yet--only passed precision tests. Can probably try that in a few days. Thanks!

@DanFu09
Copy link
Collaborator

DanFu09 commented Dec 15, 2024 via email

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