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

[REQ] Bump SINGD, use efficient .shape method #37

Merged
merged 4 commits into from
Nov 4, 2024
Merged

Conversation

f-dangel
Copy link
Owner

@f-dangel f-dangel commented Nov 4, 2024

When using verbose=True in the optimizer, it prints the pre-conditioner shapes.
At the moment, this will convert the pre-conditioner to a dense matrix, then read out its shape.
This can go out of memory for high-dimensional pre-conditioners.
Therefore, this PR switches to using the latest version of singd, which introduced an efficient implementation of .shape.

@f-dangel
Copy link
Owner Author

f-dangel commented Nov 4, 2024

@runame this one is a trivial one-line change. I will go ahead and merge if the CI passes.

@f-dangel f-dangel merged commit 7bc5eaf into main Nov 4, 2024
14 checks passed
@f-dangel f-dangel deleted the efficient-shape branch November 4, 2024 14:59
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