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

Performance improvement for scikit-learn training #1

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

Conversation

pettyalex
Copy link

These changes help make training faster, and will enable us to train a lot of models quickly.

  1. Introduce xopen to work with compressed files for all input.
  2. Filter dosage lines using regex to avoid unnecessary splitting of large lines of text.
  3. Limit BLAS concurrency using threadpoolctl. My own testing discovered that default settings result in huge wasted CPU time.
  4. Make n_jobs a configurable option. We probably want to stay around 2

…ex to filter lines from the dosage file instead of splitting it. Also makes all paths into arguments, and allow compressed input via xopen.
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.

1 participant