Skip to content

Shrink over-allocated sparse layers to final size - #99

Merged
drhagen merged 1 commit into
masterfrom
final-realloc
Aug 13, 2026
Merged

drhagen merged 1 commit into
masterfrom
final-realloc

Conversation

@drhagen

@drhagen drhagen commented Aug 13, 2026

Copy link
Copy Markdown
Owner

This is just good hygiene and ensures that output tensors do not take up more memory than they need to. The realloc probably causes a slight slowdown, but that is untested.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.78%. Comparing base (a082486) to head (34778da).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #99      +/-   ##
==========================================
+ Coverage   90.74%   90.78%   +0.04%     
==========================================
  Files          60       60              
  Lines        3165     3179      +14     
  Branches      386      389       +3     
==========================================
+ Hits         2872     2886      +14     
  Misses        209      209              
  Partials       84       84              

☔ 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.

@drhagen
drhagen merged commit 3a9fbb5 into master Aug 13, 2026
18 checks passed
@drhagen
drhagen deleted the final-realloc branch August 13, 2026 11:11
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.

2 participants