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

torch.compile fails #19

Open
catid-saronic opened this issue Nov 30, 2024 · 1 comment
Open

torch.compile fails #19

catid-saronic opened this issue Nov 30, 2024 · 1 comment

Comments

@catid-saronic
Copy link

catid-saronic commented Nov 30, 2024

Using it like this:

optimizer = heavyball.PrecondSchedulePaLMSOAP(raw_model.parameters(), lr=0.05)

The heavyball/utils.py line 31 return compiled is where it torch.compile fails.

This is called from precond_schedule_palm_foreach_soap.py line 69 grad_projected = project(g, state['Q'], False)

The specific error is unhashable type: set

@ClashLuke
Copy link
Owner

Seeing this as well. May be fixed by heavyball 1.0.0

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

No branches or pull requests

2 participants