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 fdr bug #418

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

fix fdr bug #418

wants to merge 2 commits into from

Conversation

mschwoer
Copy link
Collaborator

@mschwoer mschwoer commented Dec 20, 2024

"fix" the FDR "bug" by reducing number of threads for FDR classification task
apparently it does not scale well:

large task (linux machine w/ 32 physical cores, 64 is hyperthreading):
image

small task:
image

install mono in CI
Copy link
Collaborator

@GeorgWa GeorgWa left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -113,8 +114,18 @@ def perform_fdr(
X, y, test_size=0.2
)

# the classifier does not scale above 2 threads also for large problems
num_threads = torch.get_num_threads()
Copy link
Collaborator

Choose a reason for hiding this comment

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

should we also allow passing num_threads?

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.

2 participants