8000 Set OPENBLAS_NUM_THREADS to 1 to speed up slow examples · scikit-learn/scikit-learn@4362524 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4362524

Browse files
committed
Set OPENBLAS_NUM_THREADS to 1 to speed up slow examples
1 parent 331dcb7 commit 4362524

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_tools/circle/build_doc.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ then
136136
python build_tools/circle/list_versions.py > doc/versions.rst
137137
fi
138138

139+
# Some examples seem to do oversubscription for some reason
140+
export OPENBLAS_NUM_THREADS=1
141+
139142
# The pipefail is requested to propagate exit code
140143
set -o pipefail && cd doc && make $make_args 2>&1 | tee ~/log.txt
141144

0 commit comments

Comments
 (0)
0