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

Fix 1726 #1727

Merged
merged 3 commits into from Feb 19, 2024
Merged

Fix 1726 #1727

merged 3 commits into from Feb 19, 2024

Conversation

inailuig
Copy link
Collaborator

workaround for #1726

Copy link

codecov bot commented Feb 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f378bd4) 82.66% compared to head (8508d32) 82.67%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1727   +/-   ##
=======================================
  Coverage   82.66%   82.67%           
=======================================
  Files         298      298           
  Lines       18198    18200    +2     
  Branches     3473     3475    +2     
=======================================
+ Hits        15044    15046    +2     
  Misses       2476     2476           
  Partials      678      678           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@PhilipVinc PhilipVinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with this change. However are you sure that's the best approach instead of just jitting the method?

The only reason it is not jitted was to allow random rules to be implemented in numpy, but we are increasingly abandoning numpy and host callbacks are stable nowadays so in the future we could just jit as well.

@PhilipVinc PhilipVinc merged commit 5c9e15d into netket:master Feb 19, 2024
12 of 13 checks passed
@inailuig
Copy link
Collaborator Author

inailuig commented Feb 19, 2024

I'm ok with this change. However are you sure that's the best approach instead of just jitting the method?

No this is meant as a temporary fix until I do that in #1721, but it requires some changes to hilbert from this commit abba307 of #1720 to jit the whole thing (although #1721 already works).

@PhilipVinc
Copy link
Member

ok, good thanks

inailuig added a commit to inailuig/netket that referenced this pull request Feb 19, 2024
@inailuig inailuig deleted the fix-1726 branch March 6, 2024 06:15
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.

None yet

2 participants