Skip to content

fix(resolvi): reduce peak memory during RESOLVI.load()#3887

Merged
ori-kron-wis merged 5 commits into
mainfrom
Ori-reduce-resolvi-memory-on-load
Jun 28, 2026
Merged

fix(resolvi): reduce peak memory during RESOLVI.load()#3887
ori-kron-wis merged 5 commits into
mainfrom
Ori-reduce-resolvi-memory-on-load

Conversation

@ori-kron-wis

Copy link
Copy Markdown
Collaborator

No description provided.

@ori-kron-wis ori-kron-wis self-assigned this Jun 28, 2026
@ori-kron-wis ori-kron-wis added on-merge: backport to 1.4.x on-merge: backport to 1.4.x optional tests Run optional tests labels Jun 28, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5343f1854f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/scvi/external/resolvi/_model.py
Comment thread src/scvi/module/base/_base_module.py Outdated
@codecov

codecov Bot commented Jun 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.46%. Comparing base (451d963) to head (0888983).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3887   +/-   ##
=======================================
  Coverage   88.45%   88.46%           
=======================================
  Files         227      227           
  Lines       22940    22955   +15     
=======================================
+ Hits        20292    20307   +15     
  Misses       2648     2648           
Flag Coverage Δ
integration 74.09% <100.00%> (+0.01%) ⬆️
optional 48.25% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/scvi/external/decipher/_model.py 96.07% <ø> (-0.04%) ⬇️
src/scvi/external/decipher/_trainingplan.py 97.10% <100.00%> (ø)
src/scvi/external/resolvi/_model.py 96.04% <100.00%> (+0.13%) ⬆️
src/scvi/module/base/_base_module.py 96.71% <100.00%> (+0.16%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ori-kron-wis ori-kron-wis merged commit ddf8099 into main Jun 28, 2026
20 checks passed
ori-kron-wis added a commit that referenced this pull request Jun 28, 2026
…uring RESOLVI.load()) (#3888)

Backport PR #3887: fix(resolvi): reduce peak memory during
RESOLVI.load()

Co-authored-by: Ori Kronfeld <ori.kronfeld@weizmann.ac.il>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

on-merge: backport to 1.4.x on-merge: backport to 1.4.x optional tests Run optional tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant