Skip to content

Reduce memory footprint#218

Open
sethaxen wants to merge 36 commits into
mainfrom
reduce_storage
Open

Reduce memory footprint#218
sethaxen wants to merge 36 commits into
mainfrom
reduce_storage

Conversation

@sethaxen

@sethaxen sethaxen commented Oct 25, 2024

Copy link
Copy Markdown
Member

Closes #213.

Most of the changes are a clean-up and refactor of internal functions and types related to reconstruction of a compact representation of L-BFGS's inverse Hessian approximation from pairs of positions and gradients. All changes are internal.

This PR also bumps the Julia lower bound to v1.8, which should not be a problem now that v1.10 is the LTS.

@codecov

codecov Bot commented Oct 25, 2024

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.88889% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.63%. Comparing base (52fef88) to head (1255071).
⚠️ Report is 56 commits behind head on main.

Files with missing lines Patch % Lines
src/lbfgs.jl 99.01% 1 Missing ⚠️
src/optimize.jl 98.11% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #218      +/-   ##
==========================================
+ Coverage   83.16%   83.63%   +0.47%     
==========================================
  Files          13       13              
  Lines         588      666      +78     
==========================================
+ Hits          489      557      +68     
- Misses         99      109      +10     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sethaxen
sethaxen marked this pull request as ready for review January 22, 2025 10:18
@sethaxen

Copy link
Copy Markdown
Member Author

The basic functionality is here. All that remains is to remove now-unused methods and their corresponding tests.

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.

Reducing memory footprint

1 participant