We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7031726 commit a53b15dCopy full SHA for a53b15d
python/paddle/base/__init__.py
@@ -168,7 +168,7 @@ def __bootstrap__():
168
os.environ['NVIDIA_TF32_OVERRIDE'] = '0'
169
170
if os.getenv('MKL_NUM_THREADS', None) is None:
171
- os.environ['MKL_NUM_THREADS'] = os.cpu_count()
+ os.environ['MKL_NUM_THREADS'] = str(os.cpu_count())
172
173
flag_prefix = "FLAGS_"
174
read_env_flags = [
0 commit comments