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

Set the number of BLAS threads to 2. #247

Closed
wants to merge 2 commits into from
Closed

Conversation

gbaraldi
Copy link
Member

@gbaraldi gbaraldi commented Nov 14, 2022

As an experiment, I set the blas threads to 1, and enable threads on the matmul testset.

Ref #239

Edit:
Set BLAS threads to 2 to reduce change of OOM on windows and reduce contention

@staticfloat
Copy link
Member

Discussed this on the call, and we decided to set the number of threads to 2 everywhere. That should solve our memory issues, and also exercise multithreading paths.

@gbaraldi
Copy link
Member Author

Is this good to merge?

@DilumAluthge
Copy link
Member

Can you update the PR title to reflect the final contents of the PR?

@gbaraldi gbaraldi changed the title Experiment with setting openblas threads on windows Set the number of BLAS threads to 2. Nov 17, 2022
@staticfloat
Copy link
Member

Don't merge this yet; I think Kristoffer and I have found that we are actually only supposed to be using one thread on CI. I think we need to solve the timing issue in Distributed's setting of threads, first.

@DilumAluthge DilumAluthge marked this pull request as draft November 17, 2022 18:02
@gbaraldi
Copy link
Member Author

So distributed should be passing the number of threads as 1 already? But doesn't?

@staticfloat
Copy link
Member

@DilumAluthge DilumAluthge deleted the gb/windows-blas branch November 19, 2024 22:09
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