mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Fixes #155035 Pull Request resolved: https://github.com/pytorch/pytorch/pull/155523 Approved by: https://github.com/AlannaBurke, https://github.com/svekars
15 lines
402 B
Markdown
15 lines
402 B
Markdown
(threading_environment_variables)=
|
|
|
|
# Threading Environment Variables
|
|
|
|
```{list-table}
|
|
:header-rows: 1
|
|
|
|
* - Variable
|
|
- Description
|
|
* - ``OMP_NUM_THREADS``
|
|
- Sets the maximum number of threads to use for OpenMP parallel regions.
|
|
* - ``MKL_NUM_THREADS``
|
|
- Sets the maximum number of threads to use for the Intel MKL library. Note that MKL_NUM_THREADS takes precedence over ``OMP_NUM_THREADS``.
|
|
```
|