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

jit model init #832

Merged
merged 1 commit into from Jul 21, 2021
Merged

jit model init #832

merged 1 commit into from Jul 21, 2021

Conversation

PhilipVinc
Copy link
Member

This should speed-up the initialisation (Creation of variational state) for very large models, because under jit we won't be evaluating the output (instead without jit it is evaluated and then discarded).
It will add a tiny slowdown to initialisation for smaller models.

jit evaluate docstring
@github-actions
Copy link

Hello and thanks for your Contribution!
I will be building previews of the updated documentation at the following link:
https://netket.github.io/netket/preview/pv/jit

Once the PR is closed or merged, the preview will be automatically deleted.

@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2021

Codecov Report

Merging #832 (d0ba9ad) into master (2d4432b) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #832   +/-   ##
=======================================
  Coverage   79.08%   79.08%           
=======================================
  Files         162      162           
  Lines        9778     9778           
  Branches     1366     1366           
=======================================
  Hits         7733     7733           
  Misses       1684     1684           
  Partials      361      361           
Impacted Files Coverage Δ
netket/vqs/mc_state.py 82.97% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d4432b...d0ba9ad. Read the comment docs.

@PhilipVinc PhilipVinc merged commit 31c2214 into master Jul 21, 2021
@PhilipVinc PhilipVinc deleted the pv/jit branch July 22, 2021 15:24
@PhilipVinc PhilipVinc mentioned this pull request Aug 10, 2021
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

3 participants