Merge pull request #14566 from edx/nedbat/prevent-openblas-threads
Prevent OpenBLAS from spawning worker threads. TNL-6456
This commit is contained in:
@@ -14,6 +14,9 @@ import hashlib
|
||||
CODE_PROLOG = """\
|
||||
from __future__ import division
|
||||
|
||||
import os
|
||||
os.environ["OPENBLAS_NUM_THREADS"] = "1" # See TNL-6456
|
||||
|
||||
import random as random_module
|
||||
import sys
|
||||
random = random_module.Random(%r)
|
||||
|
||||
Reference in New Issue
Block a user