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

Feat: Fix distributed sampler for multi GPU #3053

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

ori-kron-wis
Copy link
Collaborator

Update for the dataloader in case of distributed sampler

close #3047

@ori-kron-wis ori-kron-wis added the cuda tests Run test suite on CUDA label Nov 25, 2024
@ori-kron-wis ori-kron-wis added this to the scvi-tools 1.3 milestone Nov 25, 2024
@ori-kron-wis ori-kron-wis self-assigned this Nov 25, 2024
Copy link

codecov bot commented Nov 28, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 84.59%. Comparing base (371b228) to head (5245163).

Files with missing lines Patch % Lines
src/scvi/dataloaders/_samplers.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3053      +/-   ##
==========================================
- Coverage   84.60%   84.59%   -0.01%     
==========================================
  Files         178      178              
  Lines       15052    15056       +4     
==========================================
+ Hits        12734    12737       +3     
- Misses       2318     2319       +1     
Files with missing lines Coverage Δ
src/scvi/dataloaders/_ann_dataloader.py 94.11% <100.00%> (ø)
src/scvi/dataloaders/_concat_dataloader.py 100.00% <100.00%> (ø)
src/scvi/model/_scanvi.py 95.91% <ø> (ø)
src/scvi/dataloaders/_samplers.py 96.55% <66.66%> (-3.45%) ⬇️

@ori-kron-wis ori-kron-wis marked this pull request as ready for review November 28, 2024 11:24
@ori-kron-wis
Copy link
Collaborator Author

CUDA-distributed tests work locally, but not from the runner, we need to make it work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda tests Run test suite on CUDA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multi-GPU fails when using ConcatDataLoader
1 participant