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

Clean up global RigL sparsities to be exact #2159

Merged
merged 8 commits into from
Mar 20, 2024
Merged

Conversation

ohaijen
Copy link
Contributor

@ohaijen ohaijen commented Mar 6, 2024

Current RigL code uses the param scorer to enforce custom sparsity patterns (Erdos-Renyi, ERK) on the masks. This PR instead passes the ER/ERK sparsity targets directly to the mask creator, to ensure that the mask distribution exactly matches the targets (no rounding errors or other effects).

Tested: did a few runs with these changes and confirmed that the quality matches previous implementation. Updated tests.

@ohaijen ohaijen requested a review from anmarques March 6, 2024 16:12
anmarques
anmarques previously approved these changes Mar 12, 2024
@anmarques anmarques merged commit 5107108 into main Mar 20, 2024
13 of 14 checks passed
@anmarques anmarques deleted the cleanup_rigl_sparsities branch March 20, 2024 18:29
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.

3 participants