-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refactor notebook #90
Conversation
43ae559
to
1e5e1e4
Compare
@@ -7,31 +7,23 @@ | |||
"source": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #6. loaded = os.path.exists(out_filename) and os.path.getsize(out_filename) == 6985727
HH: Use a proper hash?
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea - will add to the backlog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good to go after clearing the outputs 🚢
Notes (second code block) Code fails at Let me know if for some reason I'm at the wrong commit/branch (local code looks identical to cell block in ReviewNB) |
Managed to reproduce the jax.jit tracing causing time to increase from ~100ms to 5000ms. |
Issue is resolved for me if I don't re-create
|
Fixed, thanks. |
Thanks for the scoping, which led me to understand that it's not the re-creation of dcargs, but of its type, that is |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
The existing DFT notebook simply calls the
density_functional_theory.py
version usingos.system
. This change moves more of the python logic into the notebook, movingdensity_functional_theory.py
topyscf_ipu/dft.py
.