Skip to content
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

fix: vmap False by default #3146

Merged
merged 18 commits into from
Feb 20, 2025
Merged

fix: vmap False by default #3146

merged 18 commits into from
Feb 20, 2025

Conversation

PierreBoyeau
Copy link
Contributor

@PierreBoyeau PierreBoyeau commented Jan 14, 2025

Fixes #3145, #3166

@canergen canergen added on-merge: backport to 1.2.x on-merge: backport to 1.2.x draft labels Jan 14, 2025
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 4.00000% with 24 lines in your changes missing coverage. Please review.

Project coverage is 82.47%. Comparing base (8e4ec96) to head (993853d).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/scvi/external/mrvi/_model.py 4.00% 24 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3146      +/-   ##
==========================================
- Coverage   82.57%   82.47%   -0.10%     
==========================================
  Files         185      185              
  Lines       16245    16265      +20     
==========================================
+ Hits        13414    13415       +1     
- Misses       2831     2850      +19     
Files with missing lines Coverage Δ
src/scvi/external/mrvi/_model.py 7.75% <4.00%> (-0.11%) ⬇️

@canergen
Copy link
Member

canergen commented Feb 9, 2025

@PierreBoyeau please provide an update about the use case with 1k samples?

Copy link
Contributor

@justjhong justjhong left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for addressing the numpy issue as well. One important comment on why the notebook submodule is deleted, and one minor comment. let me know when i can look again for approval

@PierreBoyeau
Copy link
Contributor Author

Looks great, thanks for addressing the numpy issue as well. One important comment on why the notebook submodule is deleted, and one minor comment. let me know when i can look again for approval

Hi Justin, I have no idea how I managed to delete .gitmodules, I reverted the change. I also improved the docstring, including adding a comment, to update_sample_info, thanks!

@justjhong justjhong removed the draft label Feb 20, 2025
Copy link
Contributor

@justjhong justjhong left a comment

Choose a reason for hiding this comment

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

LGTM

@canergen canergen changed the title vmap False by default fix: vmap False by default Feb 20, 2025
@canergen canergen merged commit c3926eb into main Feb 20, 2025
14 of 15 checks passed
Copy link

lumberbot-app bot commented Feb 20, 2025

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout 1.2.x
git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 c3926eb7a0b83e869d17b5b05fe247aa9bc36019
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #3146: fix: vmap False by default'
  1. Push to a named branch:
git push YOURFORK 1.2.x:auto-backport-of-pr-3146-on-1.2.x
  1. Create a PR against branch 1.2.x, I would have named this PR:

"Backport PR #3146 on branch 1.2.x (fix: vmap False by default)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the Still Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free to suggest an improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adjust MrVI running hyperparameters for 1000s of samples
4 participants