Skip to content

set OMP_NUM_THREADS during clustering to ensure reproducibility#3400

Merged
KennethEnevoldsen merged 1 commit intov2.0.0from
set-omp
Oct 19, 2025
Merged

set OMP_NUM_THREADS during clustering to ensure reproducibility#3400
KennethEnevoldsen merged 1 commit intov2.0.0from
set-omp

Conversation

@KennethEnevoldsen
Copy link
Contributor

set OMP_NUM_THREADS during clustering to ensure reproducibility

set OMP_NUM_THREADS during clustering to ensure reproducibility
- A dictionary where keys are level names (e.g., "Level 0", "Level 1", etc.) and values are lists of V-measure scores for each clustering experiment at that level.
- A dictionary where keys are level names and values are lists of cluster assignments for each clustering experiment at that level.
"""
# set OMP_NUM_THREADS for reproductibility
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add a sentence to describe how this ensures reproducibility please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, but I am not really sure - it was just the only thing that I expected would vary across CI, @Samoed, and my implementation. However, given that the tests are flaky, it is really hard to tell if it actually ensure anything.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will merge this for now, just to see if it resolves some of the flakiness - if it does not, I will roll it back.

@KennethEnevoldsen KennethEnevoldsen merged commit 3372dc7 into v2.0.0 Oct 19, 2025
10 checks passed
@KennethEnevoldsen KennethEnevoldsen deleted the set-omp branch October 19, 2025 08:12
KennethEnevoldsen added a commit that referenced this pull request Oct 20, 2025
This rolls back #3400 as it didn't work (as shown in most recent CI on main)
KennethEnevoldsen added a commit that referenced this pull request Oct 20, 2025
* test: disable flaky test

Added issue to readd #3441

* fix: Roll back setting OMP_NUM_THREADS for clustering

This rolls back #3400 as it didn't work (as shown in most recent CI on main)
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.

3 participants