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

Parallelize umap with process pools #221

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mtauraso
Copy link
Collaborator

  • We use a process pool to do the transform
  • We use another process pool to do writing of inference data out (also impacts infer verb)
  • Some of the loudest warnings from the umap package have been supressed

- We use a process pool to do the transform
- We use another process pool to do writing of inference data out (also impacts infer verb)
- Some of the loudest warnings from the umap package have been supressed
@mtauraso mtauraso linked an issue Feb 18, 2025 that may be closed by this pull request
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

Attention: Patch coverage is 19.23077% with 21 lines in your changes missing coverage. Please review.

Project coverage is 37.86%. Comparing base (f9ea911) to head (a9098ee).

Files with missing lines Patch % Lines
src/fibad/verbs/umap.py 19.04% 17 Missing ⚠️
src/fibad/data_sets/inference_dataset.py 20.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #221      +/-   ##
==========================================
- Coverage   37.92%   37.86%   -0.06%     
==========================================
  Files          30       30              
  Lines        2418     2435      +17     
==========================================
+ Hits          917      922       +5     
- Misses       1501     1513      +12     

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

Copy link

Before [f9ea911] After [20e432d] Ratio Benchmark (Parameter)
3.41±1s 1.17±0.8s ~0.34 benchmarks.time_computation
3.03k 2.38k 0.79 benchmarks.mem_list

Click here to view all benchmarks.

Copy link
Collaborator

@aritraghsh09 aritraghsh09 left a comment

Choose a reason for hiding this comment

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

Looks good to me! No comments!

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.

Optimize UMAP Creation
2 participants