-
Notifications
You must be signed in to change notification settings - Fork 96
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
Memory improvements (1/3): Introduce new data access layer and schemas #1728
Conversation
This PR installs plumbing for the series on memory usage improvements. A new data access layer is introduced which shall replace the in-memory Result object as used by the server code in the next PR. Merging notes
|
4a828a8
to
f403fad
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #1728 +/- ##
===========================================
+ Coverage 80.17% 81.51% +1.34%
===========================================
Files 232 272 +40
Lines 10239 12585 +2346
Branches 193 193
===========================================
+ Hits 8209 10259 +2050
- Misses 1897 2193 +296
Partials 133 133
|
b099de5
to
b47baf2
Compare
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.
This first review covers everything except the covalent_dispatcher
module
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.
Really nice work. This is round 2 of 11 reviews. Left some questions in this review.
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.
This is the final review for this PR. Great work! Left some minor comments and noted that there are some commented-out tests. Either remove them or uncomment them.
Introduce temporary implementations of `update._node` and `update.lattice_data`. These will be removed once core covalent is transitioned to the new DAL.
Change abs imports to rel imports. Needed to please pip-missing-reqs.
- Improve type hints
b47baf2
to
cb8ae1d
Compare
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.
@kessler-frost One quibble about Result._update_node
but otherwise this is quite clean.
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.
Some comments on qelectron_data_exists
.
Closes https://github.com/AgnostiqHQ/covalent-staging/issues/707